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
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?
What are different data types in cobol?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is difference between static and dynamic call in cobol?
What is static and dynamic call in cobol?
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?
What are declaratives and what are their uses in cobol?
what happens if parmparameter passes zero bytes to the program
How do you get the data to code the BMS macro?
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)?
) what is the difference between AID and HANDLE AID?
Write a cobol program making use of the redefine clause.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?