Define a VSAM file in Unix.
-
- Registered Member
- Posts: 20
- Joined: Tue Aug 20, 2013 11:33 am
Define a VSAM file in Unix.
Hi All,
I am new to UNIX and shell service. I would like to know if we can define a VSAM file in Unix? And it will work similar way as in zOS environment? If it is not so then what is equivalent to VSAM KSDS on UNIX side?
I am new to UNIX and shell service. I would like to know if we can define a VSAM file in Unix? And it will work similar way as in zOS environment? If it is not so then what is equivalent to VSAM KSDS on UNIX side?
- enrico-sorichetti
- Global Moderator
- Posts: 843
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Define a VSAM file in Unix.
NOI would like to know if we can define a VSAM file in Unix?
NOT applicableAnd it will work similar way as in zOS environment?
NO equivalentIf it is not so then what is equivalent to VSAM KSDS on UNIX side?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Define a VSAM file in Unix.
VSAM data sets (only Unix has files on a system z) can ONLY be defined by IDCAMS which is not a Unix utility. VSAM data sets can be used in Unix System Services by a COBOL program, but it requires the program reference the VSAM data set through a DD name (which is distinctly not a Unix concept).
And VSAM data sets can be sequential (ESDS), relative (RRDS), keyed (KSDS) or linear -- which do you mean? Sequential files in Unix System Services are different from ESDS but work in the same way. The others don't have good equivalents in any Unix.
And VSAM data sets can be sequential (ESDS), relative (RRDS), keyed (KSDS) or linear -- which do you mean? Sequential files in Unix System Services are different from ESDS but work in the same way. The others don't have good equivalents in any Unix.
-
- Registered Member
- Posts: 20
- Joined: Tue Aug 20, 2013 11:33 am
Re: Define a VSAM file in Unix.
Thanks Robert.
I know some unix so initially I was thiking about an ESDS dataset; I should have made it clear in my first post. So basically there is just no equivalent but the "sequential file for unix" is equivalent to ESDS and for that matter sequential files too, right? (QSAM)
We are thiking to replicate an existing application in unix, that's why I am asking these questions...
I know some unix so initially I was thiking about an ESDS dataset; I should have made it clear in my first post. So basically there is just no equivalent but the "sequential file for unix" is equivalent to ESDS and for that matter sequential files too, right? (QSAM)
We are thiking to replicate an existing application in unix, that's why I am asking these questions...
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Define a VSAM file in Unix.
Well, as usual, it depends. If the ESDS has an alternate index defined on it, it is NOT the equivalent of a sequential data set.
-
- Registered Member
- Posts: 20
- Joined: Tue Aug 20, 2013 11:33 am
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