//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 |
Explain how can the attributes of one sms dataset be copied to another dataset?
What is the purpose of the dd keylen parameter?
in production region 100 steps are running,but i need to run only step5 without changing code how can i do it?
which parameter is used to check the syntax of a jcl without executing it?
I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?
How many types we can give input to JCL
i have job card like this //job ***** //step1 exec pgm=iebgener //sysut1 dd dsn=main.sss,disp=shr // dd dsn=main1.sss,disp=shr // dd dsn=main2.sss,disp=shr //sysut2 dd dsn=out1.mmm ,disp=(new,catlg,delete) dcb=( ) // sysin dd * like this what i have to do to skip dsn=main1.sss please giveme answer asap
what is check pending option
What is the difference b/w the CLASS,TIME,PRTY in jcl job card.
What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?
What is TimeStamp, What is TimeStamp error and What is the Abend Code for TimeStamp Error ?
with out sorting how to copy records from one file to another file using jcl.Mean I have one input file in which the record are like 1,6,5,4,2,3(for example) and i want to copy to output file from top to bottom(without sorting) like 3,2,4,5,6,1.so I want the JCL for this.cna any one can answers?