Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Syntax for VSAM File Re-organisation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Syntax for VSAM File Re-organisation
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: 8593
Location: Back in jolly old England

PostPosted: Thu Sep 27, 2007 12:34 am    Post subject:
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    Post subject: Reply to: VSAM File Re-organisation .
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 0 Tue Jan 17, 2017 4:26 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us