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 / herm ballast
The COND in the JOB Statement overwrites all the COND in the STEP Statement, so it does work.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
Is it possible to left uncode disp?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
how you will the direct the data to spool using sysout option?
How to pass data to a program that is coded in an exec statement?
Where & How Do You Code Identifier In Jcl?
which parameter is used to check the syntax of a jcl without executing it?
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?
What is the function of //jcllib statement?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
List the various advantages of using jcl language?
What is one line to pass PARM from JCL to COBOL?
Can I send output of job to my remote device careerride123?
what are the statements that are not valid to be included in an include statement?
what is the difference between JES3 and JES2?