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 |
Can printer files (having 133 characters) be of variable length?
Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.
where do we use dyanamic call ? and where do we use static call pls give any example pls ?
Whtz the specialty of 77 level number ?
Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER
In an array processing what is the thing that can be done by using subscripts but not by using index
can we display comp-3 variables. if we want to display what we have to do . give me one example
can we use full outer join with cursors declared in cobol program?
PERFORM ACCUMULATE-TOTALS VARYING A FROM 1 BY 2 UNTIL A >2 AFTER B FROM1 BY 1 UNTIL B>2 AFTER C FROM 2 BY -1 UNTIL C<2 How many times the paragraph ACCUMULATE-TOTALS would be exicuted?
Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.
what is the difference between external and global variables?
Describe the difference between subscripting and indexing ?