What is a COND parameter in JCL?

Answer Posted / sree

Each step returns a code to the system once it finishes its
execution.This is a condition code. COND parameter is used
to control the execution of a step based on the condition
code of its previous steps.

Syntax

COND=(comparsion-code,condition)
(If coded on job)

COND=(comparsion-code,condition [,stepname] [,EVEN / ONLY])
(If coded on step )



condition can be GT,GE,LT,LE,EQ,NE

Is This Answer Correct ?    25 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

8682


what are the types of abends that occur on job failure? And explain the possible causes of these

1118


Is there any command to check wether the ps file is in sorted order?

2432


What parameter of the job statement is used to limit the cpu time consumed by the job?

840


How to execute 2nd and 4th steps among 5 steps in jcl proc?

750






Explain the purpose of dd dummy statement?

671


How can an in-stream dataset be terminated?

849


When output dataset space is required, what quantity categories are used?

832


Can an individual step be restricted from using all the jobs allowed cpu time?

1009


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1953


i want to store 20 digits . how will u do it in cobol ?

860


Name the parameters which can be used to limit the number of records written to a sysout dataset?

654


What is the purpose of the dd keylen parameter?

724


What happens if both JOBLIB & STEPLIB is specified ?

612


What is the function of the dd dcb keyword?

828