Determine the total no of bytes in the following.
01 rec1.
02 a pic x(6)
02 b redefines a.
03 c occus 6 times pic 9.
02 d occurs 6 times pic 9.
03 e pic x(5)
03 f pic 999.
Answer Posted / milan kumar
a PIC X(6)-------------6B
b REDEFINES A ---------0B
IF WE REMOVE PIC CLUSE
D=( E PIC X(5)+F PIC 999)
D=(8B OCCURS 6 TIMES)
D----------------------48B
----------
TOTAL OF 54B
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
For rewrite, why is it mandatory that file needs to be opened?
What is the difference between Global and External Variables?
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.
What are various search techniques in cobol? Explain.
What is a scope terminator give example?
Write a program to explain size error.
In which area will you utilize 88 level items in cobol?
what is the use of outrecord?
What are different data types in cobol?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Write some characteristics of cobol as means of business language.
What is rmode(any) ?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is difference between static and dynamic call in cobol?
how do you reference the esds vsam file formats from cobol programs