Chapter Contents |
Previous |
Next |
Form Data Model: _preterm |
Syntax | |
Details |
Syntax |
CALL SEND (model-id, '_preterm', return-code); |
Argument | Type | Description | |
---|---|---|---|
return-code |
N | returns a code indicating to the caller whether normal termination should be allowed | |
0 | termination is allowed | ||
not 0 | termination should not be allowed |
Details |
The viewer calls the model's _preterm method from the viewer's _preterm method. The viewer's _preterm method is called immediately before the frame SCL's term label runs.
If return-code is set to 0 by the model _preterm method, the viewer assumes that normal termination is allowed. If return-code is set to a nonzero value by the model _preterm method, the viewer assumes that normal termination is not allowed and sets status to resume. This means that the frame does not terminate but continues execution. For example, the model should not be configured to allow termination if there are data in error.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.