This chapter describes the DBMS (dbms) commands, in alphabetical order, supported by all database engines.
Each reference page contains the following information:
The commands can be executed with the JPL command Since DBMS (dbms) or the C library function dm_dbms. Some database engines support additional commands; for DBMS commands that are specific to a database engine, refer to "Database Drivers." This includes the transaction commands and any special feature commands.
DBMS (dbms) is a JPL command, using these commands inside a JPL statement must follow all the conventions for JPL.
DBMS Command Summary | ![]() |
The following listing is a summary of the DBMS (dbms) commands by category. Some commands might appear in more than one category.
DBMSENGINE- Sets the default database engine for the application.
DBMSWITH ENGINE- Sets the default engine for the duration of a command.
DBMSCLOSE CONNECTION- Closes a named connection.
DBMSCLOSE_ALL_CONNECTIONS- Closes all connections on the named or default engine.
DBMSCONNECTION- Sets a default connection and engine for the application.
DBMSDECLARE CONNECTION- Declares a named connection to a database engine.
DBMSWITH CONNECTION- Sets the default connection for the duration of a command.
DBMSCLOSE CURSOR- Closes a cursor.
DBMSCONTINUE- Fetches the next screenful of rows from a select set.
DBMSDECLARE CURSOR- Declares a named cursor.
DBMSEXECUTE- Executes a named cursor.
DBMSWITH CURSOR- Specifies the cursor to use for a statement.
DBMSSQL- Specifies a SQL statement to be passed to the database engine for processing.
DBMSQUERY- Specifies a SQL statement that returns data to be passed to the database engine for processing.
DBMSRUN- Specifies a SQL statement that will not return data to be passed to the database engine for processing.
DBMSALIAS- Names a Prolifics variable as the destination of a selected column or an aggregate function.
DBMSBINARY- Creates a Prolifics variable for fetching binary values.
DBMSCATQUERY- Redirects
SELECTresults to a file or a Prolifics variable.DBMSCOLUMN_NAMES- Maps a database column name to a Prolifics variable.
DBMSFORMAT- Formats the results of a
CATQUERY.DBMSOCCUR- Sets the number of rows for Prolifics to fetch to an array and choose an occurrence where Prolifics should begin writing result rows.
DBMSSTART- Sets the first row for Prolifics to return from a select set.
DBMSUNIQUE- Suppresses repeating values in a selected column.
DBMSCONTINUE- Fetches the next screenful of rows from a select set.
DBMSCONTINUE_BOTTOM- Fetches the last screenful of rows from a select set.
DBMSCONTINUE_DOWN- Fetches the next screenful of rows from a select set.
DBMSCONTINUE_TOP- Fetches the first screenful of rows from a select set.
DBMSCONTINUE_UP- Fetches the previous screenful of rows from a select set.
DBMSSTOREFILE- Stores the rows of a select set in a temporary file so that the application can scroll through the rows.
DBMSBINARY- Defines one or more binary variables.
DBMSONENTRY- Installs a function or JPL procedure which Prolifics calls before executing a
DBMSstatement.DBMSONERROR- Installs a function or JPL procedure which Prolifics calls whenever a
DBMSstatement fails.DBMSONEXIT- Installs a function or JPL procedure which Prolifics calls after executing a
DBMSstatement.
![]()
![]()
![]()
![]()