what is qualification on occurs clause?

Answers were Sorted based on User's Feedback



what is qualification on occurs clause?..

Answer / kanika

Occurs clause is used in case of table ,when one number is
used many times as in case of array.

Is This Answer Correct ?    4 Yes 0 No

what is qualification on occurs clause?..

Answer / reshma

If a data-name with the occurs clause requires any
qualification by its higher level, the subscripts to be
written after the last qualified name. For ex,
01 INCOME-TAX-RATE
02 TAX-RATE PIC 99 OCCURS 10 TIMES.
if TAX-RATE should be qualified, it must appear as TAX-RATE
OF INCOME-TAX-RATE(I) and not as TAX-RATE(I) OF INCOME-TAX-
RATE

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More COBOL Interview Questions

What will happen if we generate GDG (+2) version without generating (+1) version?

2 Answers   IBM, T systems,


i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.

9 Answers   Syntel,


What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

7 Answers   T systems,


If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??

4 Answers   Accenture,


what is meaning by design document? who can repared for this?

5 Answers   TCS,






Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above

7 Answers   TCS,


i want to enter the name 'pandu' into ur table how?

1 Answers   Fidelity,


How to read the last 100 records from a COBOL file. The file contains N number of records.

11 Answers   IBM,


what are the error codes in cobol, db2, cics, vsam , and jcl

2 Answers   TetraSoft,


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

0 Answers  


given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1

5 Answers   Broadridge, TCS,


What are the differences bitween cobol and cobol-2?

1 Answers   Wipro,


Categories