What is the meaning of the EXEC statement keyword, COND?
What is its syntax?

Answer Posted / suresh babu

EXEC operation is meant for executing a program or
procedure. Each EXEC is known as one step. Maximum EXEC
steps in a JCL can be: 255.
The COND parameter coded on the EXEC statement applies only
to the job step that it is coded in. The job step is
executed or bypassed, depending on the condition codes
issued by one or more prior job steps.
SYNTAX: COND=(comparison-code,condition,stepname)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can an individual step be restricted from using all the jobs allowed cpu time?

1022


Explain about ISPF/TSO Commands

1326


Explain the function of a dd statement?

670


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

687


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

740






How jcl work to handle various input output file operations?

664


What is the motivation behind coding class parameter in job statement?

700


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

8725


Can I share my data with other jobs? How?

681


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

2007


How jcl is used for testing batch programs?

733


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

657


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

3544


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9230


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

872