Answer Posted / santosh
Suppose there are 10 steps in a jcl,i need to execute form
the step5 to step10(need not execute from step1 to step4)
in that case i suppose to use restart.
ex:
//JOBNAME JOB ACCT,RESTART=PROCA.STEP5
//PROCA EXEC PROCA
PROCA:
//PROCA PROC
//STEP1 EXEC ...
//STEP2 EXEC ...
//STEP3 EXEC ...
//STEP4 EXEC ...
//STEP5 EXEC ...
//STEP6 EXEC ...
//STEP7 EXEC ...
//STEP8 EXEC ...
//STEP9 EXEC ...
//STEP10 EXEC ...
| Is This Answer Correct ? | 38 Yes | 6 No |
Post New Answer View All Answers
is there any way to execute more than one proc in the same exec statement at the same time..?
What is the function of the steplib dd statement?
How can an in-stream dataset be terminated?
how would you create a temporary dataset? And where will you use them?
Where can program checkpoints be stored for use in a restart?
Explain the job statement in jcl?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
how can you check if a file is empty using jcl?
What does a disposition of (new,catlg,keep) for a dsn mean?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
How does the jcl specify the job to os?
in ways data can be passed to a COBOL program from JCL?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
How can the disposition of sysout datasets be set for an entire jobstream?