&APS-LAST-STATUS

Holds the generation status since the last % SET LAST-STATUS statement executed. Use this rule to determine the success or failure of a statement sequence. For the global status of the generator process, use &APS-STATUS.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Syntax:

&APS-LAST-STATUS

Aliases:

&aps-last-status     &Aps-Last-Status
&apslaststatus       &ApsLastStatus
&APSLASTSTATUS

Comments:

To reset the &APS-LAST-STATUS built-in function to zero, use % SET-LAST-STATUS.

Example:

Sample generated values:

&APS-LAST-STATUS  = 0
&APS-LAST-STATUS  = 8