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 |
how to concatenate datasets
Can we create VSAM file by using IEBGENER?
What is the improvement to COND= in the latest version of MVS?
How can we see data in TEMPARARY DATA SET in JCL ?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
What is the difference between joblib and jcllib statements
What is GDG and what is the maximum limit of versions that can be created?
how many members can be created inside a single pds?
What is a S0C4 error ?
Is it possible to code instream data in a PROC?
Wrete a JCL to compare two files and mached records move to onc file & un mached rows wants to another file?
13 Answers CGI, DSRC, IBM,
how to increase the space of a dataset in instream procedure.