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

The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290

4 Answers   TCS,


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

2 Answers   IBM, Steria,


What is the difference beetween Arrays and Tables in Cobol? please dont give the answer that arrays in cobol terminology is called tables......

3 Answers   BirlaSoft,


wht happens if we dnt give scope terminator ?

4 Answers   TCS,


can we use COPY statement in w-s section? how?

3 Answers  


What are decleratives in COBOL ?

1 Answers   Xansa,


Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.

5 Answers   EDS,


Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???

5 Answers   IBM,


What is the difference between SEARCH and SEARCH ALL? What is more efficient?

9 Answers   IBM, iFlex, Wipro,


I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.

1 Answers   L&T,


how will u pass dadta to cobol+db2 program...?

4 Answers   IBM,


Can we access the a[0] in the array ?

6 Answers   DCL, IBM,


Categories