I don't know for sure, but I imagine the TMP is more efficient than forking 
into an OMVS address space.  I suspect ITschak's method is the best.  Don't 
know if there are any other things to consider though . . . case, message 
length . . . .

First Tennessee Bank
Mainframe Technical Support


-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Paul Gilmartin
Sent: Saturday, April 06, 2019 4:15 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JCL for WTO

[External Email]

On Sat, 6 Apr 2019 14:32:19 -0500, Bill Giannelli wrote:

>can you run a WTO command directly from JCL?
>I want to execute a WTO directly from my job.
>
How about:
    //X EXEC PGM=BPXBATCH,
    //  PARM='SH echo "some text" >/dev/console'

(Beware auto ops rules.)

-- gil

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

Confidentiality notice: 
This e-mail message, including any attachments, may contain legally privileged 
and/or confidential information. If you are not the intended recipient(s), or 
the employee or agent responsible for delivery of this message to the intended 
recipient(s), you are hereby notified that any dissemination, distribution, or 
copying of this e-mail message is strictly prohibited. If you have received 
this message in error, please immediately notify the sender and delete this 
e-mail message from your computer.


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