Previous Topic: RUNPRCSS Macro

Next Topic: SETSTATE Macro

SETRC Macro

The SETRC macro sets the process return code.

Parameters: SETRC Macro

Return Code

Specifies the value that is returned by a macro when each process step is completed. This is the trigger for the next step to begin, provided that any specified conditions are met.

Limits: A number from 0 through 99

Example: SETRC Macro

In the following example, the SETRC macro is used to set the return code to 21.

PROD------ Automation Services : SETRC Macro Parameter Definition ------------- Command ===> Function=BROWSE .- Return Code ---------------------------------------------------------------. | | | Return Code .... 21 (Enter a number between 0 and 99) | | | ’-----------------------------------------------------------------------------’