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 |
consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.
i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.
what is record label is empty or standard in file description of data division?
There are two flat files one having 10 records and other having 5 records. write a cobol pgm to find the duplicate records(matching records)from both files.
1) can we display the index?
what is Reentrancy and Quasi-reentrancy?
What are the different rules to perform a Search?
Name the divisions in a COBOL program ?
Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.
How to concatenation one or more string?
9(2).99 how many bytes take? Why . consider as a byte?
What is the difference between performing a SECTION and a PARAGRAPH?