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


Please Help Members By Posting Answers For Below Questions

How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2168


Is it possible to left uncode disp?

711


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) ?

1748


how you will the direct the data to spool using sysout option?

1761


How to pass data to a program that is coded in an exec statement?

820






Where & How Do You Code Identifier In Jcl?

695


which parameter is used to check the syntax of a jcl without executing it?

798


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?

779


What is the function of //jcllib statement?

802


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

629


List the various advantages of using jcl language?

852


What is one line to pass PARM from JCL to COBOL?

653


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

663


what are the statements that are not valid to be included in an include statement?

776


what is the difference between JES3 and JES2?

676