In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.
Answer Posted / anudeep
Hi,
Please used COND=ONLY in your last step which has to be executed whenever the jobs fails.
Thanks.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
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
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
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.
In job processing, what happens in execution stage?
which utility is used to sort a file in jcl?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
is there any way to execute more than one proc in the same exec statement at the same time..?
Explain dfsort utility?
What are the difference between jcl and jes?
How does jcl act on a cobol code?
What is jcl in mainframe?
what are JCLLIB and STEPLIB in JCL?
Matching Logic in Jcl not in cobol.Could any one please answer this question
how do you code a null statement?