The CPM Procedure |
The CPM procedure defines a macro variable named _ORCPM_ . This variable contains a character string that indicates the status of the procedure. It is set at procedure termination. The form of the _ORCPM_ character string is STATUS= REASON=, where STATUS= is either SUCCESSFUL or ERROR_EXIT and REASON= (if PROC CPM terminated unsuccessfully) can be one of the following:
This information can be used when PROC CPM is one step in a larger program that needs to determine whether the procedure terminated successfully or not. Because _ORCPM_ is a standard SAS macro variable, it can be used in the ways that all macro variables can be used.
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.