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

Prepare a JCL generator Tool in Rexx


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Jun 23, 2008 9:45 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jun 24, 2008 11:02 am
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

Moderator Emeritus


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

PostPosted: Tue Jun 24, 2008 12:02 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top