Answered Questions

  • 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?

    Star Read Best Answer

    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.