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

05 A PIC S9(4). = 4
05 B PIC XXXBXXX. = 7
05 C PIC ____9.99. = 4
05 D PIC S9(5) COMP-3. = 3
05 E PIC 9(3) COMP. = 2
-------
20
-------

Is This Answer Correct ?    23 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

651


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2019


Whats the difference between search & search ALL?

5288


What is the Purpose of Pointer in the string?

649


What is an in line perform? When would you use it? Anything else you wish to say about it.

651






Write a cobol program making use of the redefine clause.

742


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1620


Explain what you understand by passing by value.

709


What is static and dynamic call in cobol?

601


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1030


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

899


how do you reference the ksds vsam file formats from cobol programs

671


How to print 10 to 1 if the input have only 10 digit number?

821


How do you define a variable of comp-1 and comp-2?

709


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

1274