what is qualification on occurs clause?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what you understand by passing by value.

700


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1523


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1783


What is rmode(any) ?

686


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2117






What is a scope terminator give example?

657


HOw can I get the negative sign while deduct high value from low value

1790


Which Search verb is equivalent to PERFORM…VARYING?

685


How do define dynamic array in cobol.

671


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1906


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2058


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

676


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17039


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1876


What are the different rules for performing sort operation?

763