× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Rob

you even have the same status message text as I have while waiting for the
subsystems to end...

Having said that I'd be interested in the reason (if any)  Al is
recommending the message rather than what is a rather straightforward API.

Regards
Evan Harris



>Actually Al, I prefer:
>...
>              ENDSBS     SBS(*ALL) OPTION(*IMMED)
>...
>     /*
>+
>      | Verify that system is in restricted state.
>+
>     */
>              SNDPGMMSG  MSGID(CPF9898) MSGF(QCPFMSG) +
>                           MSGDTA('Verifying that we are now in +
>                           restricted state.') TOPGMQ(*EXT) +
>                           MSGTYPE(*STATUS)
>SbsCheck:
>              CALL       PGM(QWCRSSTS) PARM(&RECEIVER &RECEIVERL +
>                           &FORMAT &RESET &ERROR)
>
>     /*
>+
>      | Restricted state flag is byte 31 (offset 30):
>+
>      |   0 = not in restricted state
>+
>      |   1 = restricted state
>+
>     */
>              CHGVAR     VAR(&RSTDFLAG) VALUE(%SST(&RECEIVER 31 1))
>              IF         COND(&RSTDFLAG *EQ '0') THEN(DO)
>              SNDPGMMSG  MSGID(CPF9898) MSGF(QCPFMSG) MSGDTA('** +
>                           Waiting for subsystems to end') +
>                           TOPGMQ(*EXT) MSGTYPE(*STATUS)
>              DLYJOB     DLY(60)
>              GOTO       CMDLBL(SbsCheck)
>              ENDDO
>...
>
>Rob Berendt




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.