11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

trigname Name of the globally cataloged subroutine.<br />

execstat Execution status returned by the trigger subroutine. Valid values for this<br />

include:<br />

0 – Delete is not allowed.<br />

1 – Delete is allowed.<br />

dictflag “DICT” – Indicates that the trigger is operating on the dictionary file.<br />

“” – Indicates that the trigger is operating on the data file.<br />

The quotation marks are required.<br />

filename Name of the file the trigger is operating on.<br />

record.ID.expr Record to be deleted.<br />

SUBROUTINE Delete Trigger Parameters<br />

STATUS Function Return Values<br />

After you execute a trigger subroutine, the STATUS function returns one of the<br />

values described in the following table.<br />

SUBROUTINE (Delete Trigger) 1-885

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!