IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Build Multiple JCLs using file tailoring skeleton


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Nov 28, 2011 11:29 pm
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
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: 1788
Location: Bloomington, IL

PostPosted: Tue Nov 29, 2011 12:58 am
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

Global Moderator


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

PostPosted: Tue Nov 29, 2011 1:20 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
Search our Forums:

Back to Top