Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
RUN system commands as batch job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: RUN system commands as batch job
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Generate public-private key in batch ... vasanthz All Other Mainframe Topics 3 Fri Sep 15, 2017 9:20 am
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us