wt will happen to the step of a job if u code COND=ONLY
Answers were Sorted based on User's Feedback
//s1 exec pgm=ex1
//s2 exec pgm=ex2
//s3 exec pgm=ex3,cond=only
//s4 exec pgm=ex4
1) if s1 executes sucess, s2 got abend ,then executes s3.and
stops execution
2) if s1 got abend, s2 dont executes ,then s3 executes.and
stops execution
3) if s1 executes sucess ,s2 executes sucess,then s3 wont
executes. and go to s4.....
if any wrong in my answer plz correct me..
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / suman
It is to execute subsequent activity when previous activity
terminated abnormally(unsucessfully).
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / vinay sonar
//STEP2 DD PGM=IEBGENER,COND=ONLY
it means execute that step only if previous step abends
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / rahaman
that step cond=only wil be executed only when the about step fails or shows an abend.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sdexcellent@yahoo.co.in
if COND=ONLY then the next step will be executed only when
the previous step is not executed
| Is This Answer Correct ? | 1 Yes | 3 No |
what is SOC4 error?
Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.
what is symbolic parameters in jcl, what is a temparary data set ? where do u use ?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
common jcl abends??
define cond parameter in jcl?
Explain about LMCLOSE�close a data set
Matching Logic in Jcl not in cobol.Could any one please answer this question
how to identify the file used in the JCL is an VSAM file. Just seeing the JCL code how can we track the file as VSAM file?
1.How to check for the errors using TYPRUN=SCAN?What will be the output if we give TYPRUN=SCAN?
FOR a GDG, the book by 'SABA ZAMEER' says 'We can NOT ALTER the LIMIT parameter after it is defined'. (p-211). But many persons have written that it can be changed, which one is true ?
how to do automated restart when a job abends?