File Concept

The Disposition Parameter in the JCL is Share ( DISP=SHR ) and Cobol program opens file in " Extend " mode. In this scenarion what will happen to that file?

Questions by anjireddy1985

Editorial / Best Answer

jedianiki  

  • Member Since Mar-2010 | Mar 24th, 2010


The DISP=SHR in JCL means that the file is already existing and that it is not exclusively locked for your own use. Other user can still access this file. And the EXTEND in the COBOL program means that, when you open the file, the record pointer will be positioned on the last row of the record and every insert you'll make will be appended on the last position of the file.

Showing Answers 1 - 9 of 9 Answers

jedianiki

  • Mar 24th, 2010
 

The DISP=SHR in JCL means that the file is already existing and that it is not exclusively locked for your own use. Other user can still access this file. And the EXTEND in the COBOL program means that, when you open the file, the record pointer will be positioned on the last row of the record and every insert you'll make will be appended on the last position of the file.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions