Page 1 of 1

How to read VSAM file using normal C program

PostPosted: Wed Feb 13, 2013 3:46 pm
by anandhakrishna
Guys,

How to read VSAM file using normal C program.
Kindly let me know th idea for me to continue .

Thanks

Re: How to read VSAM file using normal C program

PostPosted: Wed Feb 13, 2013 4:00 pm
by enrico-sorichetti
You have already three topic going on on the same subject

there is no reason for anybody to rewrite what is clearly explained in the manual

z/OS V1R11.0 XL C/C++ Programming Guide z/OS V1R10.0-V1R11.0
which contains a WORKING example

start from ...
http://www-03.ibm.com/systems/z/os/zos/ ... index.html
and navigate to the bookshelf related to the level of Your zOS

and look at the dataset
CBC.SCCNSAM
for the related sources

but Your approach is jumping too far ahead
why not start with a simpler thing before jumping to VSAM
reading and writing plain PS files first ???

Re: How to read VSAM file using normal C program

PostPosted: Wed Feb 13, 2013 5:05 pm
by anandhakrishna
Ya . The reason is that am actual intension is to access records of VSAM from C.
Thereby let me start from PS files .

Thanks.