...
Element name | Element type | Description |
---|---|---|
read | Boolean | Set to True to allow records to be retrieved |
update | Boolean | Set to True to allow records to be updated |
delete | Boolean | Set to True to allow records to be deleted |
write | Boolean | Set to True to allow records to be inserted |
keyed | Boolean | Set to True to enable keyed record access. Otherwise records will be accessed by relative record number |
userOpen | Boolean | Set to True to enable user-controlled file open / close using the file.open() and file.close() methods. Otherwise the file will be opened automatically before this method returns and closed automatically when the calling function ends. |
infDS | String | Name of a File Information data structure which will be populated with feedback information after each file method call. The data structure must be defined in the calling scope using pjs.define(). |
qualified | Boolean | Set to True to qualify field names with the internal file and record format names |
include | Array | A list of record formats to define in the calling scope. If omitted, all record format names are included. |
ignore | Array | A list of record formats to ignore. If omitted, all record format names are included. |
rename | Object | A list of record formats to rename. The record format name given by each object property is set to the name given in the corresponding value. |
recno | String | The name of a field that receives the relative record number after a successful input operation. The field must be defined in the calling scope using pjs.define(). |
likeFile | String | The internal name of another file defined using this method in the calling scope. This defines another instance of the file using the same configuration options. |
levelIds | Array | A list of level identifiers for each record format in the file. If specified, record format level checks are performed before opening the file. Otherwise, no level checks are done. |
userDefinedData | Any | Specifies user-defined general purpose data associated with the table configuration. |
prefix | Object / String | Defines a prefix that will be used to partially rename all the fields of the Rich Display File. This property can be defined in 2 different ways.
|
driver | String | Optionally specifies the database driver to use for this table. Shipped drivers include "IBMi" and "jsonDB". If this configuration option is not specified, the global dbDriver configuration setting is used. |
template | Boolean | If set to True, the the declared file cannot be opened and used in the programfor I/O, but its record formats and fields can be used as templates for field definitions by using the options 'like', 'likeRec', and 'extName' with pjs.define(). |
...