NC92 Statement  
Previous  Top  Next

Description  
 
The routine executes any default or validation statement in executable format.  

Syntax  
 
NC92 default and validation routine  
 
Uses the common area to pass the required processing information:  

Common Variable
Description of how the variable is used
Range
Param
Multi-value position 1 = "0" for a default or "1" for a validation.
0 or 1

Multi-value position 2 is the default/validation statement.

VALUE
Contains the data to be validated or returns the data from the default evaluation.

Rtnflg
Returns "0" if successful or "1" if unsuccessful validation

EMSG
(i.e. PARAMS(4)) - Returns any relevant error message

ENDIT
Returns "1" if the field entry is to be skipped

REDISP
Returns according to the expression