In JCl which of this activities get executed if act002
abnormally terminates
//job001 job .........
//act001 exec pgm=cobo01
//act002 exec pgm=cob02, cond=(01,le)
//actoo3 exec pgm=cob03, cond=only
//actoo4 exec pgm=con04
Answers were Sorted based on User's Feedback
Answer / pratim
If act002 exec pgm=cob02 fails,
actoo3 exec pgm=cob03, will execute because of cond=only!
but actoo4 will not execute!!
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / vinay sonar
ACT003 AND ACT004 WILL EXECUTE BECAUSE COND=ONLY MEANS
EXECUTE THAT STEP ONLY IF PREVIOUS STEP ABENDS
| Is This Answer Correct ? | 0 Yes | 1 No |
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
1) Is CLASS used for assigning Priority (as we say a job having class '6' will run before the job having class '5'? then what is the difference between CLASS and PRTY ? 2) In a same JCL, 2 JOB statements with different Classes and NO PRTY are submitted ? which will run first ? & with different classes and different PRTY also, which will run first now ?
what type of version is we r using now real time in all modules(cobol, jcl, cics, db2, vsam)?
what happens in conversion stage in job processing?
i have step1,step2,step3 from where can i start coding cond parameter ?
whats the diff bw the evaluate also and and?
How do you submit JCL via a Cobol program?
read all error codes like SB07?
Hi, all suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if cond is true or false (which of the other steps get executed)? 1) //s3 exec pgm=abc,cond=(0,le) 2) //s3 exec pgm=abc,cond=(0,le,step2) 3) In the jobcord RESTART=step3,cond=(0,le) 4) can i code COND=TRUE in jobcard, if yes what will happen?
can we have more than one job in a single job card that is we are specifying only one 'job' statement in the jcl.
What is DISP= (NEW,PASS,DELETE)?
what is “Cond= even” and “Cond=only”?