new guy again.
Now I need to define a table in the VSAM file def area.
Never done it and there are not too many examples. And the admins of this site might want to allow a search on "TABLE" as it gives an error that it is too common of a word.
Anyway...
As an example:
FILEIN VS
KEY 1 20 A
FILL 21 100 A
DATA-TABLE 101 201 A OCCURS 10
STUFF1 101 1 A INDEX INDX
STUFF2 102 8 A INDEX INDX
STUFF2 109 2 A INDEX INDX
What I need to know is is the above correct?
Then if I want to examine STUFF2 do I just cycle through the table using INDX by adding +1 to INDX and it moves to the next STUFF2 even though I have only defined as being in position 102?
Thanks again.