You could use a System REXX to issue the command and process the output, 
example:

/* REXX */

CmdResult=AXRCMD('F STARTEDTASK,STATUS','OUTPUTVAR.',40);
 
Do I = 1 to OUTPUTVAR.0
 
  Parse var OUTPUTVAR.I p1 p2 .
 
     /* do someting here */

  End
 
Return

Dana


On Wed, 26 Aug 2020 13:39:36 +0400, Peter <dbajava...@gmail.com> wrote:

>I have a command
>
>F STARTEDTASK, STATUS
>
>it gives the output in SYSLOG but I would like to write it's output to a
>Dataset
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to