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 |
Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.
how to count the number of members in pds?
What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I GET THE PROGRAM FOR THIS
Are there any set of rules for the names of the steps used in a job?
What is a S0C4 error ?
How can a jobs execution priority be modified?
can u execute a proc from another proc?
what is the use of JCL?
How to find out the number of records in a file using JCL
Explain about ISPFTTRC
What is one line to pass PARM from JCL to COBOL?