//ERFDS JOB
//STEP1
//STEP2
//STEP3...COND=(4,LT)
//STEP4
1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE
(STEP1 OR STEP2)?
2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH
STEPS WILL EXECUTE?? AND WHY?
IF CONDITION IN STEP3 SATISFIES
Answers were Sorted based on User's Feedback
Answer / jagan
1. Condition in Step3 refers to the return code from STEP2.
2. If the condition COND=(4,LT) satisfies then step4 will be
executed byapssing step3 , if the condition doesn;t satisfy
then STEP3 will be executed.
| Is This Answer Correct ? | 15 Yes | 3 No |
Answer / prijey
Condition in Step3 refers to the maximum return code from
the prior steps.
If 4 is less than MaxCC from prior steps then Step 3 will
not be executed. Step 4 will be executed anyway.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / sangeetha
that sondition will refer both return code from step2 &
step1...
| Is This Answer Correct ? | 0 Yes | 6 No |
Answer / arun
Condition in step3 refers to the same step return code.And
it does not refer step1 or step2 return code because the
condition is placed in step 3 only.If step3 condition is
satisfied then step4 will excute.
If condition is placed at the job then it will refer
previous step return code before excuting the current step.
| Is This Answer Correct ? | 1 Yes | 20 No |
I have 5 steps in my job. say s1, s2, s3, s4, s5 //s1 exec ............. //s2 exec ............ //s3 exec .......... //s4 exec ........ //s5 exec ............... my question is i want to exeute only s2 and s4 steps... please advice me how to do this:
Can I send output of job to my remote device careerride123?
Differentiate between the joblib and the steplib statements?
What is use of restart and how to use it?
what are the statements that are not valid to be included in an include statement?
I need to compare two VSAm files. In input VSAM file some fields are updating and the updated feilds are coming into the output file. now i need to compare these two files with respect to a perticular field. Please suggest a suitable JCL code me.
What is the difference b/w the CLASS,TIME,PRTY in jcl job card.
Could anyone please suggest me what is the maximum length of data that can be pass as input in //sysin dd * This was asked in interview. TIA
Explain about LMINIT - generate a data ID for a data set
i want apply mainframe devolper with 3+ but i dont have that much of knowledge what isthe solution to get that much of knoweldge?
Is condition checking possible in jcl?
Differentiate between addressing mode and run mode.