How many bytes will be allocated for the following record
description
entries?
01 REC-A.
05 A PIC S9(4).
05 B PIC XXXBXXX.
05 C PIC ____9.99.
05 D PIC S9(5) COMP-3.
05 E PIC 9(3) COMP.

Answer Posted / ezhil_18

@ above

COMP3 data require always requrie n+1/2 bytes. here 5+1/2
takes only 3 bytes not 4 bytes.

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the difference is between continue and next sentence?

659


What are the different types of condition in cobol and write their forms.

658


How do u write test cases?

1635


Write a cobol program making use of the redefine clause.

731


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

742






What are the different rules of SORT operation?

698


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1906


What is the LINKAGE SECTION used in COBOL?

889


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

856


What is the difference between a binary search and a sequential search what are the pertinent cobol?

735


Differentiate between structured cobol programming and object-oriented cobol programming.

667


What is static and dynamic call in cobol?

594


Can a Search can be done on a table with or without Index?

802


What is the difference between comp and comp-3?

700


What are different data types in cobol?

689