Loading...
Searching...
No Matches
mpe_x_test.some_num.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Generic validator for libraries
4 @details The input table is simply one row from the target table in table
5 called "work.source_row".
6
7 Available macro variables:
8 @li DC_LIBREF - The DC control library
9 @li LIBDS - The library.dataset being filtered
10 @li VARIABLE_NM - The column being filtered
11
12
13 <h4> Service Outputs </h4>
14 Output should be a single table called "work.dynamic_values" in the format
15 below. display_value should always be character, raw_value is unformatted
16 character/numeric.
17
18 |DISPLAY_VALUE:$|RAW_VALUE:??|
19 |---|---|
20 |$44.00|44|
21
22 <h4> SAS Macros </h4>
23 @li dc_getlibs.sas
24
25
26**/
27
28proc sql;
29create table work.DYNAMIC_VALUES as
30 select distinct cats(some_num) as display_value,
31 some_num as raw_value
32 from &libds
33 order by 1;
34
35