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 |
i want to store 20 digits . how will u do it in cobol ?
In my job I have 6 steps. Step01,02,03...step06. after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that???
How to get the last but one duplicate record of the file using Sort?
What is the purpose of dd?
What is the purpose of the PARM keyword in the EXEC statement?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
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 is S322 abend ?
I have Job A and Job B. I want to trigger Job B from Job A. Please advise.
List the various advantages of using jcl language?
What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?
Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?