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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts How to delete a user's alias from the... JCL & VSAM 11
Search our Forums:

Back to Top