Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Total Size of this TABLE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
venkat_saragadam

New User


Joined: 21 Feb 2005
Posts: 3
Location: hydrabad

PostPosted: Mon Feb 21, 2005 3:38 pm    Post subject: Total Size of this TABLE
Reply with quote

Hi,
I am sending a question, plz send me answer with detail?
01 A
02 B occurs 10 times
03 C pic 999.
03 D occurs 15 times
04 E pic 999.
04 F occurs 20 times
05 G pic XXX.
05 H pic 99.
Determine the total no of byte in A.

thank you.
Back to top
View user's profile Send private message
References
PostPosted: Mon Feb 21, 2005 3:38 pm    Post subject: Re: Total Size of this TABLE Reply with quote

ovreddy

Active User


Joined: 06 Dec 2004
Posts: 200
Location: Keane India Ltd., Hyderabad

PostPosted: Wed Feb 23, 2005 5:05 pm    Post subject:
Reply with quote

Hi Venkat,

The total size of A is 15480. I think this is ACCENTURE Interview Question.

Bye,
Reddy.
Back to top
View user's profile Send private message
narena

New User


Joined: 16 Mar 2005
Posts: 20

PostPosted: Thu Mar 17, 2005 2:50 pm    Post subject:
Reply with quote

Hi,

The Total Size is 15480. How means

5*20=100
100+3=103
103*15=1545
1545+3=1548
1548*10=15480
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1