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

Using a file as alternate index without defining it as AIX


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
siddhuhandsome

New User


Joined: 28 Feb 2004
Posts: 12
Location: Hyderabad

PostPosted: Tue Jun 01, 2004 8:24 am
Reply with quote

Hi everyone,

I have a doubt.
In our application, we have two datasets SERVICEADDRESS
and SERVICEALTX.
Physically the SERVICEALTX dataset is not defined as an AIX but logically am using it as an alternate index to the SERVICEADDRESS dataset.
SERVICEALTX is defined as a vsam ksds cluster.
Can someone explain how this is possible. Without defining an AIX, without relating it , without building a path. How is this possible?

The key in the SERVICEALTX is account number which is a part of SERVICEADDRESS. But both these are not related. Both are separate clusters.

icon_eek.gif
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Tue Jun 01, 2004 12:36 pm
Reply with quote

1 did u do a listc that would confirm your saying.
2 I believe this may be feasible thru programming e.g have the two datasets used in the app.
Back to top
View user's profile Send private message
siddhuhandsome

New User


Joined: 28 Feb 2004
Posts: 12
Location: Hyderabad

PostPosted: Tue Jun 01, 2004 1:34 pm
Reply with quote

Snapshot of ListC for SERVINDX
ASSOCIATIONS
DATA-----$3S000.F001.SERVINDX.DATA
INDEX----$3S000.F001.SERVINDX.INDEX
DATA ------- $3S000.F001.SERVINDX.DATA
IN-CAT --- UCAT.CISCAT

Snapshot of Listc for SERVALTX

ASSOCIATIONS
DATA-----$3S000.F001.SERVALTX.DATA
INDEX----$3S000.F001.SERVALTX.INDEX
DATA ------- $3S000.F001.SERVALTX.DATA
IN-CAT --- UCAT.CISCAT

In the JCL where these two are defined, I found that they are defined as clusters. Also it is evident from the listc as above, that both are independent datasets. I don't understand how they both are being used in such a manner.
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Mon Jun 07, 2004 4:22 pm
Reply with quote

hello,

sorry for the delay...

u should do a listc ent(/) all on the path dataset (it is the link between cluster and alternate index yes that's what a path is 4)
Back to top
View user's profile Send private message
siddhuhandsome

New User


Joined: 28 Feb 2004
Posts: 12
Location: Hyderabad

PostPosted: Tue Jun 08, 2004 11:12 pm
Reply with quote

Hi,

I have done the LISTC ENT(/) ALL. But to show it in short I took the snapshot of the datasets dependents.

Also there is no path for the dataset. So I cannot try the listc ent(/) all for the path dataset.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Jun 09, 2004 7:14 am
Reply with quote

Hi Sid,

That technique was used quite often in the days before VSAM and ISAM using direct datasets.

It's still used today when performance of the VSAM ALT INDEX processing is an issue.

The pgmr assumes responsibility for the coding to implement the technique. We used to call it "RYO" (roll your own).

Regards, Jack.
Back to top
View user's profile Send private message
siddhuhandsome

New User


Joined: 28 Feb 2004
Posts: 12
Location: Hyderabad

PostPosted: Sat Jun 12, 2004 2:52 am
Reply with quote

Hey Jack,

Thanks for your response

Regards,
Siddhu
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
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
Search our Forums:

Back to Top