I doubt that anyone who scored a passing grade in Audit 101 would let this 
mechanism fly today. It is very easy to implement but is totally uncontrollable 
as to who can issue what command under what circumstances. It might have made 
sense in 1969. Not in 2019. 

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Seymour J Metz
Sent: Sunday, April 7, 2019 11:08 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: JCL for WTO

And there is support to prevent the use of // COMMAND. IMHO a well run shop 
turns it off. Using it to issue a SNED command is like using a stick of 
dynamite to kill a fly.


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

________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Lizette Koehler <stars...@mindspring.com>
Sent: Saturday, April 6, 2019 7:56 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JCL for WTO

There is a function in JCL called COMMAND

Depending on your version of the operating system - it can be found in the JCL 
Reference manual

JCL command statement
https://secure-web.cisco.com/1dA3rIaA6mO5TSrO_TpdQor9qoNW2uwXD9pihKI8VZ9NualQHGRrzi-LGpTkk4sqRi0w8iw18A0-GQdX2u0E24G98EjIHQvxFZnJ1tzCtHH1iEJdPN1sV7iQq1EoX42D9i0SCDSG0lpMbf898ZNIjCNROlINBbYwgaSdUUfOWjN8FuoJc-evtmDVmhcAM6DEJ240gfK89hKkRwsaFMSHwpTjul3qZdubp9YAOD3WkcaNUD-Wms3s3g_0LiNPVuTUS1lFAjzrEWJtii9IGttWQxzNjiHhKNJosBgPTMTtpJKHzQDFJ4QaM8xicfPA8gxe12wQN0JiDGLN5URZ1za1721Tc95wtdJGSQc8diHRZTIwgTuPlrGWL1xBkm3qjbwzelXrqAuDNbdERruPIcKQapqXxunUcrPKkJ8Z6bjgY4FiecjEiC7Kj6uTwQRV9pFoR/https%3A%2F%2Fwww.ibm.com%2Fsupport%2Fknowledgecenter%2FSSLTBW_2.3.0%2Fcom.ibm.zos.v2r3.ieab600%2Fcomdst.htm

If an in-stream command is to be executed (see the explanation in the following 
section "Defaults" ), the system usually executes it as soon as it is read. 
Therefore, the command will not be synchronized with the execution of any job 
or step in the input stream. To synchronize a command with the job processing, 
tell the operator the commands you want entered and when they should be issued, 
and let the operator enter them from the console.

The system processes each command according to installation options for both 
the input device from which the job was read, and the job class.

A command statement can appear anywhere after a JOB statement and before the 
end of the job. If a command statement appears between jobs, it is ignored. A 
command statement should not be placed before the first JOB statement in an 
input stream.

Example

// F NETVIEW,CLOSE IMMED


You can imbed any MVS or JES2 or JES3 command on this type of statement.  This 
includes the SEND command.

If you want something that has more options, like action the WTO, let the list 
know.  There are tools on the CBTTAPE.ORG that could be helpful.


Lizette


> -----Original Message-----
> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On 
> Behalf Of Lizette Koehler
> Sent: Saturday, April 06, 2019 4:43 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: JCL for WTO
>
> Not knowing your shop, have you checked to see if you already have 
> tools that will do this?
>
> For example, if you want a WTO to indicate a job has done something, 
> if you have automation tools (like CA OPS/MVS) or a scheduler tool 
> (like IBM Tivoli
> Scheduler)  then they may already be able to provide this function.
>
> Since you only asked the basic question, you may not get a solution 
> that will fit your environment.
>
> If you do not have tools, then the solutions offered could work.
>
> However, if you do have tools, it might be easier to engage your 
> system programmers to see what solutions to do what you want are available.
>
> Or provide more details on what problem you are trying to solve, and 
> you may get better answers.
>
>
>
> Lizette
>
>
> > -----Original Message-----
> > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On 
> > Behalf Of Bill Giannelli
> > Sent: Saturday, April 06, 2019 12:32 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: JCL for WTO
> >
> > 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

Reply via email to