What is the meaning of the EXEC statement keyword, COND?
What is its syntax?
Answers were Sorted based on User's Feedback
Answer / guest
COND specifies the conditions for executing the subsequent
job step. The value after the COND= is compared to the
return codes of the preceding steps and if the comparison is
true, the step is bypassed. (If this answer confuses you,
welcome to the club - memorize it and don't ask questions!)
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / 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 |
Can we create VSAM file by using IEBGENER?
What are the parameters that are used in creating a gdg?
How I sort the records in a file and copy the first 10 records to another file
when can a job time-out occur? How to overcome that?
Explain about LMGET�read a logical record from a data set
File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3
Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?
In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04
how to convert a file form fixed Length to variable length?
what is full form of AIX
A. Job Abended in STEP03. Now run job again to execute STEP03, STEP04 (STEP01,STEP02 should not execute again)
3 Answers Cap Gemini, CSC, Xchanging,
I have two input SORTIN files and We need to create one SORTOUT file which contains data of both input files. What is the SortCard for this?. Suppose the length of the both files are different, then How we do it? Please reply ASAP