Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The ASSIGN Procedure

Macro Variable _ORASSIG

On termination, the ASSIGN procedure defines a macro variable named _ORASSIG. This variable contains a character string that indicates the status of the procedure on termination and gives the objective value at termination. The form of the _ORASSIG character string is

      STATUS=charstr OBJECTIVE=objective

where charstr can be any one of the following:

This information is useful when PROC ASSIGN comprises one step in a larger program that needs to identify just how the ASSIGN procedure terminated. Because _ORASSIG is a standard SAS macro variable, it can be used in the ways that all macro variables can be used. See the SAS Guide to Macro Processing for more information. Example 2.2 illustrates the method to write the _ORASSIG variable to the log.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.