Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Selecting a row from multiple tables! Vignesh Sid DB2 2 Thu Oct 26, 2017 6:09 pm
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts Identify top 30 big tables or indexes... ashek15 DB2 0 Fri Jun 16, 2017 10:01 am
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us