If you are authorized to use the TSO CONSOLE command then you can also use it 
to capture the output of your command

"CONSPROF SOLDISP(no) SOLNUM(400) UNSOLDISP(yes)"
"CONSOLE ACTIVATE"
"CONSOLE SYSCMD(D M=CONFIG(P1)) "
rc = GETMSG('t.','sol',,,30)
"CONSOLE DEACTIVATE"

--------------------------------------------------------------------------
Lionel B. Dyck <sdg><
Mainframe Systems Programmer - TRA


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Carmen Vitullo
Sent: Tuesday, February 27, 2018 10:46 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: capture output from DS QD,TYPE=ALL,ONLINE

do you have SDSF or IOF, you can capture the output from console command in the 
output SYSTSPRT ? 
some examples come to mind 



//TSO EXEC PGM=IKJEFT01,REGION=0M,
// DYNAMNBR=99
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
SDSF
//ISFIN DD *
SET DELAY 40
W/RO PROD,D M=CONFIG(P1)
ULOG
//ISFOUT DD SYSOUT=* 




or 





//SDSF EXEC PGM=ISFAFD
//SYSTSPRT DD SYSOUT=*
//ISFIN DD *
/D LOGGER,LOGSTREAM
//ISFOUT DD SYSOUT=* 

Carmen Vitullo 

----- Original Message -----

From: "Tony Thigpen" <t...@vse2pdf.com>
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Tuesday, February 27, 2018 10:18:31 AM
Subject: capture output from DS QD,TYPE=ALL,ONLINE 

I need to capture the output from a DS QD,TYPE=ALL,ONLINE on an OS/390
2.10 system. (Yep, before some of the current tools.) 

Any thoughts? 

--
Tony Thigpen 

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


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

----------------------------------------------------------------------
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