GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 116 of 128    Print  
JCL Steps
How to Run same steps in a jcl 'n' number of time each time with different input files without repeating the steps n times?


  
Total Answers and Comments: 4 Last Update: April 15, 2009     Asked by: balasubramaniyan 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 21, 2008 17:02:45   #1  
harpreet_siddhu Member Since: October 2008   Contribution: 1    

RE: JCL Steps
I want to use the Same JCL step using different input depending up on the dats.For example i have input file having 90000recoreds not i will spplit the file into 2. Now i have to process these two splited file thru same step.So how to recall or reuse the same step for other step. Please let me the code.
 
Is this answer useful? Yes | No
February 09, 2009 01:18:37   #2  
rramaiah1 Member Since: February 2009   Contribution: 3    

RE: JCL Steps
You can also use DPRTY <-- by giving the highest priority.
 
Is this answer useful? Yes | No
February 15, 2009 03:03:56   #3  
sangu.pd Member Since: February 2009   Contribution: 3    

RE: JCL Steps
Try using DPRTY PARAMETER
 
Is this answer useful? Yes | No
April 15, 2009 18:05:29   #4  
dhs01 Member Since: April 2009   Contribution: 24    

RE: JCL Steps

While this may not be an elegant solution what I would do is to set up a PROC with a substitution variable. I would then invoke the PROC n times using n EXEC cards with the file override substitution.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape