how can we code index in an array of cobol pgm?
Answer / jenny
It can be done in two ways:
1.Using the INDEXED BY phrase on the OCCURS clause.
2.index can be defined(as a working storage variable) with
USAGE IS INDEX clause.
In either case the index is set, icreased or decreased
using the SET verb in the Procedure Division.
| Is This Answer Correct ? | 15 Yes | 2 No |
without performing any operations on a file how can i know whether it contains data or not
01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2
Difference between file status codes 02 and 22.... since both are for duplicate key detection.
how to refer the data field?
What is an explicit scope terminator?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is rmode(24)
What does the INITIALIZE verb do?
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
how will you define vsam file in select clause?
can we use go to statement inline-perform?
9(2).99 how many bytes take? Why . consider as a byte?