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 is soc7 abend?how u can trace it?
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
How many maximum number of procedures can we write in one COBOL program?
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 ?
How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?
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?
i have variable record in the 5th, i want to sort from 5th filed ? how ?
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.
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?
File status must be checked both while opening and reading the file or only while reading the file?
What is the usage of comp fields in cobol?
How to convert bunch of words in a line to relvant ASCII values?