JCL DD Statement

The step contains more than 3273 DD statements then what will happen the job if I submit..?

Questions by reddy.m

Showing Answers 1 - 6 of 6 Answers

gskn4u

  • May 16th, 2008
 

Maximum of 255 steps will be executed at once. but if you want to execute more then 255, then divide the jcl in parts. run the first JCL and after checking the return code run the next JCL within the same jcl. It is similar to running a job within another job.

code to trigger a jcl within a jcl:

//JOB CARD
//*

//STEP050 EXEC PGM=IEBGENER                                      
//SYSPRINT DD SYSOUT=*                                           
//SYSUT1 DD DSN=SYSPDA.JCLLIB(JCL2),DISP=SHR    <== JOB NAME     
//SYSUT2 DD SYSOUT=(A,INTRDR)                                    
//SYSIN DD DUMMY                                                 
//

  Was this answer useful?  Yes

serken

  • Dec 19th, 2008
 

The original question was about the number OF DD STATEMENTS, not(!) the number of JOB STEPS!

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions