Hi Bill,
This can be done via DFSMSdss (provided that you don't mind seeing 
AFDR111I in front of your message).
Example:
//DSSWTO01 JOB (ACCT),
//             '                    ',
//             CLASS=A,
//             MSGCLASS=X,
//             MSGLEVEL=(1,1),
//             REGION=0M,
//             NOTIFY=&SYSUID
//      EXPORT SYMLIST=MSG
//         SET MSG='HELLO WORLD'
//STEP001 EXEC PGM=ADRDSSU
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *,SYMBOLS=JCLONLY
   WTO '&MSG'

On 2019-04-06 15:32, Bill Giannelli wrote:
> can you run a WTO command directly from JCL?
> I want to execute a WTO directly from my job.
> thanks
> Bill
>
> ----------------------------------------------------------------------
> 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