Date: Tue, 30 Jul 1996 15:47:20 -0400
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "Michael A. Raithel" <MICHAEL.RAITHEL@RAITHM49.CUSTOMS.SPRINT.COM>
Subject: Re: INDEX question
Don Ploch asks:
>I'm trying to create an INDEX to use with a BY expression. I use the
>INDEX CREATE variable;
>I can't seem to satisfy the SAS system with the datasetname. The 6.0
>manual is no help. I'm using SAS on a UNIX system, version is 6.0x.
I have had considerable experience with SAS Indexes in the MVS
environment, but none in UNIX. Because the SAS System for Information
Delivery is supposed to be portable, I believe that the syntax is
(pretty much) the same on both platforms. If so, then you are missing
the PROC DATASETS statement.
I would like to suggest that you code:
PROC DATASETS LIBRARY=libref;
INDEX CREATE variable;
The above code assumes that you have a libref already assigned, and that
your target datasetname exists within the SAS Data Library the libref
I think that this code should put you squarely in Indexville!
I hope that this suggestion proves helpful now, and in the future!
Of course, all of these opinions and insights are my own, and do not
reflect those of my organization or my associates.
Michael A. Raithel
Author: Tuning SAS Applications in the MVS Environment
I would gladly be a dog, barking up the wrong tree...