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
 
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: 8619
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: 10374
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 Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
This topic is locked: you cannot edit posts or make replies. Rexx to Grab ISMF Information. upendrasri All Other Mainframe Topics 16 Sun Nov 26, 2017 12:35 am
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm

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