The disposition parameter in the jcl is share ( DISP+SHR )
and the program opens file in extend mode what will happen?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

5429


What is redefines clause in COBOL?

1039


How arrays can be defined in COBOL?

838


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2345


What is the usage of comp fields in cobol?

877


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3950


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

997


Are you comfortable in cobol or jcl?

807


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

905


) How do u handle errors in BMS macro?

1625


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2323


When is inspect verb is used in cobol?

921


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1171


What are all the divisions of a COBOL program?

896


How do you reference the following file formats from cobol programs?

914