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 |
How to print 10 to 1 if the input have only 10 digit number?
can we declare occurs in 01 level?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
When can the USING phrase be included in the call statement ?
01 b pic +9(4) How many bytes it will take for storage???
Write a program that uses move corresponding.
How to increase the logical record length of existing PS file?
How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?
What are all the divisions of a COBOL program?