This command is used to raise an exception to the user. This command should only be used to absolutely stop a save from taking place. It throws a database exception that displays the brief text in Operand 1 along with the stack trace of where it came from.
In this sample before an employee can apply for any postings until a phone number is added to the profile. If no phone number is provided than the application will not be created and the candidate will be issued an exception containing the value of Operand 1.
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00010 | LET | V | PHONE | EQNL | DB | RCA.PHONE_NUMBER | A | (999) 999-9999 | 99999 | |
00100 | IF | V | PHONE | EQ | A | 9999 | 00200 | |||
00200 | STOP | A | Please Provide a contact number before applying | 99999 | ||||||
99999 | EXIT |
Screen captures are meant to be indicative of the concept being presented and may not reflect the current screen design.
If you have any comments or questions please email the Wiki Editor
All content © High Line Corporation