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 ?
Answers were Sorted based on User's Feedback
Answer / guest
Records will be written to end of file (append) when a WRITE
is done in both cases.
Is This Answer Correct ? | 10 Yes | 1 No |
Answer / 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 |
Answer / guest
If the parameter is MOD and Mode is OUTPUT, the entire file
will be overwritten.
If the paramete is SHR and Mode is EXTEND, the records will
be appended at the end.
Is This Answer Correct ? | 2 Yes | 9 No |
if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?
How can i execute 5th step without executing first 4 steps?
What is the differentiation between TRK,cyl, and Bytes... how they can be connected??
What is jcl in mainframe, and how many types of jcl statements are there for a job?
what type of version is we r using now real time in all modules(cobol, jcl, cics, db2, vsam)?
What is a Generation Data Group (GDG)?
What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?
can we modify the code in copy book? if it possible how to submit ofter the modification.
in ways data can be passed to a COBOL program from JCL?
In job processing, what happens in execution stage?
If Region=0k means What Happen?
What are isolation levels? Where do we need to specify them in compiling JCL?