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
 

 

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: 2422
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: 7255

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: 10211
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: 7255

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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Order BY AND Index Nileshkul DB2 2 Sat Dec 31, 2016 6:33 pm
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
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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