What will happen if you attempt to restart a job in the
middle of a JCL // IF .... // ENDIF?
Answers were Sorted based on User's Feedback
Answer / guest
Job will fall through to the ENDIF (not executing any
steps), then resume execution with the first step AFTER the
// ENDIF.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / mahesh babu
step which is coded after the If and End-If will be executes
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / brahmareddy.t
If you code restart in between if & end-if
the job will execute from first step.
i.e. if you want to restart step5 in between if $ end-if then it will start from step1.
| Is This Answer Correct ? | 2 Yes | 2 No |
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
How do you restart a step in JCL?
There is a procedure in A.B.PROCS(PROC1) (member name is PROC1) //PROCA... There is a call to a procedure PROCA from a JOB. //STEP01 EXEC PROCA ... Here "PROCA" in JOB refers to the actual PROC name or the member name of the PDS where this PROCA is stored.
A. Job Abended in STEP03. Now run job again to execute STEP03, STEP04 (STEP01,STEP02 should not execute again)
3 Answers Cap Gemini, CSC, Xchanging,
is there any possibilities for sumbitting more than one job in single jcl? if yes...based on which thing they will execute..(priority,class,time,written order..?)
What is the meaning of keyword in JCL? What is its opposite?
if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?
What are the valid DSORG values ?
What does a disposition of (new,catlg,keep) for a dsn mean?
How to run cobol program using jcl?
There are 2 steps in a JCL. If the first step abends due to system or user abend and the second step has COND specified as EVEN or ONLY, will this step still be executed inspite of the abend in the previous step?
What is one line to pass PARM from JCL to COBOL?