View previous topic :: View next topic |
Author |
Message |
Maximus Beginner
Joined: 17 Nov 2005 Posts: 21 Topics: 11
|
Posted: Fri Sep 15, 2006 2:29 pm Post subject: array logic |
|
|
How do u represent the below array
explain with an example
Code: |
01 WS-LIST-TABLE.
05 WS-PARENT OCCURS 5 TIMES.
10 WS-CHILD OCCURS 300 times
15 WS-CHILD1 Pic 9(3) OCCURS 10 times
15 WS-CHILD2 Pic 9(3) OCCURS 10 times
10 WS-XYZ Pic 9(3) OCCURS 300 times
10 WS-ABC Pic 9(3) OCCURS 300 times
indexed by a1 a2 and a3 |
|
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
Posted: Fri Sep 15, 2006 8:50 pm Post subject: |
|
|
Maximus,
There can be 5 parents and each parent can have 300 children and 300 xyz and 300 abc. And for every child there can 10 children1 and 10 children2
Code: |
5 parents
|
|
---------------------------------------------------------------
| | |
300 child 300-xyz 300-abc
|
|
---------
| |
10 c1 10 c2
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|