MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how do I copy the VSAM file that has 7 alternate indexes

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
Anand_R
Intermediate


Joined: 24 Dec 2002
Posts: 189
Topics: 60

PostPosted: Mon Jun 18, 2007 8:50 am    Post subject: how do I copy the VSAM file that has 7 alternate indexes Reply with quote

Hi,

I have a VSAM file that I need to copy which has 7 alternate indexes and I do not have definitions of that VSAM file ( either base or alternate indexex). Could some one tell me how do I make a copy using either fielaid online or batch utility. I have searched in the form but couldnot find anything relevant.

Thanks for your help
Anand
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Mon Jun 18, 2007 9:05 am    Post subject: Reply with quote

Anand_R,

Copy to a flat file or a VSAM file? How does it matter as to how many AI's are there for the cluster?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anand_R
Intermediate


Joined: 24 Dec 2002
Posts: 189
Topics: 60

PostPosted: Mon Jun 18, 2007 9:22 am    Post subject: Reply with quote

Kolusu,

I have to copy everhting including alternate indexes and paths established between alternate indexes and base cluster of the original file. When I use fileaid online 3.3 option, it copies only the cluster not alternate indexes and paths. Please let me know if I am not clear

Thanks
Anand
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Tue Jun 26, 2007 12:01 pm    Post subject: Reply with quote

You can get all the information you need from IDCAMS LISTCAT which will show you the file characteristics of the base cluster, the AIX's and PATH's.

All you need to do is to read the output and code the AIX and PATH defines, and then build the AIX's.

Have you tried looking in the manual at MODEL used in the DEFINE statements, that might help too.
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Wed Jun 27, 2007 1:00 am    Post subject: Reply with quote

Look at the Adrdssu untility and the SPHERE parameter.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group