View previous topic :: View next topic
|
Author |
Message |
Phalgun
New User
Joined: 18 May 2009 Posts: 16 Location: Hyd
|
|
|
|
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 |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
how about using scheduler? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Phalgun
New User
Joined: 18 May 2009 Posts: 16 Location: Hyd
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
|