The disp in the JCL is MOD and the program opens the file in
OUTPUT mode. What happens ? The DISP in the JCL is SHR and
the program opens the file in EXTEND mode. What happens ?
Answer Posted / mohamed khan
Records will be written to end of file (append) when a
WRITE is done in both cases.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Why block size is multiple of lrecl in jcl?
Explain the hierarchy levels in jcl?
How can the disposition of sysout datasets be set for an entire jobstream?
How can the submitting users racf authority be overridden in a job stream?
what are the various stages of job processing?
How to do automated restart when a job abend?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What are the difference between jcl and jes?
Explain in DD statement what is the use of DCB parameter?
Matching Logic in Jcl not in cobol.Could any one please answer this question
What is the maximum length of a single line of jcl?
what is the compile process of cobol program expalin with code
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
How to execute 2nd and 4th steps among 5 steps in jcl proc?
What is the function of the dd mgmtclas keyword in sms datasets?