IEBEDIT followed by a "wait" program  (just because the command has been 
submitted doesn't mean it will execute before you issue the next one).   If you 
want a sample, let me know.   I used this procedure to roll staging sysres 
volume to an alternate resvol.
 
Dick
HFHS
Mainframe Administration

>>> "Timmerman, Kurt" <[EMAIL PROTECTED]> 6/20/2008 10:03:29 AM >>>

Hello,



I have the need to execute multiple console commands in a batch job. I
have used the "// COMMAND 'command operand'" JCL statement as well as an
IEFBR14 with the command in the IEFBR14 job but everything I have tried
gets executed immediately. I have not been able to come up with a way to
execute console commands in separate steps of a batch job when the step
runs, they all execute immediately. I'd like a very simple solution to
this if anyone has one?



Thanks,

Kurt



______________________________________________________________________
The information transmitted (including attachments) is covered by the 
Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is intended only 
for the person(s) or entity/entities to which it is addressed and may contain 
confidential and/or privileged material.  Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance upon, this 
information by persons or entities other than the intended recipient(s) is 
prohibited.  If you received this in error, please contact the sender and 
delete the material from any computer.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html





==============================================================================
CONFIDENTIALITY NOTICE: This email contains information from the sender that 
may be CONFIDENTIAL, LEGALLY PRIVILEGED, PROPRIETARY or otherwise protected 
from disclosure. This email is intended for use only by the person or entity to 
whom it is addressed. If you are not the intended recipient, any use, 
disclosure, copying, distribution, printing, or any action taken in reliance on 
the contents of this email, is strictly prohibited. If you received this email 
in error, please contact the sending party by reply email, delete the email 
from your computer system and shred any paper copies.
 
Note to Patients: There are a number of risks you should consider before using 
e-mail to communicate with us. See our Privacy Policy and Henry Ford My Health 
at www.henryford.com for more detailed information. If you do not believe that 
our policy gives you the privacy and security protection you need, do not send 
e-mail or Internet communications to us.

==============================================================================

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to