The disp in the JCL is MOD and the program opens the file in OUTPUT mode
Q:
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 happen ?
Answer :
Records will be written to end of file (append ) when a WRITE is done in both cases.