PDA

View Full Version : How do I code key parm for QUSLJOB?



Guest.Visitor
01-01-1995, 02:00 AM
Hello, My ILE program uses the QUSLJOB (list job) sepcifying a key of 101 to get exra info about job status. I now need to specify a second key of 1906 for the Subsystem name but I can't work out how to specify the extra key parameter to QUSLJOB - has anyone got an example of QUSLJOB with more than one Key ?

Guest.Visitor
10-12-2000, 08:59 AM
Set Number of fields to return (parameter 7) to 2. Define Key of fields to return (parameter 8) as an array of integers (10i 0) and set the first array element to 101 and the second element to 1906. In the returned list records you will use the Length of field information returned for key 101 to determine where the record for key 1906 starts.