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



The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP i..

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

The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP i..

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

The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP i..

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

Post New Answer

More JCL Interview Questions

Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.

2 Answers   GJ,


how to count the number of members in pds?

2 Answers  


What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?

5 Answers   CitiGroup,


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

3 Answers  


Are there any set of rules for the names of the steps used in a job?

0 Answers  






What is a S0C4 error ?

2 Answers  


How can a jobs execution priority be modified?

0 Answers  


can u execute a proc from another proc?

5 Answers   Logica CMG,


what is the use of JCL?

0 Answers  


How to find out the number of records in a file using JCL

5 Answers   CTS,


Explain about ISPFTTRC

1 Answers  


What is one line to pass PARM from JCL to COBOL?

0 Answers  


Categories