How to use COND Parameter in jcl

Answer Posted / challa srinivas

cond statement is used for conditional execution of a
perticular step.

cond=(return code, relational operator)

it can be coded with job statement or with step statement.

If COND parameter is coded both in job and step, then COND parameter of step will override JOB.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the format of comment statement?

685


What statement can be used to send data to another mvs jes3 node?

837


Is acct parameter mandatory?

765


Can I send output of job to my remote device careerride123?

672


What is the function of the dd avgrec keyword in sms datasets?

848






How to submit jcl through a cobol program?

688


How gdg are concatenated?

673


Which dd parameters are required?

703


How can return codes be tested before execution of a job step?

932


what is DSN parameter and DISP parameter is used for?

686


Where can program checkpoints be stored for use in a restart?

855


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

678


What does a disposition of (new,catlg,keep) for a dsn mean?

622


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7097


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

669