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: 2453
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

Senior Member


Joined: 14 Mar 2007
Posts: 10479
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 To remove spaces from a VB file using... Selvarajars DFSORT/ICETOOL 5 Thu Jun 21, 2018 6:57 pm
No new posts B059 PREMATURE END OF FILE mvmadhuvenkatesh CA Products 5 Tue Jun 19, 2018 10:50 am
No new posts Formating output file Niki DFSORT/ICETOOL 3 Fri Jun 15, 2018 3:27 pm
No new posts Need help on TDQ load from file using... subratarec CICS 4 Wed Jun 13, 2018 11:32 pm
No new posts How to Count a particular record in a... Mounika Nemani DFSORT/ICETOOL 5 Tue May 29, 2018 1:07 pm

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