On Wed, 26 Aug 2020 12:55:53 +0400, Peter <dbajava...@gmail.com> wrote:
>Hello > >I am trying to capture Modify command of a product which is running as >started task. > >I tried issuing the command using IEFBR14 but it did not capture to a >Dataset. > >Is there a way to capture a MODIFY command ? > You could try this bit of REXX and then invoke it via IKJEFT01 batch jcl - /*REXX*/ blah = ISFCALLS('ON') ISFCONS = "MY@CONS" ISFDELAY = "1" PARSE ARG input cmd.0=1 cmd.1=input ADDRESS SDSF ISFSLASH "(cmd.)" IF (ISFULOG.0 > 0) THEN DO i=1 TO ISFULOG.0 SAY ISFULOG.i END EXIT 0 and then the jcl to use - //S1 EXEC PGM=IKJEFT01 //SYSEXEC DD DISP=SHR,DSN=my.rexx.lib //SYSTSPRT DD SYSOUT=* <===== change this to point to a dataset //SYSTSIN DD * %SDSFCMD D T Roger ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN