Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic VSAM file definition.

Status
Not open for further replies.

realdemp

Programmer
May 3, 2002
5
US
I am trying to write a general VSAM I/O module that can read and write any VSAM file. I tried to use address modification in the select statement and that didn't work. Do I have to write an Assembler module that messes with the ACB?

Is there anyone out there that has a way to do it all in COBOL?
 
Somewhere I saw an example how to do this, but you had to use calls to another program to to the reads and writes. All programs used a standard IO program. Basically you have one program with all the File definitions inside of it. This is why they designed the database. If you do not like my post feel free to point out your opinion or my errors.
 
Check for the article "Dynamic File Allocation with COBOL" by Ed Watson in the December 2001 issue of Technical Support Magazine ( it may have just the information you're looking for. If you can't find it, let me know, I have a copy around here someplace which I'd be happy to dig out and send you -- I just need to find it.

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top