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 |
how will u retreive value from a table.write it with syntex. 01 ws-table 05 ws-table1 occurs 10 times. 05 ws-table2 occurs 10 times. the above is 2 dimensional array..how will u retrieve 1st element of an array
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the LINKAGE SECTION used in COBOL?
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?
Can anyone please give the example of Inline Perform.
What is the difference between Perform para and perform asaection in cobol?
can we use COPY statement in w-s section? how?
What is amode(24)?
what are the paramater we cannot use in procedure?how many instream we can write in single jcl?can we call instream to catalog and ctalog to instream?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??
How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?