REXX execs in TSO batch issuing operator commands and reading the returned messages have started failing to get the messages most but not all of the time now that we have gone to z/OS 1.7. For instance:

   15 *-*  SAY 'TIME: 'TIME()
      >>>    "TIME: 16:31:23"
TIME: 16:31:23
16 *-* "CONSPROF SOLDISPLAY(NO) SOLNUM(199)" /* "NO" NESC. FOR GETMSG */
      >>>    "CONSPROF SOLDISPLAY(NO) SOLNUM(199)"
17 *-* "CONSOLE ACTIVATE" /* GET INTO CONSOLE MODE */
      >>>    "CONSOLE ACTIVATE"
   18 *-*  "CONSOLE SYSCMD(D U,TAPE,ALLOC) CART('DUDASD')"
      >>>    "CONSOLE SYSCMD(D U,TAPE,ALLOC) CART('DUDASD')"
   19 *-*  GETCODE = GETMSG('MSG.','SOL','DUDASD',,99)
      >>>    "4"
Up until z/OS 1.7, the GETCODE return code would always be zero even with the wait time coded as 5 instead of the 99 seconds I have specified here. The SYSLOG shows

16:31:23.95 CCFTLS   00000290  D U,TAPE,ALLOC
16:31:23.97 CCFTLS 00000090 IEE455I UNIT STATUS NO DEVICES WITH REQUESTED ATTRIBUTES 16:31:24.00 JOB01650 00000290 IEE455I UNIT STATUS NO DEVICES WITH REQUESTED ATTRIBUTES

Does anyone have an idea of how to remedy this?

Tom Sipusic

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to