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
What is the utilization of copybook in cobol?
) what is the difference between AID and HANDLE AID?
What are the pertinent COBOL commands?
Define static linking and dynamic linking.
Which Search verb is equivalent to PERFORM…VARYING?
Describe the cobol database components?
how to convert the recors form vsam file to db2 table tru file aid
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...)
What is a report item?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Which mode is used to operate the sequential file?
What are literals?
What are the cobol coding sheets?
What is redefines clause in COBOL?
Name the divisions, which are available in a cobol program?