callr (Read Trigger) processing code

The callr (read trigger) is called when a record is read from the table.

System Processors N/A
Code Type File Defining
Dictionary Attributes Correlative
Note: Support for this function has been added for D3 Linux 9.2 and D3 AIX 10.2.

Syntax

callr file.spec module

Parameter(s)

file.spec Full path to the file containing the FlashBASIC code. The full path database,file, must be used (for example dm,bp,). file.spec can be omitted if the module has been cataloged in the Domain Catalog.
module Record-ID of the FlashBASIC module.
  • If the record is on file, the argument of the module is the record itself. The argument can be modified, and the application gets the modified record.

  • If the record is not on file, the argument content of the module and the value returned by access(3) are undefined.

The FlashBASIC access() functions are set as follows:

1 File variable.
2 Currently not supported.
3 Record body.
10 Record key.
11 File name.
12 Always 0.
16 1 if the record is not on file.
23 Always 1.