Command | Description |
Cursors |
|
Loads a saved list of keys into cursor 0. | |
Sets the list of record keys for a specified cursor to null. | |
Erases a saved list of keys. | |
Creates an active select list of keys from the passed list of keys. | |
Reads the next row key from a selected list (cursor) into a variable. The By option allows you to read the list bi-directionally. | |
Specify selection criteria for a cursor. | |
The processing module for OpenList queries, Rlist takes the OpenList statement. | |
Saves an active select list of keys from cursor 0. The saved list can later be re-activated using Activate_Save_Select. | |
Makes each row key in a table available to the ReadNext statement in a select list. The By option allows you to access multiple select lists (cursors), and to specify sort criteria for the key list. | |
Dictionary Interface | Dictionary interface commands allow you to access data in tables via the dictionary from within a BASIC+ procedure. |
Retrieves the value of a column from the current row. The current row is defined as that stored in the variable @RECORD, with the item id stored in @ID. The dictionary being accessed must previously have been opened to the dictionary file variable @DICT. | |
Like the { } (braces) function, but can accept a variable in place of a column name. This permits a procedure to prompt for or otherwise determine which column to look up at execution time. Also requires access to @RECORD, @ID, and @DICT. | |
Returns the result of a dictionary calculation. This is a shell around the Calculate() function. It opens a dictionary to @DICT, sets @ID, reads @RECORD, and calls Calculate. | |
Creates or redefines calculated (symbolic) columns in a native table dictionary. | |
Returns the column positions in a row that are required to perform a dictionary calculation. | |
Returns the column definitions for a specified dictionary. | |
File I/O | File input and output (I/O) commands allow you to read from OpenInsight data files or to write data into them. |
Deletes all rows from a table but leaves the table definition. | |
Clears the data or dictionary information from a table without deleting the table. This subroutine does not allow you to clear system tables. | |
Copies one or more operating system files to OpenEngine. | |
Copies a row or a group of rows from one table to another. | |
Copies one or more OpenEngine rows to operating system files. | |
Deletes a row from an opened table. | |
Deletes one or more specified rows from a table. Since Delete_Row uses the Delete statement itself, it is more efficient to use the Delete statement in a BASIC+ script. The Delete_Row routine can be called from the command line, making it useful for deleting specific records or emptying a file. | |
Reads a row from a table into a dimensioned array. | |
Writes a dimensioned array to a row in a table. | |
Opens a table for file I/O. Tables do not need to be closed. All I/O commands (except Xlate) use the file handle assigned by the Open statement. | |
Reads a file row from a table into a variable. | |
Returns one or more columns from a row in a table. | |
ReadNext, ReadNext...By statement | Reads the next row key from a selected list (cursor) into a variable. The By option allows you to read the list bi-directionally. |
Read Only. Identical to Read except that the row request may be fulfilled from cache. | |
Reads a single column into a variable from a row in a table. | |
Returns one or more rows from a table. | |
Writes a row to a table. | |
Writes one or more columns to a specified row in a table. | |
Writes one row to a specified table. | |
Writes a single column to a row in a table. | |
Extracts the value of a particular column in a particular row in a table. | |
Index |
|
Searches one or more Btree indexes for data matching the search criteria passed in. Returns the keys to rows having matching data. | |
Returns the list of index values for the specified indexed field in the specified file. | |
Creates a Btree, Cross Reference, or Relational index for a specified column in a table. | |
Removes a Btree, Cross Reference, or Relational index from a specified column in a table. | |
Searches a Btree index for a specified value and returns a list of keys based on the search value. | |
Returns all indexed values from the index for a column. | |
Returns information about indexes for a specified table or for all tables. | |
Sets the number of seconds the engine waits before and between indexing. This function is used with Set_IDXSvr() to control dedicated indexing. | |
Transfers @FILE.ERROR to the value returned by Get_Status(). | |
Toggles the dedicated indexing mode. To turn dedicated indexing on, pass 1; to turn dedicated indexing off, pass 0 (zero). | |
Updates or rebuilds indexes in a specified column or for all columns in an attached table. | |
Networking | Networking commands enable a BASIC+ procedure to set and clear row and table locks in a networking environment. |
Sets a lock for a specified row. If the lock is held by another user, the lock fails and branches to Else logic. Note: A Read or Write will not check a lock. Only a lock can determine whether a lock has been set. | |
Releases a lock set by the Lock command. | |
Routines |
|
Loads a saved list of keys into cursor 0. | |
Creates a temporary synonym (an alias) for an existing table. The permanent database definition is not altered. | |
Temporarily includes a table in the database definition. To make this permanent, run Define_Database, or use Database Manager. | |
Returns the list of index values for the specified indexed field in the specified file. | |
Removes transaction and domain validation controls from Native Tables. | |
Installs transaction and domain validation controls for a table. | |
Copies a row or a group of rows from one table to another. | |
Copies a native table, the dictionary for the table, and indexing information if it exists, to a new name or location. The source and target table must be the same filing system type. | |
Creates native tables and their dictionaries. | |
Defines a database, using all currently attached tables. | |
Erases a saved list of keys. | |
Deletes native tables and their dictionaries. | |
Removes a user from the current database. Only the administrative user can delete users. | |
Temporarily prevents access to a single table or list of tables by removing them from the current database. The permanent database definition is not altered. | |
Compresses overflow in a table; fixes Group Format Errors (GFEs); increments, decrements, resizes the sizelock for a table; defines a new threshold for a linear hash (OpenInsight) table. | |
Returns an attribute or list of attributes from the database environment for the current database. | |
Returns the number of rows in a table. | |
Returns an attribute or list of attributes from the database environment for the current database. | |
Returns the column definitions for a specified dictionary. | |
Returns information about indexes for a specified table or for all tables. | |
Returns a list of keys from a currently attached table. | |
Returns the attached tables in the current database. | |
Returns information about the users in a specified database. | |
Returns information about the tables in a specified volume. | |
Provides a method for coordinating access to tables, rows, or columns by setting locks. | |
Creates an active select list of keys from the passed list of keys. | |
Determines whether all rows specified in a rowlist are in the specified table. | |
Saves the environment settings specified in the Set_Env system stored procedure, for the current database. | |
Saves an active select list of keys from cursor 0. The saved list can later be re-activated using Activate_Save_Select. | |
Defines the value of an environment attribute or list of attributes for the current database. | |
Set_MFS subroutine | Programmatically attach Modifying Filing Systems (MFS) to specified tables. |
Determines whether the table specified exists in the current database. | |
Validates and converts data passed to the engine based on a specified validation pattern. | |
Tests linear hash tables, and stores statistical information about data distribution and space utilization for a table or tables. Verify_LH also diagnoses group format errors (GFEs). | |
Writes one row to a specified table. | |
Reviews a string and divides it into "words," the boundaries of which are determined by delimiters you specify. XREF will exclude words according to a stop list or include words according to a go list. |