In JCL I have 5 steps,I need to execute 1st,2nd and 5th steps
only,can any one answer me please?
Answer Posted / muthu
Hi All,
For this question we have to consider the following
scenario.
Step 1 - it has to be executed at any cost
Step 2 - it has to be executed at any cost
Step 3 - it should not be executed if the 1st and 2nd steps
executed successfully.
Step 4 - it should not be executed if the 1st and 2nd steps
executed successfully.
Step 5 - it has to be executed at any cost
Step 1 - No need to code any cond codes
Step 2 - COND = (0, NE) (This execs if step1s rc is 0)
Step 3 - COND = (0, EQ) (This step get skip if step 2's rc
is 0)
Step 4 - COND = (0, EQ,step2) (This step get skip if step
2's rc is 0)
Step 5 - COND = (0, NE,step2) (This step execs if step2's
rc is 0).
This is my assumption correct me if am wrong.
| Is This Answer Correct ? | 23 Yes | 1 No |
Post New Answer View All Answers
What is the difference between the positional and keyword parameters? Give examples.
what is DSN parameter and DISP parameter is used for?
Explain the function of dd name parameter with a 2 part structure; audit.report?
Suppose I have five jobs to do. But I want to hold one?
which parameter is used to check the syntax of a jcl without executing it?
Define concatenating?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
What is NOTCAT ?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
What is the syntax of JCL statement?
what is the purpose of coding class parameter in job statement?
when does a dataset go uncataloged?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
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) ?