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

Explain how to differentiate call by context by comparing it to other calls?

679


Why would you use find and get rather than to obtain?

677


What is link edit in cobol?

736


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

671


What kind of error is trapped by on size error option?

734






) how do u code after getting data?

1576


What are the pertinent COBOL commands?

2618


Name the divisions, which are available in a cobol program?

676


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.

923


How to remove 2 duplicate records and copy only one using job control language?

731


Name some of the examples of COBOl 11?

2673


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1921


What is Pic 9v99 Indicates in COBOL?

716


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

806


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8147