&APS-STATUS

Holds the global status of the generator process. This value is identical to the return code that the generator returns. The value increases monotonically throughout processing as the generator encounters progressively more serious errors.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Syntax:

&APS-STATUS

Aliases:

&aps-status     &Aps-Status
&apsstatus      &ApsStatus
&APSSTATUS

Comments:

Unlike &APS-LAST-STATUS, you cannot reset or decrease the value of &APS-STATUS.

Examples:

When a program starts, MFG generates:

&APS-STATUS  = 0

After a % SET ERROR, MFG generates:

&APS-STATUS  = 8