How to read VSAM file using normal C program



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

How to read VSAM file using normal C program

Postby anandhakrishna » Wed Feb 13, 2013 3:46 pm

Guys,

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

Thanks
anandhakrishna
 
Posts: 6
Joined: Thu Feb 07, 2013 12:40 pm
Location: Chennai
Has thanked: 0 time
Been thanked: 0 time

Re: How to read VSAM file using normal C program

 

Re: How to read VSAM file using normal C program

Postby enrico-sorichetti » Wed Feb 13, 2013 4:00 pm

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 ???
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-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: How to read VSAM file using normal C program

Postby anandhakrishna » Wed Feb 13, 2013 5:05 pm

Ya . The reason is that am actual intension is to access records of VSAM from C.
Thereby let me start from PS files .

Thanks.
anandhakrishna
 
Posts: 6
Joined: Thu Feb 07, 2013 12:40 pm
Location: Chennai
Has thanked: 0 time
Been thanked: 0 time


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post