Readin VSAM sequentially.

Virtual Storage Access method - ESDS, KSDS, RRDS & LDS. Basic direct access method, Basic sequential -, Queued sequential -, Basic partitioned -, Indexed sequential -, Object - access method.
Post Reply
Kushal Tyagi
New Member
Posts: 1
Joined: Wed Aug 06, 2014 5:12 pm

Readin VSAM sequentially.

Post 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.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Readin VSAM sequentially.

Post 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.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.”