Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Alternate Index of a ESDS file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
subdalal

New User


Joined: 27 Sep 2010
Posts: 21
Location: Boudh

PostPosted: Mon Feb 04, 2013 11:13 am    Post subject: Alternate Index of a ESDS file
Reply with quote

We can create an Alternate Index of a ESDS file.
But for creating an Alternate Index we require a Primary key and an Alternate key.

But ESDS file does not have a Key.

Please guide me I am lost..
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2445
Location: Netherlands, Amstelveen

PostPosted: Mon Feb 04, 2013 12:08 pm    Post subject:
Reply with quote

The AIX key is just a field in the ESDS base cluster and has nothing to do
if the base is keyed.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Mon Feb 04, 2013 12:48 pm    Post subject: Reply to: Alternate Index of a ESDS file
Reply with quote

Create a small KSDS. Create a small ESDS. Same size records on both, same data in both. Build an Alternate Index on each. "PRINT" the Alternate Indexes and look at the output. Reflect upon what you notice.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Mon Feb 04, 2013 1:22 pm    Post subject: Reply to: Alternate Index of a ESDS file
Reply with quote

see here for my TESTED snippets which show how and what
http://www.ibmmainframes.com/viewtopic.php?t=29269&highlight=esds+aix+path
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Mon Feb 04, 2013 2:46 pm    Post subject: Reply to: Alternate Index of a ESDS file
Reply with quote

Well, enrico, that's comprehensive :-)

subdalal,

Just make sure you go through it all and understand it. If you don't understand, ask.
Back to top
View user's profile Send private message
subdalal

New User


Joined: 27 Sep 2010
Posts: 21
Location: Boudh

PostPosted: Tue Feb 05, 2013 1:06 pm    Post subject:
Reply with quote

Thanks..@Bill, @Enrico, @Peter. I got it.
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 ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us