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
In COBOL, what is the different between index and subscript?
what is the use of outrecord?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How many sections are there in data division in COBOL?
example for sub strings ? and refernce modifications whit output pls
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How do you reference the following file formats from cobol programs?
How do we get current date from system with century in COBOL?
Write down the divisions of cobol program?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
For rewrite, why is it mandatory that file needs to be opened?
What are the pertinent COBOL commands?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
how do you reference the esds vsam file formats from cobol programs