Creates a new interface adaptor.
Available in a network database and requires the star$define role.
Parameters:
| Name | Optional | Type | Description |
| adaptor$ | Mandatory | Text | The name of the adaptor. |
| description$ | Mandatory | Text | A description of the adaptor. |
| check$ | Mandatory | Text | The function used to validate an adaptor configuration. |
| open$ | Mandatory | Text | The function used to open an adaptor session. |
| close$ | Mandatory | Text | The function used to close an adaptor session. |
| append$ | Mandatory | Text | The function used to append messages. |
| arguments$ | Mandatory | Text | List of arguments required for an adaptor configuration. |
Examples:
SELECT create_adaptor('myadaptor','my adaptor','mycheck','myopen','myclose','myappend','columns');
-- Creates a new adaptor called 'myadaptor'.
Tips:
- The star$adaptors view indicates which adaptors already exist.
Comments
Article is closed for comments.