Find the output of the following code and also include the w
Find the output of the following code and also include the work which u has done? IDENTIFICATION DIVISION. PROGRAM-ID. OCT. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-DATA. 05 WS-N. 10 WS-N1 PIC9(3) VALUE32. 10 WS-N2 PIC9(4) VALUE58. 05 WS-C. 10 WS-C1 PICX(2) VALUE\'A1\'. 10 WS-C2 PICX(3) VALUE \'B1\'. 10 WS-RE RENAMES WS-N2 THRU WS-C2. PROCEDURE DIVISION. DISPLAY \"WS-RE;\" WS-RE. STOP RUN.
Solution
output:58 and B1
after using renames of WS-N2 and WS-C2 it use the reference memory of N and C
