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...

Determine the total no of bytes in the following.

01 rec1.
02 a pic x(6)
02 b redefines a.
03 c occus 6 times pic 9.
02 d occurs 6 times pic 9.
03 e pic x(5)
03 f pic 999.

Answer Posted / jayaprabhu

01 rec1.

02 a pic x(6)-------------------- 6 bytes
02 b redefines a.
03 c occurs 6 times pic 9.------ 6*1(pic 9 ie why we
have mul with 1 )------------------- 6 bytes
02 d occurs 6 times pic 9.------- (6*1) 6 bytes
03 e pic x(05)------------------- 5*6 =30 bytes
03 f pic 999. --------------------- 3*6=18

6
6
6
30
18

66

if you remove e f

18

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2496


Difference between cobol and cobol-ii?

1347


What are the various section in data division and briefly explain them.

1255


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

1298


What is static and dynamic call in cobol?

1117


Which is not true about evaluate statement

2515


Have you used comp and comp-3 in your project? And how?

2525


example for sub strings ? and refernce modifications whit output pls

2372


What are the pertinent COBOL commands?

3242


) How do u handle errors in BMS macro

2105


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

1248


Write some characteristics of cobol as means of business language.

1202


A table has two indexes defined. Which one will be used by the SEARCH?

1330


What type of SDLC u followed? Why?

2054


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2441