The CLP Procedure |
Macro Variable _ORCLP_ |
The CLP procedure defines a macro variable named _ORCLP_. This variable contains a character string that indicates the status of the procedure. It is set at procedure termination.
If the CLP procedure terminates successfully, the _ORCLP_ character string has one of the following formats:
STATUS=SUCCESSFUL SOLUTION=INFEASIBLE
PROC CLP successfully detected that the problem is infeasible.
STATUS=SUCCESSFUL SOLUTIONS_FOUND=n
PROC CLP found n solutions, where n can be zero.
STATUS=SUCCESSFUL SOLUTION=TIMEOUT SOLUTIONS_FOUND=n
PROC CLP successfully terminated due to the MAXTIME= parameter and found n solutions, where n can be zero.
If the CLP procedure terminates unsuccessfully, the form of the _ORCLP_ character string is STATUS=ERROR_EXIT REASON=message, where message can be one of the following:
BADDATA_ERROR
MEMORY_ERROR
IO_ERROR
SEMANTIC_ERROR
SYNTAX_ERROR
CLP_BUG
UNKNOWN_ERROR
This information can be used when PROC CLP is one step in a larger program that needs to determine whether the procedure terminates successfully or not. Because _ORCLP_ is a standard SAS macro variable, it can be used in the ways that all macro variables can be used.
Note: This procedure is experimental.
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.