Peter Vidal suggested:
> START:      PGM
>             CHKOBJ     OBJ(QSYS/XXXXXXXXXX) OBJTYPE(*USRSPC)
> END:        ENDPGM

Thanks.

As to why, well, I'm working on a program that scans through all active
jobs with a particular jobname, and needs to be able to recognize which
ones are in *MSGW state (which would indicate that they're stuck in an
error condition). Unfortunately, (1) I'm developing this on a different
box from the one the application being monitored runs on, and (2) all
known ways to put the real application into a *MSGW state are bugs that I
fixed earlier this week. Thus, I need to be able to create test jobs for
this thing to monitor, with some in a *MSGW state.

I could tell you more, but then I'd have to kill you. ;-)

--
JHHL



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.