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
 

 

Using a file as alternate index without defining it as AIX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Using a file as alternate index without defining it as AIX
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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