I've never seen the need to code any delay beyond what Ed has written. I have a 
CONSOLE routine that does a DS QD for all the DASD volumes in the shop. It just 
keeps cranking until all results are in. 

.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
[email protected]

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Seymour J Metz
Sent: Wednesday, August 26, 2020 4:33 PM
To: [email protected]
Subject: (External):Re: MVS modify command capture

CAUTION EXTERNAL EMAIL

Shouldn't you have a delay in there to giv the started task time to process he 
CIB?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of Ed 
Jaffe <[email protected]>
Sent: Wednesday, August 26, 2020 5:56 PM
To: [email protected]
Subject: Re: MVS modify command capture

On 8/26/2020 2:39 AM, Peter 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
What you want do is trivial using built-in facilities in REXX.

This example writes a stem to the end user. I assume you know how to write a 
stem to a data set using EXECIO:

/* REXX */
"CONSPROF SOLDISPLAY(NO) UNSOLDISPLAY(NO)"
"CONSOLE ACTIVATE CART("||USERID()||")"
address console "F STARTEDTASK,STATUS"
rc = GETMSG('response.','SOL',USERID(),,10)
do i = 1 to response.0;say response.i;end "CONSOLE DEACTIVATE"


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to