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
What is difference between static and dynamic call in cobol?
how to refer the data field?
What is the difference between external and global variables in COBOL?
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.
what is the difference between COBOL2 AND COBOL390?
how to move the records from file to array table. give with code example
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 cobol and cobol/400
Write a program to explain size error.
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
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
A table has two indexes defined. Which one will be used by the SEARCH?
What is the difference between goback, stop run and exit program in cobol?
Explain the configuration section of a cobol program with examples of syntax.
Explain how you can characterize tables in cobol?