IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Occurs and Group in Eztrive


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
meetsrk

New User


Joined: 13 Jun 2004
Posts: 85

PostPosted: Tue Dec 11, 2007 11:13 pm
Reply with quote

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
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Wed Dec 12, 2007 12:13 am
Reply with quote

Code:
GROUP-A     W   80 A
ITEM-A  GROUP-A  2 A  OCCURS 20
Back to top
View user's profile Send private message
meetsrk

New User


Joined: 13 Jun 2004
Posts: 85

PostPosted: Wed Dec 12, 2007 2:15 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Dec 12, 2007 2:56 am
Reply with quote

Hello,

Yes.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Compare latest 2 rows of a table usin... DB2 1
No new posts Updating a 1 byte thats in occurs mul... DFSORT/ICETOOL 6
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
No new posts Splitting group records based on deta... DFSORT/ICETOOL 8
No new posts SORT HELP - SORT A COLUMN and GROUP B... DFSORT/ICETOOL 9
Search our Forums:

Back to Top