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 |
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
How to retrive the 9th records out of ten records using the cobol program ?
is it possible to declare index in cobol program? if it is not why its tell me pls
How do you compile cobol program..?
I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.
In an EVALUTE statement is the order of the WHEN clauses significant?
if a file has 1000 recods how copy the records from 1 to 100 records using sort
Can the OCCURS clause be at the 01 level?
where do we use dyanamic call ? and where do we use static call pls give any example pls ?
copy 100 records without using ibm utilities
if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?
The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it