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 |
wht is the diff b/w if and evaluate stmts ?
I have a sequential file. How do I access a record in this sequential file randomly in my program ?
Describe the difference between subscripting and indexing ?
How many divisions we have in Cobol ?
can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?
88 class is used for
u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?
study the data discriptions and answer the questions given below i)01 ORDER RECORD 05 OUT-HEADER PIC X(50) 05 ITEM-COUNT PIC 99 05 OUT-ITEM PIC X(20) OCCURS 1 TO 20 DEPENDING ON ITEM-COUNT ii)01 NAME-AND-ADDRESS 05 N-AND-A-LINE OCCURES 5 05 LINE-LENGTH PIC P9 05 N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON LINE-LENGTH iii)01 SALES-LIST 05 SALESMAN-COUNT PIC 99 05 SALES PIC 9(6) OCCURS 1 TO 100 DEPENDING ON SALESMAN-COUNT iv)01 ORDER-RECORD 05 NO-OF-BRANDS PIC 99 05 BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON NO-OF-BRANDS which of the following is true? a.i) and iii) are valid b.i) and iv) are valid c.i) and iii) are not valid d.all are valid
What the difference is between continue and next sentence?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
how can we get current dat and time thru cobol pgm
what is sync clause?