The disposition parameter in the jcl is share ( DISP+SHR )
and the program opens file in extend mode what will happen?

Answer Posted / srinivas yadav

If the disp parameter is SHR and that same file is opened
in the extend mode then the file is treated as MOD.
MOD:It is used to append (add) the records.
Ex:Already 10 records are there in a file and i am adding 5
records to that of same file. so, by using disposition
parameter=MOD we can add the records to an already existing
file.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between PIC 9.99 and 9v99 in COBOL?

720


In COBOL programming, what is PERFORM? What is VARYING?

662


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1908


Why would you use find and get rather than to obtain?

664


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

248






How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

625


Why occurs cannot be used in 01 level in COBOL?

701


What are different data types in cobol?

668


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

625


How to know whether the module is dynamical or statistical?

639


Describe the cobol database components?

664


What is cobol?

728


how do you reference the rrds file formats from cobol programs

771


what happens if parmparameter passes zero bytes to the program

1648


What are the different rules for performing sort operation?

745