What is the mode in which you will OPEN a file for writing?
Answers were Sorted based on User's Feedback
Answer / vikas pujar
If want to write new records :
1) Output - New records will be written , old will be
overwritten.
2) Extend - New records will be appended to existing ones
Where as :
1) I- O : Used to re-write the existing records, but not to
write new records
Is This Answer Correct ? | 14 Yes | 0 No |
Answer / suputhru
I agree with vikas,
only in 2 modes: Output and Extend.
Is This Answer Correct ? | 2 Yes | 0 No |
where did you see the information regarding abend codes in jcl?
In COBOL, what is the different between index and subscript?
0 Answers TryTechnicals Pvt Ltd,
Difference between next and continue clause
I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2
What is an explicit scope terminator?
What is CALL statement in COBOL?
01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??
what is the difference between Normal vaiable and comp variable.
Can JUSTIFIED be used for all the data types?
what happens when a copybook variables are declared using include statement ?
How can you display the SPOOL information ?