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

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


LENGTH OF REC-A = 24 BYTES.

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1012


How many sections are there in data division in COBOL?

698


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

825


how do you reference the variable block file formats from cobol programs

701


what is search and searchall?what is the diffrence between them?give an best example?

5597






IF I mention stop run in CICS what happens?

1906


What are various search techniques in cobol? Explain.

662


What is the Purpose of Pointer in the string?

653


Write down the divisions of cobol program?

677


What are declaratives and what are their uses in cobol?

724


What type of SDLC u followed? Why?

1544


What are 77 levels used for?

663


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1126


How do you get the data to code the BMS macro?

1488


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

1857