In SAS® 9.2, cascading prompts can be created for a SAS® Stored Process. A cascading prompt is a dynamic prompt that is dependent on another prompt.
A dynamic prompt is a prompt in which the set of possible values the user can select from is queried live at runtime from SAS (or any data source with which SAS converses). A cascading prompt is a dynamic prompt which subsets the values it displays based on the value of a previously answered prompt. Cascading prompts allow you to present large numbers of choices to users with a logical navigation progression. An example of a cascade would be:
As an example, you can create a cascading prompt using the following approach:
Name: prodtype Displayed Text: Product Type
Method for populating prompt: User selects values from a dynamic list
/Products/SAS Intelligence Platform/Samples/PRDSALE
Name: product Displayed Text: Product
Method for populating prompt: User selects values from a dynamic list
/Products/SAS Intelligence Platform/Samples/PRDSALE
For the dependent Prompt value, select Product Type.
For Dependency, select the default dependency:
Column: Product Type Operator: Contains Value of Prompt: Product Type
Note the values that are available for Product. The available values should be:
BED SOFA
Note the values that are available for Product. The available values should be:
CHAIR DESK TABLE
libname out "!sasroot\inttech\sample"; data out.prdsale; set sashelp.prdsale; run;
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS Integration Technologies | z/OS | 9.2 TS2M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M0 | |||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M0 | |||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M0 | |||
Microsoft Windows XP 64-bit Edition | 9.2 TS2M0 | |||
Microsoft® Windows® for x64 | 9.2 TS2M0 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M0 | |||
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M0 | |||
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M0 | |||
Microsoft Windows XP Professional | 9.2 TS2M0 | |||
Windows Vista | 9.2 TS2M0 | |||
64-bit Enabled AIX | 9.2 TS2M0 | |||
64-bit Enabled HP-UX | 9.2 TS2M0 | |||
64-bit Enabled Solaris | 9.2 TS2M0 | |||
HP-UX IPF | 9.2 TS2M0 | |||
Linux | 9.2 TS2M0 | |||
Linux for x64 | 9.2 TS2M0 | |||
OpenVMS on HP Integrity | 9.2 TS2M0 | |||
Solaris for x64 | 9.2 TS2M0 |
Type: | Usage Note |
Priority: |
Date Modified: | 2009-03-30 11:53:53 |
Date Created: | 2009-03-12 10:42:58 |