Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Prepare a JCL generator Tool in Rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Deepthy Jose P

New User


Joined: 07 Mar 2007
Posts: 40
Location: India

PostPosted: Mon Jun 23, 2008 9:20 pm    Post subject: Prepare a JCL generator Tool in Rexx
Reply with quote

How to prepare a JCL generator Tool in Rexx? creating jobs based on a model Job.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jun 23, 2008 9:45 pm    Post subject:
Reply with quote

Well, baased on the amount of useful information provided in your post, my initial and fascitious reply would be "Code it".

What exactly is it that you want to achieve and why ?
Back to top
View user's profile Send private message
Deepthy Jose P

New User


Joined: 07 Mar 2007
Posts: 40
Location: India

PostPosted: Tue Jun 24, 2008 10:56 am    Post subject: Reply to: Prepare a JCL generator Tool in Rexx
Reply with quote

I require to generate a set of Jobs based on a model job. The differences will be in the Dtaset names and PSB names and Parms. I get this requirement quite often. Is it possible to code a JCL generator in REXX? If i code one for my current model job then i will have to code it again for the next model job as the location, the number etc of the datasets/parms differ in each set of jobs. is there some solution to code a single tool for this purpose?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10254
Location: italy

PostPosted: Tue Jun 24, 2008 11:02 am    Post subject: Reply to: Prepare a JCL generator Tool in Rexx
Reply with quote

look at the ISPF file tailoring services...

the logic flow would be something like ( REXX driven )
display a panel
process the data entered
use file tailoring to generate the jcl from a skel
submit the job

here is a link to ispf manuals
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/ISPZPM61
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jun 24, 2008 12:02 pm    Post subject:
Reply with quote

Hello,

If the jcl is the same except for those few items, why not create a PROCedure with symbolic parameterw and provide the specific values at run-time?
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 -> CLIST & REXX 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. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us