View previous topic :: View next topic
|
Author |
Message |
meetsrk
New User
Joined: 13 Jun 2004 Posts: 85
|
|
|
|
Hi,
I would like to define a variable with OCCURS something like we do in cobol .. and also a group variable.
Example in Cobol
01 GROUP-A.
05 ITEM-A PIC X(2) OCCURS 20 TIMES. |
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
Code: |
GROUP-A W 80 A
ITEM-A GROUP-A 2 A OCCURS 20
|
|
|
Back to top |
|
|
meetsrk
New User
Joined: 13 Jun 2004 Posts: 85
|
|
|
|
Thanks for responding ...
how will i do if i have more items a groups without any occurs ?
Like something in COBOL
01 Group-A.
05 Item-a Pic x(5)
05 Item-b Pic x(5)
05 Item-c Pic x(5)
is this possible in eztreive |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Yes. |
|
Back to top |
|
|
|