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



The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mo..

Answer / gayathri

Records will get appended to the file at the last.

Is This Answer Correct ?    18 Yes 2 No

The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mo..

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

The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mo..

Answer / himanshu kumar

agree

Is This Answer Correct ?    10 Yes 1 No




The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mo..

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

The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mo..

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

The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mo..

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

Post New Answer



More COBOL Interview Questions

i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

5 Answers   HCL,


why occurs clause not mentioned in 01 level

6 Answers   Tesco, HCL, TCS, NIIT,


I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...

2 Answers   DSRC, CTS,


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

0 Answers  


subscript and index r not coded in u r application program what will happen?

2 Answers  






How to read records which is in sequential file in reverse order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my doubt any one

9 Answers   IBM,


TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr

1 Answers   MNC,


input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.

3 Answers  


can we write paragraph in area B .....

4 Answers   L&T,


What is cobol?

0 Answers  


i have variable record in the 5th, i want to sort from 5th filed ? how ?

2 Answers   TCS,


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

0 Answers   iNautix,






Categories