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 is soc7 abend?how u can trace it?

4 Answers   Accenture,


i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?

12 Answers  


How many maximum number of procedures can we write in one COBOL program?

6 Answers  


01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?

6 Answers   L&T,


How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?

4 Answers  






what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?

9 Answers   TCS, Tech Mahindra,


i have variable record in the 5th, i want to sort from 5th filed ? how ?

2 Answers   TCS,


input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.

6 Answers  


What is reference modification? What is UNION in sql and syntax? What is the difference between GDGS and VSAM? Which is prefer one? What is processing groups in endevor?

1 Answers   Kuwait Oil Company,


File status must be checked both while opening and reading the file or only while reading the file?

2 Answers  


What is the usage of comp fields in cobol?

0 Answers  


How to convert bunch of words in a line to relvant ASCII values?

2 Answers  


Categories