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: 8686
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

Senior Member


Joined: 14 Mar 2007
Posts: 10478
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. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts Code Coverage and static analysis too... Aditya.Srivastava PL/I & Assembler 2 Fri May 25, 2018 12:48 pm
No new posts Trap the jcl error message or maxcc i... ankita agarwal CLIST & REXX 5 Fri May 18, 2018 2:08 pm
No new posts Rexx command to open an another text ... Bharath Vikraman PC Guides & IT News 7 Sat May 12, 2018 4:34 pm
This topic is locked: you cannot edit posts or make replies. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm

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