Kenneth Klein ----- Forwarded by Kenneth Klein/T00/TMMNA on 03/15/2012 08:37 AM -----
Kenneth Klein/T00/TMMNA 03/15/2012 08:34 AM To IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu> cc Subject Re: JES2 displays captured via batch ************************************* start of jcl //BATCH1 EXEC PGM=IRXJCL,PARM='@SYSCMD CMD($DQ)' //SYSEXEC DD DSN=A00002T.MASTER.EXEC,DISP=(SHR) //SYSTSPRT DD SYSOUT=* //SYSPRINT DD SYSOUT=* ************************************ end of jcl, start of output @SYSCMD operands : CMD($DQ) SDSF HCE status : established RC=00 ---------------------------------------------------------------------------------------------- ISFEXEC options : ( VERBOSE) Original command : /$DQ SDSF short message: COMMAND ISSUED SDSF long message: ISF754I Command 'SET CONSOLE' generated from associated variable ISFCONS. SDSF long message: ISF754I Command 'SET DELAY' generated from associated variable ISFDELAY. SDSF long message: ISF769I System command issued, command text: $DQ. SDSF long message: ISF766I Request completed, status: COMMAND ISSUED. SDSF long message: ISFMSG2.5 SDSF ULOG messages: CP1Y 2012075 08:32:17.55 ISF031I CONSOLE A00002T ACTIVATED CP1Y 2012075 08:32:17.55 -$DQ CP1Y 2012075 08:32:17.55 $HASP643 274 PPU LOCAL ANY CP1Y 2012075 08:32:17.56 $HASP646 4.1019 PERCENT SPOOL UTILIZATION ISFULOG.5 ISFULOG.6 ISFULOG.7 ISFULOG.8 ISFULOG.9 Command result : RC=00 System command issued, response received from the EMCS console. ---------------------------------------------------------------------------------------------- SDSF HCE status : revoked RC=00 I forget where I got @SYSCMD but a google search should turn it up. Else contact me and I will send it. Kenneth Klein Lizette Koehler <stars...@mindspring.com> Sent by: IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu> 03/14/2012 04:14 PM Please respond to IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu> To IBM-MAIN@bama.ua.edu cc Subject Re: JES2 displays captured via batch > > Can a batch job capture the results of a JES2 command into a sequential dataset > > > > $dq > > > > > > $HASP647 6 XEQ S ZOS1 > > $HASP644 8 OUT ZOS1 > > $HASP643 904 PPU LOCAL ANY > > $HASP646 15.8046 PERCENT SPOOL UTILIZATION > > > Tim, You will need to use the SDSF REXX interface to invoke the console or use the SDSF Batch function that captures SYSLOG. I am not sure there are other options. The other option is to scan syslog after it is written to dasd. Lizette ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN