Link to home
Start Free TrialLog in
Avatar of hojohappy
hojohappy

asked on

How to view a VSAM file?

Are there any window 7 or 8 tools or software that will display the contents of a VSAM file?  I have a couple of VSAM files that were sent to me and need to see the contents.
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Many VSAM formats exist and files do not use ASCII coding standard obviously. So the method will depend on your data source.

You should find some ODBC driver (more info: http://msdn.microsoft.com/en-us/library/aa266490(v=vs.60).aspx) and open the file in MS Access etc.

Or (depending on the file size) just try to open the file in some text editor to see the garbage inside (don't save any changes please).

The best way is to ask some mainframe programmer. You may also look for some viewer as described e.g. here: https://groups.google.com/forum/#!topic/bit.listserv.ibm-main/eOvm7HODpdE
ASKER CERTIFIED SOLUTION
Avatar of aikimark
aikimark
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Athough you can view the  VSAM file with notepad, you will need the program that created the VSAM file to understand what it contains.
you will need the program that created the VSAM file to understand what it contains
Not quite. You need the meta-data, data dictionary, COBOL data section(s), or a description of the data at sufficient level/detail to understand and use the data.  Knowing about the application that wrote the data can help you, but isn't necessary.  For instance, if the VSAM file was from a DB2 system, we might use the documented page layout to help us calculate the start of each record in the 4K block.