View previous topic :: View next topic
|
Author |
Message |
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
|
|
Hi folks
Tell me like how many bytes does OCCURS occupy for the below definition.
Code: |
05 emp-data occurs 02 times.
10 emp-data1 occurs 240 times.
15 emp-count-m pic s9(07) comp-3.
15 emp-count-m pic s9(07) comp-3. |
|
|
Back to top |
|
|
rohin
New User
Joined: 29 Apr 2005 Posts: 21 Location: Gurgaon, India
|
|
|
|
Hi,
I think it will take 3840 bytes.
S9(7) comp-3 ---> 4 bytes
S9(7) comp-3 ---> 4 bytes
total: 8 bytes
grand total: 2*240*8 = 3840 bytes
Plz tell me if i m wrong.
Regards,
Rohin |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi Rohin,
Thats a correct answer.
But can you please turn around?
I am sitting behind you.
Well, the world is really a very small place. |
|
Back to top |
|
|
|