Page 1 of 1

Readin VSAM sequentially.

Posted: Mon Feb 22, 2016 5:50 pm
by Kushal Tyagi
Hi -

If I read a keyed VSAM data set sequentially, what do I get? Will the keys appear as part of the data? Prefixed to the data?

I can understand it can sound like a trivial question but if you direct me to a manual I am open to that.

Re: Readin VSAM sequentially.

Posted: Mon Feb 22, 2016 6:41 pm
by Robert Sample
You didn't specify which language you want to use -- with COBOL, for example, you specify the key as part of the 01 FD and the key is returned as part of the record (which is what it is). Most languages will work like this.