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 / jai

01 rec1.
02 a pic x(6) == 6
02 b redefines a. == 6
03 c occus 6 times pic 9. == 6
02 d occurs 6 times.
03 e pic x(5) ==30
03 f pic 999. ==18
------
66

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between static and dynamic call in cobol?

777


how to refer the data field?

1812


What is the difference between external and global variables in COBOL?

815


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

934


what is the difference between COBOL2 AND COBOL390?

2454






how to move the records from file to array table. give with code example

2221


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

710


what is difference between cobol and cobol/400

21567


Write a program to explain size error.

677


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

2120


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1657


A table has two indexes defined. Which one will be used by the SEARCH?

759


What is the difference between goback, stop run and exit program in cobol?

932


Explain the configuration section of a cobol program with examples of syntax.

660


Explain how you can characterize tables in cobol?

638