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: 10274
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
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts Need info on EIBCPOSN value in IBM FA... subratarec CICS 11 Wed Jul 12, 2017 3:45 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm


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