Setup tab

The Setup tab allows mapping of datasets and scripts to the object. The Mappings panel(s) of the Setup tab for the dataset displays the column headers specified in the script file. When SAS Script is selected in the Setup tab, the Text panel allows mapping of the file to the object and viewing of the script itself.

Map the data by dragging the dataset from the Data folder to the Setup tab or use the icon_select_source icon in the Setup tab. Once a dataset is mapped, use the option buttons in the Mappings panels to assign the columns in the dataset to the appropriate context associations. Required mappings are colored orange.

Once a dataset is mapped, use the option buttons in the Mappings panels to assign the columns in the dataset to the appropriate context associations. Required mappings are colored orange.

How dataset Mappings panels are defined in SAS scripts

For a SAS script to work in the SAS Shell object, a “/*WNL_IN*/” comment must be added. When the script is parsed, the SAS Shell object will recognize this line in the script as defining the data input. For example:

     libname indata XPORT “input.xpt”; 
     /*WNL_IN Subject Time Concen*/proc copy in=indata out=work; 
     run;

The indata library reference name is used by the SAS Shell object for mapping the input dataset.

Notice that this example code has column names listed in the comment: Subject, Time, and Concen. The SAS object will use these as context headings in the Mappings panel of the Setup tab. Not all SAS scripts define or use mapping contexts. If the /*WNL_IN*/ comment does not define any mapping contexts, then there are no mapping options available in the Mappings panel.

When the script containing the example lines of code shown above is submitted to SAS during execution of the object, the dataset mapped to indata will be converted to a SAS transport file named input.xpt and copied to the temporary work directory where SAS will perform any other processing steps outlined in the script file.


Legal Notice | Contact Certara
© Certara USA, Inc. All rights reserved.