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 are the pertinent COBOL
What rules are followed by the search verb.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Write a program that uses move corresponding.
What are declaratives and what are their uses in cobol?
how to refer the data field?
How do you define a variable of comp-1 and comp-2?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is the use of intialize verb?
Explain what you understand by passing by value.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is the usage of comp fields in cobol?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is the Purpose of Pointer in the string?