|
if you have a job which status is *MSGW and check that job with the API QUSLJOB you'll see that it is *ACTIVE. one possibilty would be to use the internal job id of QUSLJOB to make an API call to QUSRJOBI. there you'll find the active job status like MSGW or DLYQ or RUN for example (i think it is position 107 but you should have a look at the API docs). > -----Ursprüngliche Nachricht----- > Von: wanda cummings [mailto:wgc1261@xxxxxxxxxxxx] > Gesendet: Donnerstag, 6. Mai 2004 21:01 > An: rpg400-l@xxxxxxxxxxxx > Betreff: API for status of job in message wait status > > > I have a RPG job menu program that submits and monitors jobs. It does > display the status of the job (*ACTIVE,*JOBQ,etc) using the > API QWCRJBST. > What is the API that will dsplay the message wait status? *MSGW. Any > examples of it? > > Also from that same RPG program, I need to retrieve the > messages from the > QSYSOPR message queue. Can not figure out how to do this one. > > > thank you > Wanda > wgc1261@xxxxxxxxxxxx > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) > mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.