#ABORT (abort source generation) 

Top  Previous  Next

 

#ABORT

The #ABORT statement immediately terminates source generation by the previous #GENERATE statement. #ABORT may be placed in any template section.

Example:

#IF(%ValidRangeKey=%Null)

 #ERROR(%Procedure & ' Range Error: The range field is not in the primary key!')

#ABORT

#ENDIF

See Also:     #GENERATE