Data Source

For the input data source, a Velocity variable is used to access information about the data. This variable is the same as the name attribute for the DataSource tag.
In this example, the input data source is given the name of DATASOURCE. As a result, the Velocity variable, $DATASOURCE, is created. When this script is run, the $DATASOURCE variable is checked to see whether an input data source has been assigned.
<DataSource name="DATASOURCE">
</DataSource>

...

<CodeTemplate>
   <![CDATA[
%put DATASET=$DATASOURCE;
%put SASLIBRARY=$SASLIBRARY;
%put SASTABLE=$SASTABLE;

...


%web_open_table($DATASOURCE);

]]>
</CodeTemplate>