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

if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?

5 Answers   Accenture,


How can i execute 5th step without executing first 4 steps?

4 Answers  


What is the differentiation between TRK,cyl, and Bytes... how they can be connected??

2 Answers  


What is jcl in mainframe, and how many types of jcl statements are there for a job?

0 Answers  


what type of version is we r using now real time in all modules(cobol, jcl, cics, db2, vsam)?

1 Answers   Accenture,






What is a Generation Data Group (GDG)?

2 Answers  


What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?

2 Answers  


can we modify the code in copy book? if it possible how to submit ofter the modification.

3 Answers   IBM, L&T,


in ways data can be passed to a COBOL program from JCL?

0 Answers  


In job processing, what happens in execution stage?

0 Answers  


If Region=0k means What Happen?

2 Answers   IBM,


What are isolation levels? Where do we need to specify them in compiling JCL?

3 Answers  


Categories