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 |
For how long a job can be executed continuously in a mainframe ?
i have a jcl containing header body and trailer .in header i have viswa body 2 6 1 9 7 trailer reddy .now i need to sort only body in either asecending or descending order how can i do it
how would you create a temporary dataset? And where will you use them?
Can you execute a PROC from another PROC?
what happens if job falls in loop ? how to resolve it ?
Name some of the JCL statements that are not allowed in procs.?
What are the kinds of job control statements?
suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want exicute step 3 and step 7 only how we specify condition ?
How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.
What are s0c1, s0c4, s0c5, s0c7 and socb?
what's the significance of freespace(0 0) and freespace(100 100)
what is the control cards?