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 |
can we display comp-3 variables. if we want to display what we have to do . give me one example
I want to declare a field with data type Double in my COBOL program. how shall i do that ?
which one is the best of com and com-3.using of real time ?
how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)
i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."
The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?
What will happen if we try to create GDG (+2) generaton instead of (+1) generation?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
how we rectify soc7 and soc4 errors in project?
what is rediffine clause?in what situation it can use?give me real time example?
sample code for read a 2nd record from last in flatfile how can do?
Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.