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 |
What is the usage of comp fields in cobol?
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?
What is "Call by content" and "call by reference"?
How do you reference the following file formats from cobol programs?
How do get the result of your program directly on your pc?
can we use the two 01 level in file discription ?
how to run sub programs using static and dynamic call ...
I had 100 records and i want to execute last three records by using cobol programming?what will be coding?
which one is better among static call and dynamic call?
if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.
Describe the difference between subscripting and indexing ?
What is the difference between index and subscript?