Page History
...
3. Give the Built-In Function a name. Use something that even a non-programmer would understand. Prefix your own (User Defined) BIFs with 'UD_' and Other Vendor BIFs with 'OV_' for easy identification as described in RDML Naming Conventions.
4. Give the function a name. If the RDML BIF is to be distributed, this name must be as documented under naming conventions. If the BIF name is less than 7 characters and this is a User Defined BIF, then the function name could be the same as the BIF name. Refer to the RDML Naming Conventions if necessary.
5. Complete a Built-In Function definition form. Use either the one that is described later in this manual, or one that you have designed yourself.
| Note |
|---|
Note: This step is not compulsory but it is a good idea if this is your first Built-In Function. It is meant as an aid to translating your Built-In Function design into the RDML necessary to cause LANSA to define it for you. If this data is incorrect, then the Built-In Function may not work as expected. |
6. Code your function. Use the BBRDMLBIF template supplied to assist with initial coding of the BIF definition, arguments and return values.
The application template called BBRDMLBIF will generate the function skeleton for an RDML Built-In Function. The RDML that is generated follows the recommendations in RDML Built-In Function Tips and Techniques.