The disposition parameter in the jcl is share ( DISP+SHR )
and the program opens file in extend mode what will happen?
Answers were Sorted based on User's Feedback
Answer / mujahid
Hi
If Deposition parameter is SHR and file is opened in extend
mode then SHR will consider as MOD then sure records will
get appended.
| Is This Answer Correct ? | 16 Yes | 2 No |
Answer / gowri
If Deposition parameter is SHR and file is opened in extend
mode,then records will get appended
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / 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 |
Answer / iswarya
If a disp parm is SHR, then the file will be allocated to the job only at the step where the file is being used.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between structured cobol programming and object alternativelyiented cobol?
what is the maximum error code in mainframe
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
can we declare occurs in 01 level?
In my table having 3000 Records. How can I delete the 500th row? (we don't know what is data inside the table)
how can we code index in an array of cobol pgm?
How to resolve the soc4 and soc7 errors?
What care has to be taken to force program to execute above 16 Meg line?
i want to learn mainframes. i completed MCA ,whats the future of mainframes
What are the pertinent COBOL commands?
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
What is the Purpose of Pointer in the string?