Generating Score Code for PROC SEVERITY Models

The %MM_Severity_Create_Scorecode macro generates score code for PROC SEVERITY models. Inputs to the macro are the ODS output data sets ParameterEstimates and ModelInformation that are created by the SEVERITY procedure. You can also specify the location to save the score code and other macro output files, and the prefix value for the dependent variable.
Custom distributions and BY-group processing are not supported by the macro.
After you have created the score code, you can register the score code and other SEVERITY procedure model component files by using the $AA_Model_Register macro or you can import the model using the local files method. For more information, see Using Macros to Register Models Not Created by SAS Enterprise Miner and Import SAS Code Models and R Models Using Local Files.