Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Use of subscripts in Easytrieve tables.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
bijumon

New User


Joined: 14 Aug 2006
Posts: 20
Location: Pune,India

PostPosted: Thu Jul 26, 2007 7:03 pm    Post subject: Use of subscripts in Easytrieve tables.
Reply with quote

Hi,

I would like to know whether we can use subscripts in easy trieve tables, like:

if "EZT-TABLE" is an easytrieve table and say there are 10 occurences,
can i use
COUNT = 1
DISPLAY 'EZT-TABLE :' EZT-TABLE(COUNT)

Or do we need to use the index, i yes the how to use the index, if possible, please provide a sample code.
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Jul 26, 2007 7:17 pm    Post subject:
Reply with quote

Indexing is data reference that results when CA-Easytrieve/Plus derives a displacement value to correspond to a particular occurrence in a field name defined with the OCCURS option.
For example, if an occurring field is defined as:
DEFINE MONTHWORD MONTH-TABLE 9 A +
OCCURS 12 INDEX MONTH-INDEX

Subscripts are an alternate method available where CA-Easytrieve/Plus performs the index computation.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts Getting list of tables defined under ... kishpra DB2 2 Wed Aug 24, 2016 10:36 am
No new posts ISPF Tables Creation newsysprg TSO/ISPF 6 Wed Jul 13, 2016 2:21 pm
No new posts RACF Easytrieve Plus macro Susan Jackson CA Products 0 Fri Jun 03, 2016 8:25 pm
No new posts New DB2 tables creation kishpra DB2 3 Tue Feb 02, 2016 7:00 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us