View previous topic :: View next topic
|
Author |
Message |
katherine-norada
New User
Joined: 29 Jan 2007 Posts: 1 Location: philippines
|
|
|
|
hi there!
i hope you can help me on how to convert a vsam file to a flat file.
thanks,
kat |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you want a sequential copy of the VSAM file, use the IDCAMS utility REPRO.
If you need some other kind of conversion, please specify. |
|
Back to top |
|
|
RKT
New User
Joined: 06 Nov 2006 Posts: 4
|
|
|
|
Any chance that you could throw together some JCL that works for a VSE system?
Thank you. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
RKT wrote: |
Any chance that you could throw together some JCL that works for a VSE system? |
Any chance you look at the IDCAMS manual and find an example that works? |
|
Back to top |
|
|
RKT
New User
Joined: 06 Nov 2006 Posts: 4
|
|
|
|
I've been trying to locate a manual with examples to no avail. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
RKT wrote: |
I've been trying to locate a manual with examples to no avail. |
Which manual, IDCAMS or VSE JCL? |
|
Back to top |
|
|
RKT
New User
Joined: 06 Nov 2006 Posts: 4
|
|
|
|
I would say IDCAMS for VSE if such a beast exists |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
This is available from IBM:
Quote: |
The IDCAMS utility program is part of IBM VSE/VSAM. Use IDCAMS commands to define VSE/VSAM files, catalog such files, and request many other IDCAMS functions:
Establish catalog(s)
Create data spaces
Create VSE/VSAM files and load records into the files
Build an alternate index for a file
Create backup copies of files and their associated catalog entries
Print, copy, or reorganize files
Delete files, data spaces, and catalogs
Alter file definitions and file attributes
Print catalog entries
Move catalogs and files from one system to another
Convert nonVSAM files to VSE/VSAM files
Recover from damage to files or catalogs
Verify command syntax
Merge two VSE/VSAM files |
While not specified in that list, there is much about REPRO in that manual.
It is from the "VSE/VSAM V6R4 User's Guide and Application Programming" manual. If i've done this correctly, the link is
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IESVGE00/CCONTENTS?SHELF=EZ2ZVM00&DN=SC33-6732-00&DT=19990426211356
If i've messed up, this is the publication number - SC33-6732-00.
Good luck |
|
Back to top |
|
|
RKT
New User
Joined: 06 Nov 2006 Posts: 4
|
|
|
|
Thank you very much. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
|