Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 1755
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: 2038
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us