What is a COND parameter in JCL?

Answer Posted / eswar

COND parameter in JCL to control the flow of execution steps.
It is very important parameter in JCL.COND can be coded at job level and step level,but always JOB level -COND will override the STEP level-COND.For example in JOB there are 10 steps,if i want to execute step4 only reaming steps are not executed then should mentioned RESTART parameter at JOB level.
i.e.,RESTART=STEP4 at JOB LEVEL and give JCL end (//)after step4,Then the control directly goes to at that particular step and execute that step only.

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

855


when can a job time-out occur? How to overcome that?

753


How to override loadlib?

1428


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1733


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

2268






Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1972


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

804


State the uses of syspring, sysin, sort fields, sum fields and dummy.

655


What do you understand by the term notcat 2 – gs?

759


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

739


Does jcl support automatic restart?

762


Explain the function of the steplib dd statement?

647


What are the parameter we cannot use in procedure?

641


How to do automated restart when a job abend?

791


if the submitter of a job wants to inform another user about the job completion, how can it be done?

757