End of my rope time, ladies and gentlemen.



I want to use this Open-List API (format: OLJB0200) to quickly retrieve the *ACTIVE jobs running in a SINGLE SUBSYSTEM. No matter what I do, it returns jobs from EVERY subsystem.



It seems like the code I'd need to post here would be to much for anyone to read (though I'll be happy to if anyone wants to see it). So I'm wondering if anyone has an example of how they formatted the Job Selection parameter and the requested Key that I understand enables it to do the test..



I thought you had to request the KEY of the value you're trying to do a Selection on, so I specified Qualified Subsystem Name (1906) even though the JobSelection d/s column is UNqualified. When I debug this, I'm seeing the right subsystem name in my JobSelect d/structure at the offset I pushed into JobSelect.Hdr.QGYASO (and JobSelect.Hdr.QGYASC = 1). 
OpnLstJobs(RcvVar :%size(RcvVar) // RcvVar

:'OLJB0200' // FmtRcvVar

:RcvDef :%size(RcvDef) // RcvDef

:QGYLJBLI // LstInf

:20 // NbrRcds

:QGYLJBSI // SortInfo

:JobSelect :%size(JobSelect) // Jobselect

:1 // NbrKeys

:KeyLst // KeysToRtn (KeyLst contains '1906' Qual. Subsystem Name)

:ErrCde); 
Thanks for any help with this!



Arthur Marino

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.