The disp in the JCL is MOD and the program opens the file in
OUTPUT mode. What happens ? The DISP in the JCL is SHR and
the program opens the file in EXTEND mode. What happens ?
Answers were Sorted based on User's Feedback
Answer / guest
Records will be written to end of file (append) when a WRITE
is done in both cases.
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / mohamed khan
Records will be written to end of file (append) when a
WRITE is done in both cases.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / guest
If the parameter is MOD and Mode is OUTPUT, the entire file
will be overwritten.
If the paramete is SHR and Mode is EXTEND, the records will
be appended at the end.
| Is This Answer Correct ? | 2 Yes | 9 No |
What is NOTCAT 2
how to resolve soc-7 ? please tell me
What is the difference between run mode and addressing mode?
How do you restart a PROC from a particular step?
In sms datasets, what is the function of the dd avgrec keyword?
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 ?
What is the difference between joblib and jcllib statements
How does jcl act on a cobol code?
I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter
a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job terminates with step1?
Explain in DD statement what is the use of DCB parameter?
how can we merge two input files from two different jobs into one output file ? Please ans any one ASAP?