Dynamic Prompts Make Data Cascading Easy - SAS Support

21 downloads 105 Views 773KB Size Report
create custom prompts that easily extract necessary information based on previously ... It will explain how the prompts
Paper 355-2009

Dynamic Prompts Make ; * Declare reserved server environment macro variables; %GLOBAL ORIGIN MAKE INVOICE; * Declare macro variables used by this program; %LET DATASET = &DATALIB..CARS; *ProcessBody;

5

%STPBEGIN; data a; format titledt dollar8.; titledt = &invoice; call symput('title',put(titledt,comma8.)); run; proc print data = &DATASET noobs label n; where (origin = "&origin" AND make = "&MAKE" AND invoice