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

building alternate index for a VSAM file


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

New User


Joined: 13 Feb 2007
Posts: 12
Location: Hyderabad

PostPosted: Fri Apr 24, 2009 3:31 pm
Reply with quote

Hi,

I have got a VSAM file in the system. I need to build an Alternate index file for that particular file.

Regards,
Pavan
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Apr 24, 2009 3:34 pm
Reply with quote

Go for it! icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Apr 24, 2009 4:12 pm
Reply with quote

pavankumarp wrote:
Hi,
I have got a VSAM file in the system. I need to build an Alternate index file for that particular file.
Regards,
Pavan

Is there a question somewhere in here or merely a statement of intent
Back to top
View user's profile Send private message
pavankumarp

New User


Joined: 13 Feb 2007
Posts: 12
Location: Hyderabad

PostPosted: Fri Apr 24, 2009 4:31 pm
Reply with quote

Hi,

a VSAM file was deleted from the system. so we have created the VSAM file.but our job requires the AIX file of this particular VSAM file. So i need to build this particular AIX file. just wanted to know as to how it can be build.any utility? or do i need to do it through a job and if yes then please help me as to how it can be done

Regards,
Pavan
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Apr 24, 2009 4:38 pm
Reply with quote

Once the base cluster is built, load at least one record into the file. Use IDCAMS to build the alternate index -- manual link at the top of the page if you need to know the command options -- then relate the two and build the path. You reference the AIX through its path, not directly to the AIX name.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Apr 24, 2009 9:11 pm
Reply with quote

Hello,

In addition to reviewing the manual, suggest you find the idcams job that was initially used to define the file as well as any alternate indexes. This same jcl and control statements should be used to create the replacement vsam.
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 How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top