//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 |
Differentiate between addressing mode and run mode.
what are the various stages of job processing?
What is default if we don't specify RD parameter at all ?
SORT card to eliminate duplicity.
What is notcat 2 - gs?
How do you submit JCL via a Cobol program?
01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250
when we use sysprint and sysout statements
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
The maximum number of steps in a job?
//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?
i have five step in jcl.my forth step is gdg.gdg was abend.when will job complete,hoe to handle you