Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.

Answers were Sorted based on User's Feedback



How many bytes will be allocated for the following record description entries? 01 REC-A. ..

Answer / deepak

A-3
B-7
C-4
D-3
E-2

Is This Answer Correct ?    1 Yes 6 No

How many bytes will be allocated for the following record description entries? 01 REC-A. ..

Answer / suresh kumar

total 19 bytes, For furtyher expansion you can see deepaks
answer.

Is This Answer Correct ?    1 Yes 6 No

How many bytes will be allocated for the following record description entries? 01 REC-A. ..

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

How many bytes will be allocated for the following record description entries? 01 REC-A. ..

Answer / guest

Folloiwng will be space allocation:
A - 4
B - 7
C - 8
D - 3
E - 2

Total 24 bytes.

Is This Answer Correct ?    2 Yes 8 No

How many bytes will be allocated for the following record description entries? 01 REC-A. ..

Answer / anil

23 bytes

Is This Answer Correct ?    0 Yes 6 No

How many bytes will be allocated for the following record description entries? 01 REC-A. ..

Answer / guest

correct answer is 25 bytes.. since s9(5) comp-3 will take 4
bytes.. not 3 bytes

A-4
B-7
C-8
D-4
E-2

Is This Answer Correct ?    0 Yes 11 No

Post New Answer

More COBOL Interview Questions

How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?

4 Answers  


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.

0 Answers   Steria,


is this below syntax correct? CALL 'subprg' using A,B Please help

2 Answers  


What is SET TO TRUE all about, anyway?

5 Answers  


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

0 Answers   IBM,


ID DIVISION. PROGRAM-ID. PLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(2). 01 VAR2 PIC X(2). PROCEDURE DIVISION. ACCEPT VAR2. MOVE VAR2 TO VAR1. STOP RUN. if i give 'PI' in var2 then what will b output of progr. any abend?????

6 Answers   TCS,


What is level 66 used for ?

3 Answers   TCS,


What will happen if we try to create GDG (+2) generaton instead of (+1) generation?

1 Answers  


What is difference between comp & comp-4?

6 Answers  


I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?

3 Answers  


input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.

4 Answers  


how to transfer the file from pc to mainframe??

2 Answers  


Categories