I have 10 steps, I want to run STEP1 TO STEP4 then I should
not run STEP5 and STEP6. Aganin I want to execute from
STEP7 to STEP10. ONLY using CONDITION CODES how can we
execute this process?
1. Where we can set cond codes for STEP5 and STEP6?
2. How can we execute remaining steps from STEP7 to STEP10?

Answer Posted / lokesh

1) Use cond code as COND=(0,LT,STEP04) on step 05 and COND=
(0,LT,STEP04) on step 06. As return code is always non-
negative, step05 and step06 will never get executed.

2) To execute remaining steps, use cond code as (4,LT)

Is This Answer Correct ?    5 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of //jcllib statement?

795


Explain about LMFREE�free data set from its association with data ID

993


what sort card you will use to copy the data from one dataset to another dataset?

719


Explain the function of the steplib dd statement?

633


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1795






hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1659


Where & How Do You Code Identifier In Jcl?

691


What are the rules employed while naming the steps in a job?

650


What are the 4 fields in dd statement?

737


Explain in DD statement what is the use of DCB parameter?

646


How to pass data to a program that is coded in an exec statement?

815


Explain dfsort utility?

661


What is condition checking in jcl? Is this possible?

619


For what purpose steplib and joblib are used ?

680


write a jcl to execute a job by 7:00 am on jan 20,1986?

689