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: 8593
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: 1775
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: 2083
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 Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am

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