Compiling and Deploying the Scoring Routine

You can deploy an RStat scoring routine in any application directory within your app path on any WebFOCUS server. The process of deployment includes compiling the routine and placing the executable file in a location that can be accessed by a WebFOCUS scoring application.

  1. Within Developer Studio, return to the Explorer window.
  2. Select RStat Model Deployment from the Command menu.

    Command menu list box

    The Model Deployment dialog box opens.

    Model Deployment dialog box

  3. Click Add to designate the C routine to be used as the deployment source.

    A file selection dialog box opens, automatically pointing to the app path defined as your default path in the model configuration options.

  4. Navigate to the app directory containing the routines to be deployed, and select the routines. You can use standard Windows multi-select options to select multiple routines to be deployed in a single step.

    Add list box

  5. Click Open.

    The selected files are displayed in the Deployment Source list and the Deployment Destination becomes available.

    Model Deployment Source List

  6. Navigate through the servers and application path to the desired deployment destination.

    Model Deployment dialog box

    Once you have selected an application directory, the Deploy button will become active.

  7. Click Deploy.

    Once the compile and deploy process is complete, the Deploy Status window opens.

  8. Verify that the deployment was successful, as shown in the following image.

    Deployment sucess dialog box

  9. Click OK on the Deploy Status window.
  10. Click Close to exit the Model Deployment.

WebFOCUS