Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > SUPPRESS_RETRY()

 

 

Purpose

SUPPRESS_RETRY() tells the system to stop trying to read a locked record and to continue processing.
 

Syntax

SUPPRESS_RETRY()
 

Remarks

Normally, if the system attempts to read a locked record on a secondary file read of a field, it will keep trying to obtain a lock.  This command tells the system to stop trying.

This command is designed for Lock Logic.  When the SUPPRESS_RETRY command stops the reading of a locked record, the system will process the read as a record not available or not found and display its error message. 

To prevent the system from displaying its message, either use DSELF to deselect the record or use MSG to display a customized message. 

Example

SUPPRESS_RETRY()
 

Comment on this topic

Topic ID: 520123