Scoring Output

Scoring Output Table

When you run the %INDHN_RUN_MODEL macro, an output file is created in the database with the name that you specified in the macro’s OUTPUTTABLE= argument.
In addition to the input table columns, the %INDHN_RUN_MODEL macro generates a column for each Enterprise Miner output variable in the form of EM_outputvarname.
You can specify which columns are written to the output table by using the KEEP= argument of the %INDHN_RUN_MODEL macro.
For more information, see %INDHN_RUN_MODEL Macro Syntax.

Querying and Viewing the Scoring Output Table

Note: The %INDHN_RUN_MODEL macro does not generate a SampleSQL.txt file.
The columns in the output table are available to use in any SQL query expression. In these examples, the output table name specified in the %INDDN_RUN_MODEL macro OUTTABLE= argument is out_mymodel.
select * from out_mymodel;
select em_classification from out_mymodel;
The output table is written to an SAP HANA table. To use the output data in a SAS session, use a LIBNAME statement to access the table.
To view the output data in a SAS session, you can use PROC PRINT if you have a LIBNAME statement to access the SAP HANA output table.