what is qualification on occurs clause?
Answers were Sorted based on User's Feedback
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 |
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 |
What will happen if we generate GDG (+2) version without generating (+1) version?
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.
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??
what is meaning by design document? who can repared for this?
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
i want to enter the name 'pandu' into ur table how?
How to read the last 100 records from a COBOL file. The file contains N number of records.
what are the error codes in cobol, db2, cics, vsam , and jcl
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
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
What are the differences bitween cobol and cobol-2?