I always used this:

//IEFUJVAA JOB AB07,BUTLERM,CLASS=U,MSGCLASS=0,REGION=4000K         
// COMMAND 'SETPROG EXIT,DELETE,EXITNAME=SYS.IEFUJV,MODNAME=IEFUJV' 
//STEP1    EXEC PGM=IEFBR14                                         

Just update the job card - and then make line 2 whatever command you want. 

Todd Burrell | Sr. Mainframe Systems Administrator 
CISSP, PMP, ITIL Expert, CCNA, MCSE
CSX Technologies| 550 Water St. (634I), Jacksonville, FL 32202
Office: (904) 633-5651 Cell: (404) 723-2017 | [email protected] 






-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of william janulin
Sent: Friday, April 28, 2017 8:41 AM
To: [email protected]
Subject: VARY command in a batch job

To list;
  Is there a way to issue a VARY cuu,offline command in a batch job. I need to 
do some full volume copies, including the volser,  and then vary the receiving 
offline. 

Thank you in advance, Bill J.

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



This email transmission and any accompanying attachments may contain CSX 
privileged and confidential information intended only for the use of the 
intended addressee. Any dissemination, distribution, copying or action taken in 
reliance on the contents of this email by anyone other than the intended 
recipient is strictly prohibited. If you have received this email in error 
please immediately delete it and notify sender at the above CSX email address. 
Sender and CSX accept no liability for any damage caused directly or indirectly 
by receipt of this email.


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

Reply via email to