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
 
Build Multiple JCLs using file tailoring skeleton

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

New User


Joined: 18 May 2009
Posts: 16
Location: Hyd

PostPosted: Mon Nov 28, 2011 11:23 pm    Post subject: Build Multiple JCLs using file tailoring skeleton
Reply with quote

Hi ,
I have to Submit 7 JCl in sequential order after doing many change in jcl and submit one after other based on Maxcc return code .Doing manually is very tedious task . Is it possible to execute JCL one after other after updating it with input and output file using file tailoring skeleton . Please suggest .
I tried ISPF file tailoring skeleton to update and submit 1 JCL at a time it is working fine but I don't have any idea how to include multiple JCLS in same rexx program using ISPF file tailoring .

Do I have to write 7 different rexx program using file tailoring skeleton or Is their any feasible way . I need sample resource and examples if any ..

e.g v12452.pds.pyv .. (Pds file ) has 7 JCLs .. need to submit them in sequential order one after other changing input files and output files ..

I tried putting all together in one PS file and submitted but they are not executing in order .

Please suggest .
Back to top
View user's profile Send private message

Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Mon Nov 28, 2011 11:29 pm    Post subject:
Reply with quote

how about using scheduler?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon Nov 28, 2011 11:29 pm    Post subject:
Reply with quote

Why not submit one job with conditional execution of steps.

Also, please define tedious. It's probably what you get paid for.
Back to top
View user's profile Send private message
Phalgun

New User


Joined: 18 May 2009
Posts: 16
Location: Hyd

PostPosted: Tue Nov 29, 2011 12:35 am    Post subject: Re
Reply with quote

Hi ,

I tried INTRDR , I m able to execute jobs sequentially but I m want to make changes via rexx instead of editing jcl and submit . Isn't it possible to use ISPF file tailoring service to build different JCL and make changes all at time in 7 JCLs and submit it via rexx . Please suggest .
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1783
Location: Bloomington, IL

PostPosted: Tue Nov 29, 2011 12:58 am    Post subject: Re: Re
Reply with quote

Phalgun wrote:
Hi ,

I tried INTRDR , I m able to execute jobs sequentially but I m want to make changes via rexx instead of editing jcl and submit . Isn't it possible to use ISPF file tailoring service to build different JCL and make changes all at time in 7 JCLs and submit it via rexx . Please suggest .

Why have you ignored Escapa's and expat's suggestions?
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2088
Location: Silicon Valley

PostPosted: Tue Nov 29, 2011 1:20 am    Post subject: Reply to: Build Multiple JCLs using file tailoring skeleton
Reply with quote

Quote:
Isn't it possible to use ISPF file tailoring service to build different JCL and make changes all at time in 7 JCLs and submit it via rexx .


Yes, it is possible. But, like using the internal reader, they still might not execute in the order that you want. You should submit a single job with multiple steps or a job that, in the last step, submits the next job.

You seem to already know it is possible to use file tailoring. It is not clear what you are asking for.

Read chapter 10 of "ISPF Dialog Developer's Guide and Reference".
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 Inefficient BUILD - VB records paddin... Daniel Prosser SYNCSORT 9 Thu Dec 14, 2017 3:52 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm

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