Create an SQL Query Window profile that specifies SAMPLE.LOOKUP
as the automatic lookup table as follows. Select
ProfileSet Preferences.
Select the right arrow
next to Automatic Lookup to display the
Set Lookup SAS
Data Set for Preferences window.
Select the right arrow
next to the
Library field. Select
SAMPLE from the Libraries list and select
OK. Select
OK to return to
the
Preference Settings for Profile window.
Select the right arrow
next to Data Restrictions to display the
Data Restrictions
for Profile window. Select
SAMPLE from the Table Sources list. Select
Add entire Table
Source to preferences from the pop-up menu that appears.
Select
WORK from the Table Sources list.
Select
Add entire Table Source to preferences from the pop-up menu that appears.
Note: If you do not have write
access to the SAMPLE library, then repeat the previous step for the
SASUSER library.
Select
OK to return to the
Preference Settings for Profile window.
Select
Save to save your new profile setting. Type
LOOKUP
in the
Entry Name field of the
Name Catalog Entry for Profile window. Type
Slider Bar for Salary Range
in the description field.
Select
OK to return to the
Preference Settings for Profile window. Select
Close.
From the
SQL QUERY TABLES window, select
ToolsSwitch to New Profile. The
Preference Profiles in Catalog window appears.
Select the right arrow
next to the
Profile Name field to display
a list of profiles. Select the
SASUSER.PROFILE.LOOKUP profile.
Select
OK to return to the
SQL QUERY TABLES window
and to complete the switch to the new profile.