IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Syntax for VSAM File Re-organisation


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
madhugoodboy

New User


Joined: 24 Jan 2006
Posts: 12

PostPosted: Wed Sep 26, 2007 6:13 pm
Reply with quote

Can Anybody explain how do we re-organise the VSAM file , and also let me know the SYNTAX of the same. Which would be great help for me.

Madhu .
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Sep 27, 2007 12:34 am
Reply with quote

You can use either IDCAMS REPRO or IDCAMS EXPORT/IMPORT

As for the syntax, that is readily available in the VSAM manual reached by clicking the manuals link at the top of this page.

Depending on the DASD configuration in use, you will gain nothing if you are using RAID 6 DASD, except in the case where you are approaching the limit of extents allowable for you VSAM cluster.

If you use RAID 5 DASD, then you may see a performance improvement, although unlikely with the speed and performance of modern DASD subsystems.
Back to top
View user's profile Send private message
silentarya

New User


Joined: 11 Mar 2007
Posts: 35
Location: Chennai

PostPosted: Thu Sep 27, 2007 4:56 pm
Reply with quote

Have never tried it ... However, remember reading the following steps somewhere for reorganising the VSAM files ...

1... Copy the data to a flat file ...
2... Delete the VSAM file ....
3... Create the VSAM file back....
4... Copy the data from the flat file to VSAM File ...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top