IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

RUN system commands as batch job


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jeevajeeva

New User


Joined: 13 May 2006
Posts: 17

PostPosted: Mon Jun 12, 2006 3:42 pm
Reply with quote

hi,

is it possible to run the MVS system commands as batch jobs. if then then anyone let me know the syntax for the same.

for example to configure a device online.

cf chp(0a),online
v path(100,0a),online
v 00,online

is it possible to run the above commands as batch jobs. then give me the model JCL for the same

Regards.
Jeeva
Back to top
View user's profile Send private message
kamran

New User


Joined: 01 May 2005
Posts: 55

PostPosted: Mon Jun 12, 2006 7:24 pm
Reply with quote

Hi,
Also you can issue system commands through JCL as listed bellow:
// job card
// exec card(for example pgm=IEFBR14)
// ...
// write your system command here!
// ..

but it is not a good idea to issue serially commands which are related to each other and each one should be run after succesfull completion of previous one.
Anyhow you can find some elementry source codes through internet which will give you ability to make delay between command.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Free space of a mulitvolume PS datase... TSO/ISPF 7
No new posts How to close Datacom MUF URT used by ... CICS 0
No new posts Activate WLM policy in batch All Other Mainframe Topics 2
No new posts CICS UCTRAN=NO not working, need syst... CICS 3
No new posts MacKinney Batch to CICS upgrade causi... CICS 7
Search our Forums:


Back to Top