can any one give good example for cond 88 level number and for renames pls urgent dudes ?

Answer Posted / mk naidu

sorry for the above one, pls check the below answer for
renames.

01 EMP-REC.
02 EMP-INFO.
05 EMP-NO PIC X(10) VALUE 'SACHIN'.
05 EMP-NAME PIC X(10) VALUE 'GUNTUR'.
02 EMP-ALLOWANCE.
05 HR PIC 9999 VALUE '1500'.
05 PF PIC 9999 VALUE '1000'.
66 EMP-SAL-ALLOWANCE RENAMES EMPNO THRU PF.
PROCEDURE DIVISION.
DISPLAY EMP-SAL-ALLOWACE.

o/p:- all details from emp-no to pf will be grouped as
EMP-SAL-ALLOWANCES and displayed.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6782


What are different data types in cobol?

676


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

812


What is difference between static and dynamic call in cobol?

766


What is static and dynamic call in cobol?

585






I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1794


What are declaratives and what are their uses in cobol?

698


what happens if parmparameter passes zero bytes to the program

1650


How do you get the data to code the BMS macro?

1468


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

619


) what is the difference between AID and HANDLE AID?

1626


Write a cobol program making use of the redefine clause.

719


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

666


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

1829


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

699