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 the purpose of dd?
Explain the function of job statement in jcl?
How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.
GDG Create syntax ?
How to create delta file using JCL
I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)
How do you access an uncatalogued dataset in a jcl?
What is the difference between the JOBLIB and the STEPLIB statements?
How to execute step2,step1, step3 if step1,2,3 are in order
How do you send the output of a COBOL program to a member of a PDS?
how to resolve soc-7 ? please tell me
Is it possible to left uncode disp?