Data Source Task
The data source selector task displays an Data tab with a dataset selector and a required variable selector. When a dataset and variable are selected global macro variables are created and set:
- dataset - the name of the dataset selected
- saslibrary - the SAS library name
- sastable - the name of the table selected
- var - the variable selected
An example of the generated code is:
%global DATASET;
%global SASLIBRARY;
%put DATASET=SASHELP.CARS;
%put SASLIBRARY=SASHELP;
%put SASTABLE=CARS;
%put VAR=EngineSize;