View previous topic :: View next topic |
Author |
Message |
Anand_R Intermediate
Joined: 24 Dec 2002 Posts: 189 Topics: 60
|
Posted: Mon Jun 18, 2007 8:50 am Post subject: how do I copy the VSAM file that has 7 alternate indexes |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Mon Jun 18, 2007 9:05 am Post subject: |
|
|
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 |
|
|
Anand_R Intermediate
Joined: 24 Dec 2002 Posts: 189 Topics: 60
|
Posted: Mon Jun 18, 2007 9:22 am Post subject: |
|
|
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 |
|
|
expat Intermediate
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Tue Jun 26, 2007 12:01 pm Post subject: |
|
|
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 |
|
|
warp5 Intermediate
Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Wed Jun 27, 2007 1:00 am Post subject: |
|
|
Look at the Adrdssu untility and the SPHERE parameter. |
|
Back to top |
|
|
|
|