|
transaction-id | |
Identifier for a current transaction | |
dbname | |
Name of a database in the DB configuration (or name of a shadow database) In the case of DISPLAY DBTT-INCR, name of the database containing the record type or record types for which the user schema information is to be output. If the DB is not specified then all the record types of all the currently attached databases are output. | |
realmname | |
Name of a realm | |
recordref | |
Number of the user record type for which information is to be output. The DISPLAY DBTT-INCR command with no recordref specification is particularly useful if you want to assign record numbers to record type names. recordref=1 is used internally by UDS/SQL and cannot be specified here. | |
n | Maximum number of output lines for this DISPLAY command (default: 100). You can specify values between 5 and 999 for n. |
ALL | All the output lines are generated. |
The DISPLAY command produces a listing on the database administrator’s data display terminal or operator console in accordance with the command specification, i.e.:
DB | Display all databases in the current DB configuration |
DB,RUNID=transaction-id | |
Display all databases referenced by the transaction transaction-id | |
USERS | |
Display all transactions currently running in the DB configuration | |
USERS,DB=dbname | |
Display all transactions which reference the database dbname | |
SUBSCH | |
Display all subschemas of the DB configuration | |
SUBSCH,DB=dbname | |
Display all subschemas of database dbname | |
MAINREF | |
Display information on the status of the transaction channels (mainrefs) | |
MAINREF,STATE=BLOCK | |
Display information on status of blocked mainrefs | |
transaction-id | |
Display information on status of transaction transaction-id | |
REALMS | |
Display information on all permanent realms of the DB configuration | |
REALMS,DB=dbname | |
Display information on all permanent realms of database dbname | |
REALMS,RN=realm-name | |
Display information on the permanent realm realm-name [of database dbname] | |
PP | Display all load parameters under which the DBH is currently running |
FPA | Display information on the free pages in all realms of the DB configuration |
FPA,DB=dbname | |
Display information on the free pages in all realms of database dbname | |
FPA,RN=realm-name | |
[,DB= dbname ] | |
INCR | Information on the online extensibility of all activated user realms and all DBDIRS in the DB configuration |
INCR, DB=dbname | |
Information on the online extensibility of all activated user realms and the DBDIR of the database dbname | |
INCR,RN=realmname | |
Information on the online extensibility of the realm realm-name of the database dbname. If realm-name is unique in the database configuration, the specification DB=dbname need not be made. | |
DBTT-INCR | |
Information on the online DBTT extensibility of the record types in the user schemata of the DB configuration | |
DBTT-INCR, DB=dbname | |
Information on the online DBTT extensibility of the record types in the user schema of the database dbname | |
DBTT-INCR,DB=dbname,RECR=recordref | |
Information on the online DBTT extensibility of the record type with record type number recordref in the database dbname | |
PUBSETS | |
Settings of the UDS/SQL pubset declaration | |
ALOG | |
Current ALOG settings on all ALOG files of the DB configuration. | |
ALOG DB=dbname | |
Current ALOG settings of database dbname. | |
LINES | |
Number of output lines for this DISPLAY command. | |
LINES=n | |
Maximum number of output lines for this DISPLAY command. If the maximum number of output lines for a DISPLAY command is not sufficient to output the information for all the objects in question then a corresponding message is output: OUTPUT OF nnnn FURTHER LINES SUPPRESSED There is no command allowing you to resume this interrupted DISPLAY command. To obtain the information for all the associated objects, you must repeat the command, for example with LINES=ALL. In all cases, the following message is then output: UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND | |
LINES=ALL | |
All output lines for this DISPLAY command. |
The following sections describe the output of the various DISPLAY commands.
DISPLAY DB - Show all databases and access modes
Input format:
DISPLAY DB
Comment line: USERID: DATABASE-NAME: DB-OPTION: BUFFER: BUF-ID: PAGE: Information : userid dbname db-option bbbb buffid pgKB line(s) End line: UDS/SQL Vn.n nnn DATABASE(S) IN confname
Explanations:
userid | User ID in which the database concerned is located. |
dbname | |
Name of the database | |
db-option | |
EXC-UPD SHA-RTR | |
bbbb | Size of the user buffer pool for the database in Mbytes without leading zeros. If no user buffer pool exists, blanks are output. |
buffid | Name of the shared user buffer pool *EXCL *SYSTEM |
pg | Page format of realm files |
Vn.n UDS/SQL version number | |
nnn | Number of databases in the DB configuration |
Example
//EXECUTE-DAL-CMD CMD=DISPLAY DB
% UDS0220 UDS RECEIVED COMMAND: DISPLAY DB (OPOX073,09:28:51/4TMW) 4TMW: USERID: DATABASE-NAME: DB-OPTION: BUF-SIZE: BUF-ID: PAGE: 4TMW: ----------------------------------------------------------------- 4TMW: $XXXXXXXX.SHIPPING EXC-UPD *SYSTEM 4KB 4TMW: $XXXXXXXX.CUSTOMER EXC-UPD 1 *EXCL 4KB 4TMW: 4TMW: UDS/SQL V2.9 2 DATABASES IN CONFEXMP % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:28:51/4TMW)
DISPLAY DB,RUNID=transaction-id -
Show all databases referenced by the transaction identifier
Input format:
DISPLAY DB,RUNID=transaction-id
Comment line: USERID: DATABASE-NAME: OPEN-MODE: Information line(s): userid dbname open-mode End line: UDS/SQL Vn.n nnn DATABASE(S) USED FROM transaction-id
Explanations:
transaction-id | |
Internal transaction identifier assigned by UDS/SQL. | |
userid | User ID in which the database concerned is located. |
dbname | |
Name of the database | |
open-mode | |
Usage mode specified by the transaction transaction-id when opening the realm(s) of the database: UPD RTR | |
Vn.n UDS/SQL version number | |
nnn | Number of databases referenced by transaction transaction-id |
Example
//EXECUTE-DAL-CMD CMD=DISPLAY DB,RUNID=1
% UDS0220 UDS RECEIVED COMMAND: DISPLAY DB,RUNID=1 (OPOX073,09:28:51/4TMW) 4TMW: USERID: DATABASE-NAME: OPEN-MODE: 4TMW: ----------------------------------------- 4TMW: $XXXXXXXX.SHIPPING RTR 4TMW: 4TMW: UDS/SQL V2.9 1 DATABASE USED FROM 1 % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:28:51/4TMW)
DISPLAY USERS - Show all transactions currently running
Input format:
DISPLAY USERS
Comment line: PROGRAM TSN/TERM RUNUNIT-ID STATE PTC FC MR-NR DLY Information line(s): progname tsn/term ta-id state ptc fc mr-nr dly End line: UDS/SQL Vn.n nnn USER(S) OF confname
Explanations:
PROGRAM | |
Application program which started the transaction: progname | |
TSN/TERM | |
Task identifier: tsn Timesharing mode: task serial number under which program progname runs term-name In the case of a distributed transaction, this operand refers to the primary subtransaction (PST), which may be running in another configuration. | |
RUNUNIT-ID | |
ta-id Internal transaction identifier assigned by UDS/SQL. Transactions are numbered consecutively within a session segment. In the case of a distributed transaction this operand refers to the local subtransaction, irrespective of whether it is a primary or secondary subtransaction (PTT or STT). | |
STATE | |
state In the case of a distributed transaction this operand refers to the local subtransaction, irrespective of whether it is a primary or secondary subtransaction (PTT or STT). STOP AREA LOCK DEACT WAIT-ST TO-CANC IN-CANC USER CONNEC DBH | |
PTC | ptc YES - In the case of a distributed transaction this operand refers to the local subtransaction, irrespective of whether it is a primary or secondary subtransaction (PTT or STT) or a transaction distributed via openUTM. |
FC | function-code In the case of a distributed transaction, this operand refers to the local subtransaction, irrespective of whether it is a primary or secondary subtransaction (PTT or STT). |
MR-NR | |
mainref-no Internal number assigned by the DBH to a transaction at READY; In the case of a distributed transaction this operand refers to the local subtransaction, irrespective of whether it is a primary or secondary subtransaction (PTT or STT). | |
DLY dly | |
YES The transaction is preventing the execution of pending requests (DLY corresponds to DELAYING), i.e. it must be terminated before the requests can be executed (see the DAL commands PERFORM in chapter "Performing pending requests (PERFORM)" and RESET ORDERSi n chapter "Canceling pending requests (RESET ORDERS)"). - The transaction is not preventing the execution of pending requests. | |
Vn.n UDS/SQL version number | |
nnn | Number of currently open transactions |
DISPLAY USERS,DB=dbname -
Show all transactions currently accessing the database
Input format:
DISPLAY USERS,DB=dbname
Output as under output format DISPLAY USERS for application programs which have opened database dbname by means of READY.
Example
//EXECUTE-DAL-CMD CMD=DISPLAY USERS,DB=SHIPPING
% UDS0220 UDS RECEIVED COMMAND: DISPLAY USERS,DB=SHIPPING (OPOX073,09:28:53/4TMW) 4TMW: PROGRAM TSN/TERM RUNUNIT-ID STATE PTC FC MR-NR DLY 4TMW: --------------------------------------------------------------- 4TMW: DMLTEST TSN 4TPM 1 USER - 18 1 - 4TMW: 4TMW: UDS/SQL V2.9 1 USER OF SHIPPING % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:28:53/4TMW)
DISPLAY SUBSCH - Show all subschemas
Input format:
DISPLAY SUBSCH
Header line: n SUBSCHEMA(S) IN confname Information lines: Database line: DB = dbname Schema line: SCHEMA = schema-name Subschema line(s): subschema-name [-NAME AMBIGUOUS]
Explanations:
n | Number of subschemas in the DB configuration |
confname | |
First eight characters of configuration name | |
Database line: | |
dbname | |
Schema line: | |
schema-name | |
Subschema line(s): | |
One line for each subschema of database dbname; it contains: subschema-name NAME AMBIGUOUS |
Example
//EXECUTE-DAL-CMD CMD=DISPLAY SUBSCH
% UDS0220 UDS RECEIVED COMMAND: DISPLAY SUBSCH (OPOX073,09:28:55/4TMW) 4TMW: 2 SUBSCHEMAS IN CONFEXMP 4TMW: =============================================== 4TMW: DB = SHIPPING 4TMW: SCHEMA = MAIL-ORDERS 4TMW: ----------------------------------------------- 4TMW: ADMIN 4TMW: =============================================== 4TMW: DB = CUSTOMER 4TMW: SCHEMA = CUSTOMER-LIST 4TMW: ----------------------------------------------- 4TMW: MANAGEMENT % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:28:55/4TMW)
DISPLAY SUBSCH,DB=dbname -
Show all subschemas in the database
Input format:
DISPLAY SUBSCH,DB=dbname
Header line: n SUBSCHEMA(S) OF dbname Information line(s): Schema line: SCHEMA = schema-name Subschema line subschema-name
n | Number of subschemas in the database dbname |
Schema line: | |
schema-name | |
Subschema line: | |
subschema-name |
Example
//EXECUTE-DAL-CMD CMD=DISPLAY SUBSCH,DB=SHIPPING
% UDS0220 UDS RECEIVED COMMAND: DISPLAY SUBSCH,DB=SHIPPING (OPOX073,09:28:57/4TMW) 4TMW: 1 SUBSCHEMA OF SHIPPING 4TMW: SCHEMA = MAIL-ORDERS 4TMW: ----------------------------------------------- 4TMW: ADMIN % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:28:57/4TMW)
DISPLAY MAINREF -
Show information on mainref status
|
|
|
|
|
|
|
|
|
|
MR-NR | |
mainref-no Internal number assigned by the DBH to a transaction at READY; | |
STATE | |
state In the case of a distributed transaction this operand refers to the local subtransaction, irrespective of whether it is a primary or secondary subtransaction (PTT or STT). FREE: STOP-NEW:
STOP USED: BLOCK: The STATE values are not mutually exclusive. They are displayed according to the following hierarchy: BLOCK, STOP, STOP-NEW, FREE, USED | |
RUNUNIT-ID | |
transaction-id In the case of a distributed transaction this operand refers to the local subtransaction, irrespective of whether it is a primary or secondary subtransaction (PTT or STT). | |
TEMP | |
temp - The temporary realm of this mainref is not defective. DSTR In the case of a distributed transaction this operand refers to the local subtransaction, irrespective of whether it is a primary or secondary subtransaction (PTT or STT). |
If there are permanent defects in a temporary realm, the DBH responds by locking the corresponding mainref.
Example
//EXECUTE-DAL-CMD CMD=DISPLAY MAINREF
% UDS0220 UDS RECEIVED COMMAND: DISPLAY MAINREF (OPOX073,09:28:59/4TMW) 4TMW: MR-NR STATE RUNUNIT-ID TEMP 4TMW: ---------------------------------------- 4TMW: 1 USED 1 - 4TMW: 2 FREE - - 4TMW: 3 FREE - - 4TMW: 4 FREE - - % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:28:59/4TMW)
DISPLAY MAINREF, STATE=BLOCK -
Show information on blocked mainrefs
Input format:
DISPLAY MAINREF,STATE=BLOCK
|
|
|
|
|
| | | | |
If no mainref is blocked:Information line: NO MAINREF IS BLOCKED
Explanations:
Only mainrefs locked against reuse by transactions, i.e. blocked, are listed. Otherwise, output is the same as for DISPLAY MAINREF.
Example
//EXECUTE-DAL-CMD CMD=DISPLAY MAINREF,STATE=BLOCK
% UDS0220 UDS RECEIVED COMMAND: DISPLAY MAINREF,STATE=BLOCK (OPOX073,09:28:59/4TMW) 4TMW: NO MAINREF IS BLOCKED % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:29:01/4TMW)
DISPLAY transaction-id -
Show information on transactions
Input format:
DISPLAY transaction-id
Comment | Information | Explanation |
|
| Name of the application program or of the openUTM operand DBKEY or 'UTM'. |
|
| openUTM transaction code/openUTM user ID from the openUTM command KDCSIGN. |
|
| In timesharing mode: |
|
| In transaction mode: |
|
| Transaction identifier; In the case of a distributed transaction this operand refers to the local |
|
| Mainref number; assigned when READY is issued for the transaction. |
|
| Function code of the current or most recent DML statement of the |
|
| Name of the host on which the primary subtransaction is running. |
|
| The first 8 characters of the configuration name of the primary subtransaction. |
|
| Time stamp indicating the date of generation of the associated RLOG file. |
|
| Transaction identifier of the associated PTT. |
|
| The local subtransaction (TT) is the PTT or STT of a distributed transaction. |
|
| The openUTM transaction is in the PTC condition. |
|
| The temporary realm of this mainref has failed. |
Table 16: Input format for the output of information on transactions
Example
//EXECUTE-DAL-CMD CMD=DISPLAY 1
% UDS0220 UDS RECEIVED COMMAND: DISPLAY 1 (OPOX073,09:29:01/4TMW) 4TMW: PROGRAM-NAME: DMLTEST 4TMW: TSN: 4TPM 4TMW: RUNUNIT-ID / -STATE: 1 / USER 4TMW: MAINREF-NR / -STATE: 1 / USED 4TMW: FC: 18 % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:29:01/4TMW)
DISPLAY REALMS -
Show information on all permanent realms
Input format:
DISPLAY REALMS
Comment line: | DATABASE | ACC-USER | ACC-SYS | DB-OPT | DESTR | |
(USERID: userid ) | ||||||
Information line(s): | dbname | acc-user | acc-sys | db-opt | destr | |
Comment line: | CATID | REALM | ACC-USER | ACC-SYS | STATE | DEFECT |
Information line(s): | catid | realm-name | acc-user | acc-sys | state | defect |
Explanations:
In certain cases realms are deactivated by the DBH. The database administrator can obtain information on the status of the realms.
userid | User ID in which the database concerned is located. |
DATABASE | |
dbname | |
CATID | |
catid | |
REALM | |
realm-name | |
ACC-USER | |
acc-user UPD RTR LOCK | |
ACC-SYS | |
acc-sys UPD RTR LOCK | |
DB-OPT | |
db-opt EXC-UPD SHA-RTR | |
STATE | |
state TMPRLM TO DROP SWTOFF TO ADD OPENED | |
DESTR | |
destr YES | |
DEFECT | |
defect YES |
Example
//EXECUTE-DAL-CMD CMD=DISPLAY REALMS
% UDS0220 UDS RECEIVED COMMAND: DISPLAY REALMS (OPOX073,09:29:01/4TMW) 4TMW: DATABASE (USERID: $XXXXXXXX.) ACC-USER ACC-SYS DB-OPT DESTR 4TMW: ----------------------------------------------------------------------- 4TMW: SHIPPING UPD UPD EXC-UPD - 4TMW: ======================================================================= 4TMW: CATID REALM ACC-USER ACC-SYS STATE DEFECT 4TMW: ----------------------------------------------------------------------- 4TMW: :IUDS: DATABASE-DIRECTORY UPD UPD OPENED - 4TMW: :IUDS: CUSTOMER-ORDER-RLM UPD UPD OPENED - 4TMW: :IUDS: PURCHASE-ORDER-RLM UPD UPD OPENED - 4TMW: :IUDS: CLOTHING UPD UPD OPENED - 4TMW: :IUDS: HOUSEHOLD-GOODS UPD UPD OPENED - 4TMW: :IUDS: SPORTS-ARTICLES UPD UPD OPENED - 4TMW: :IUDS: FOOD UPD UPD OPENED - 4TMW: :IUDS: LEISURE UPD UPD OPENED - 4TMW: :IUDS: STATIONERY UPD UPD OPENED - 4TMW: :IUDS: ARTICLE-RLM UPD UPD OPENED - 4TMW: - SEARCH-RLM - - TMPRLM - 4TMW: 4TMW: DATABASE (USERID: $XXXXXXXX.) ACC-USER ACC-SYS DB-OPT DESTR 4TMW: ----------------------------------------------------------------------- 4TMW: CUSTOMER UPD UPD EXC-UPD - 4TMW: ======================================================================= 4TMW: CATID REALM ACC-USER ACC-SYS STATE DEFECT 4TMW: ----------------------------------------------------------------------- 4TMW: :IUDS: DATABASE-DIRECTORY UPD UPD OPENED - 4TMW: :IUDS: CUSTOMER-RLM UPD UPD OPENED - 4TMW: :IUDS: FINANCE-RLM UPD UPD OPENED - 4TMW \ : - TEMPRLM - - TMPRLM - % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:29:03/4TMW)
DISPLAY REALMS,DB=dbname -
Show information on all permanent realms of a database
Input format: | DISPLAY REALMS,DB=dbname |
Explanation: | Same as DISPLAY REALMS; output refers to the database dbname only |
Example
//EXECUTE-DAL-CMD CMD=DISPLAY REALMS,DB=SHIPPING
% UDS0220 UDS RECEIVED COMMAND: DISPLAY REALMS,DB=SHIPPING (OPOX073,09:29:07/4TMW) 4TMW: DATABASE (USERID: $XXXXXXXX.) ACC-USER ACC-SYS DB-OPT DESTR 4TMW: ----------------------------------------------------------------------- 4TMW: SHIPPING UPD UPD EXC-UPD - 4TMW: ======================================================================= 4TMW: CATID REALM ACC-USER ACC-SYS STATE DEFECT 4TMW: ----------------------------------------------------------------------- 4TMW: :IUDS: DATABASE-DIRECTORY UPD UPD OPENED - 4TMW: :IUDS: CUSTOMER-ORDER-RLM UPD UPD OPENED - 4TMW: :IUDS: PURCHASE-ORDER-RLM UPD UPD OPENED - 4TMW: :IUDS: CLOTHING UPD UPD OPENED - 4TMW: :IUDS: HOUSEHOLD-GOODS UPD UPD OPENED - 4TMW: :IUDS: SPORTS-ARTICLES UPD UPD OPENED - 4TMW: :IUDS: FOOD UPD UPD OPENED - 4TMW: :IUDS: LEISURE UPD UPD OPENED - 4TMW: :IUDS: STATIONERY UPD UPD OPENED - 4TMW: :IUDS: ARTICLE-RLM UPD UPD OPENED - 4TMW: - SEARCH-RLM - - TMPRLM - 4TMW: % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:29:09/4TMW)
DISPLAY REALMS,RN=realm-name[,DB=dbname] -
Show information on a permanent realm
Input format: | DISPLAY REALMS,RN=realm-name[,DB=dbname] |
Explanation: | Same as DISPLAY REALMS; output refers to the realm realm-name [of database dbname] only The specification of DB=dbname can be omitted if the realm name specified is unambiguous in the configuration. |
DISPLAY PP - Show current DBH load parameters
Input format:
DISPLAY PP
Information |
|
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| ||
|
n 1 | Number of databases in the DB configuration |
n 2 | Max. number of simultaneously active transactions |
n 3 | Max. number of transactions simultaneously active for remote application programs |
n 4 | Number of KDBS logical file names (KDBS only) |
n 5 | Max. number of subschemas usable simultaneously per database |
n 6 | Number of server tasks |
n 7a | Size of the system buffer pool for databases with a 2-Kbyte page format in Mbytes |
n 7b | Size of the system buffer pool for databases with a 4-Kbyte page format in Mbytes |
n 7c | Size of the system buffer pool for databases with an 8-Kbyte page format in Mbytes |
n 8 | Minimum size of a common pool in Kbytes |
n 9 | Size of the communication pool in Kbytes |
n 10 | Size of the SSITAB pool in Kbytes |
n 11 | Size of the distribution pool in Kbytes |
n 12 | Max. number of remote databases per transaction |
n 13 | Time, in seconds, for connection and transaction checking by the UDS-D task |
n 14 | Time, in seconds, for resolving interconfiguration deadlocks or deadlocks involving openUTM |
n 15 | Number of simultaneously active SQL conversations |
n 16 | Time for inactive conversations |
n 17 | Number of request responses to be grouped |
bbbb | Size of the user buffer pool of the database in Mbytes without leading zeros; omitted if the system buffer pool has been assigned to the database. |
buffid | Name of the shared user buffer pool, if a shared user buffer pool has been assigned to the database. |
prefix | The BCAM names of the user tasks are formed from prefix and TSN. |
Explanations:
The call outputs the current values of the DBH load parameters, including DAL changes.
They are listed in the same form as when PP PARLIST=YES is specified during the start phase.
The load parameters TASKLIB and SECLEVEL are ineffective. They are only still supported for compatibility reasons.
Example
//EXECUTE-DAL-CMD CMD=DISPLAY PP
% UDS0220 UDS RECEIVED COMMAND: DISPLAY PP (OPOX073,09:29:11/4TMW) 4TMW: MAXDB = 2 4TMW: TRANSACTION = ( 4, 1) 4TMW: SUBSCHEMA = 1 4TMW: SERVERTASK = 1 4TMW: 2KB-BUFFER-SIZE= 1 4TMW: 4KB-BUFFER-SIZE= 1 4TMW: 8KB-BUFFER-SIZE= 0 4TMW: CP-SIZE = 1024 4TMW: CUP-SIZE = 1024 4TMW: SIP-SIZE = 1024 4TMW: DIP-SIZE = 1024 4TMW: DISDB = 1 4TMW: CHCKTIME = 60 4TMW: DEADTIME = 60 4TMW: DISTRIBUTION = START 4TMW: PTCSYNCH = (WAIT ,WAIT ) 4TMW: LOG = PUBLIC 4TMW: LOG-2 = NO 4TMW: LOG-SIZE = ( 192, 192) 4TMW: RESERVE = NONE 4TMW: WARMSTART = STD 4TMW: DBDCSYNCH = YES 4TMW: DEACT = YES 4TMW: STDCKPT = YES 4TMW: ADM = REMOTE 4TMW: CPU = MONO-PROCESSOR 4TMW: DISTABLE = UDSDBB.VT.EXAMPLE.START 4TMW: SQL = 4 4TMW: SQL-LIMIT = 10 4TMW: TASKLIB = NO 4TMW: DUMP = ALL 4TMW: MPSEG = STD 4TMW: UCON = C'<U ',MSG 4TMW: SECLEVEL = NO ,NO-AUDIT 4TMW: LOCK = STD 4TMW: TA-ACCESS = STD 4TMW: WAIT = EVENT 4TMW: RESULT-DELAY = 0 4TMW: SCHEDULING = SYMMETRIC 4TMW: IO = ASYNC 4TMW: ORDER-DBSTATUS = STD 4TMW: PRIVACY-CHECK = OFF 4TMW: BCAM-PREFIX = SUD$ 4TMW: CONFNAME = $XXXXXXXX.CONFEXMP 4TMW: DATABASES OF CONFIGURATION: 4TMW: $XXXXXXXX.SHIPPING ,EXCLUSIVE-UPD ,*SYSTEM 4TMW: $XXXXXXXX.CUSTOMER ,EXCLUSIVE-UPD, 1,*EXCL % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND COMMAND (OPCC074,09:29:13/4TMW)
DISPLAY FPA -
Show information on free pages in all realms
Input format: | DISPLAY FPA |
Comment line: | DATABASE |
Information line(s): | dbname |
|
Explanations:
The database administrator can obtain information on the number of free pages in the realms.
DATABASE
dbname
Name of the database
RLMREF
realm-reference
Number of the realm
REALM
realm-name
Name of the realm
NR PAGES n
Number of pages in the realm
NR FREE PAGES n
Number of free pages in the realm
SECOND SCAN -
second scan
Search mode
-
The realm has not yet been searched completely for free pages. The search mode"First Scan" is used (space for new data which is to be stored is searched for in the free area at the end of the realm).
YES
The realm has already been searched completely for free pages once. The search mode "Second Scan" is used (space for new data which is to be stored is searched for from the start of the realm).
Example
//EXECUTE-DAL-CMD CMD=DISPLAY FPA
% UDS0220 UDS RECEIVED COMMAND: DISPLAY FPA (OPOX073,09:29:22/4TMW) 4TMW: DATABASE 4TMW: ------------------------------------------------------------- 4TMW: SHIPPING 4TMW: ============================================================= 4TMW: RLM REALM NR NR FREE SECOND 4TMW: REF PAGES PAGES SCAN 4TMW: ------------------------------------------------------------- 4TMW: 1 DATABASE-DIRECTORY 100 49 - 4TMW: 3 CUSTOMER-ORDER-RLM 36 22 - 4TMW: 4 PURCHASE-ORDER-RLM 60 33 - 4TMW: 5 CLOTHING 54 29 - 4TMW: 6 HOUSEHOLD-GOODS 24 16 - 4TMW: 7 SPORTS-ARTICLES 44 35 - 4TMW: 8 FOOD 18 9 - 4TMW: 9 LEISURE 44 35 - 4TMW: 10 STATIONERY 24 17 - 4TMW: 11 ARTICLE-RLM 62 13 - 4TMW: 4TMW: DATABASE 4TMW: ------------------------------------------------------------- 4TMW: CUSTOMER 4TMW: ============================================================= 4TMW: RLM REALM NR NR FREE SECOND 4TMW: REF PAGES PAGES SCAN 4TMW: ------------------------------------------------------------- 4TMW: 1 DATABASE-DIRECTORY 100 55 - 4TMW: 3 CUSTOMER-RLM 126 23 - 4TMW: 4 FINANCE-RLM 126 117 - % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:29:22/4TMW)
DISPLAY FPA,DB=dbname -
Show information on free pages in all realms of a database
Input format: | DISPLAY FPA,DB=dbname |
Explanation: | Same as DISPLAY FPA; output refers to database dbname only |
DISPLAY FPA,RN=realm-name[,DB=dbname]-
Show information on free pages in a realm
Input format: | DISPLAY FPA,RN=realm-name[,DB=dbname] |
Explanation: | Same as DISPLAY FPA; output refers to the realm realm-name [of database dbname] only The specification of DB=dbname can be omitted if the realm name specified is unambiguous in the configuration. |
DISPLAY XFPA -
Show extended information on free pages in all realms
Input format: | DISPLAY XFPA |
Comment line: | DATABASE |
Information line(s) | dbname |
|
Explanations:
The database administrator can obtain information on the number of (free) pages in the realms.
DATABASE | dbname |
RLMREF | realm-reference |
NR PAGES | |
Number of pages in the realm | |
NR FREE PAGES | |
Number of free pages in the realm | |
NR FULL PAGES | |
Number of full pages in the realm | |
PARTIAL-FILLED NR PAGES | |
Number of partially filled pages in the realm | |
FIL% | Average filling level of all partially filled pages in the realm |
SECOND SCAN | |
second scan - YES | |
SEARCH IN FPA | |
search in fpa REUSE NOREUSE |
Example
//EXECUTE-DAL-CMD CMD=DISPLAY XFPA
% UDS0220 UDS RECEIVED COMMAND: DISPLAY XFPA (OPOX073,09:29:28/4TMW) 4TMW: DATABASE 4TMW: ------------------------------------------------------------------ 4TMW: SHIPPING 4TMW: ================================================================== 4TMW: RLM NR NR FREE NR FULL PARTIAL-FILLED SECOND SEARCH 4TMW: REF PAGES PAGES PAGES NR PAGES FIL% SCAN IN FPA 4TMW: ------------------------------------------------------------------ 4TMW: 1 100 49 44 7 75 - NOREUSE 4TMW: 3 36 22 13 1 2 - NOREUSE 4TMW: 4 60 33 25 2 37 - NOREUSE 4TMW: 5 54 29 10 15 27 - NOREUSE 4TMW: 6 24 16 8 0 - - NOREUSE 4TMW: 7 44 35 9 0 - - NOREUSE 4TMW: 8 18 9 5 4 7 - NOREUSE 4TMW: 9 44 35 9 0 - - NOREUSE 4TMW: 10 24 17 7 0 - - NOREUSE 4TMW: 11 62 13 42 7 7 - NOREUSE 4TMW: 4TMW: DATABASE 4TMW: ------------------------------------------------------------------ 4TMW: CUSTOMER 4TMW: ================================================================== 4TMW: RLM NR NR FREE NR FULL PARTIAL-FILLED SECOND SEARCH 4TMW: REF PAGES PAGES PAGES NR PAGES FIL% SCAN IN FPA 4TMW: ------------------------------------------------------------------ 4TMW: 1 100 55 38 7 74 - NOREUSE 4TMW: 3 126 23 100 3 39 - NOREUSE 4TMW: 4 126 117 7 2 22 - NOREUSE % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:29:28/4TMW)
DISPLAY XFPA,DB=dbname -
Show extended information on free pages in all realms of a database
Input format: | DISPLAY XFPA,DB=dbname |
Explanation: | Same as DISPLAY XFPA; output refers only to the database specified with dbname. |
DISPLAY XFPA,RN=realm-name[,DB=dbname] -
Show extended information on free pages in a realm
Input format: | DISPLAY XFPA,RN=realm-name[,DB=dbname] |
Explanation: | Same as DISPLAY XFPA; output refers only to the realm specified with realm-name [of the database dbname]. The specification of DB=dbname can be omitted if the realm name specified is unambiguous in the configuration. |
DISPLAY INCR -
Show information on online extensibility of all activated realms in the database configuration
Input format:
DISPLAY INCR
Information line(s): DATABASE (USERID: $xxxxxxxx.) Information line(s): dbname Comment lines: RLM REALM INCR NR MIN FMT EXT EXT REF ACT PAGES PAGES PND SIZE Information line(s): n realmname incr n n fmt ext n act pnd
Explanations:
The database administrator can obtain information on the online extensibility of the realms.
USERID
User ID in which the database concerned is located.
DATABASE
dbname
Name of the database
RLM REF
realmname
Number of the realm
REALM
Name of the realm
INCR ACT
incr act
Online extensibility
YES
Online extensibility is activated for the realm and not suspended.
NO
Online extensibility is not activated for the realm.
SUSP
Online extensibility is activated for the realm, but suspended in the current part of the session.
NR PAGES n
Number of pages by which the realm is to be extended if required.
MIN PAGES n
Number of free pages in the realm below which an online realm extension will be started.
FMT
fmt
Formatierung der neu hinzugefügten Datenbankseiten
YES
It is necessary for the DBH to format the newly added database pages.
NO
It is not necessary for the DBH to format the newly added database pages.
EXT PND
ext pnd
Display for unconditional realm extension.
YES
Unconditional one-time realm extension (one realm extension per DAL command) is noted.
NO
Unconditional one-time realm extension (one realm extension per DAL command) is not noted.
EXT SIZE
Number of database pages required for extension.
This is displayed only if unconditional one-off realm extension is noted, in other words EXT PND is equal to YES.
Example
//EXECUTE-DAL-CMD CMD=DISPLAY INCR
% UDS0220 UDS RECEIVED COMMAND: DISPLAY INCR (OPOX073,09:29:34/4TMW) 4TMW: DATABASE (USERID: $XXXXXXXX.) 4TMW: -------------------------------------------------------------------------- 4TMW: SHIPPING 4TMW: ========================================================================== 4TMW: RLM REALM INCR NR MIN FMT EXT EXT 4TMW: REF ACT PAGES PAGES PND SIZE 4TMW: -------------------------------------------------------------------------- 4TMW: 1 DATABASE-DIRECTORY YES 64 0 YES NO 4TMW: 3 CUSTOMER-ORDER-RLM YES 2000 400 NO NO 4TMW: 4 PURCHASE-ORDER-RLM YES 64 0 NO NO 4TMW: 5 CLOTHING YES 64 0 NO NO 4TMW: 6 HOUSEHOLD-GOODS YES 64 0 NO NO 4TMW: 7 SPORTS-ARTICLES YES 64 0 NO NO 4TMW: 8 FOOD YES 500 50 NO NO 4TMW: 9 LEISURE YES 64 0 NO NO 4TMW: 10 STATIONERY YES 64 0 NO NO 4TMW: 11 ARTICLE-RLM YES 1000 100 NO NO 4TMW: 4TMW: DATABASE (USERID: $XXXXXXXX.) 4TMW: -------------------------------------------------------------------------- 4TMW: CUSTOMER 4TMW: ========================================================================== 4TMW: RLM REALM INCR NR MIN FMT EXT EXT 4TMW: REF ACT PAGES PAGES PND SIZE 4TMW: -------------------------------------------------------------------------- 4TMW: 1 DATABASE-DIRECTORY YES 64 0 YES NO 4TMW: 3 CUSTOMER-RLM YES 500 30 NO NO 4TMW: 4 FINANCE-RLM YES 64 0 NO NO % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:29:34/4TMW)
DISPLAY INCR, DB=dbname -
Show information on the online extensibility of all activated realms in a database
Input format: | DISPLAY INCR, DB=dbname |
Explanation: | As for DISPLAY INCR; the output only relates to the active realms of the database dbname. |
DISPLAY INCR,RN=realm-name [,DB=dbname] -
Show information on the online extensibility of a realm
Input format: | DISPLAY INCR[, DB=dbname],RN=realm-name |
Explanation: | As for DISPLAY INCR; the output only relates to the realm realm-name. The specification DB=dbname can be omitted if the named realm name is unique in the configuration. |
DISPLAY DBTT-INCR -
Show information on the online DBTT extensibility of the record types for the user schemata in the DB configuration
Input format:
DISPLAY DBTT-INCR
|
Explanations:
The database administrator can obtain information on the online extensibility of the DBTTs.
USERID
User ID in which the database concerned is located.
dbname
Name of the database
REC REF n
Number of the record type
RECORD
recordname
Name of the record type
RLM REF n
Number of the realm
The DAL command DISPLAY INCR,DB=dbname can be used to identify the name of the realm.
DBTT ACT
dbtt act
Indicates whether online DBTT extension is active:
SCAN
Online DBTT extension is active and not suspended. No online DBTT extension is performed until no further free entry can be found in the entire DBTT.
NOSCAN
Online DBTT extension is active and not suspended. Online DBTT extension is performed if the search for a free entry is unsuccessful with the highest currently possible RSQ. Consequently, no renewed search for free entries with a lower RSQ is undertaken.
NO
Online DBTT extension is not active.
SUSP
Online DBTT extension has been suspended in the current session.
This may be because online realm extension has been suspended in the corresponding realm or because the maximum size of the DBTT has been reached.
SWTOFF
The realm containing the DBTT is not currently available. The activation state is unclear.
NR ENTRIES n
Number of entries for DBTT extension.
EXT PND
ext pnd
Information on as yet unexecuted EXTEND-DBTT requests:
YES
A request has been noted for this record type. The request will be executed the next time a record is stored.
NO
No request has been noted.
HIGHEST RSQ n
Highest possible RSQ for the record type in the current DBTT
EXT SIZE n
Number of DBTT entries required for extension.
This is displayed only if unconditional one-off DBTT extension is noted, in other words EXT PND is equal to YES.
If the maximum number of output lines for a DISPLAY command is not sufficient to output the information for all the record types then a corresponding message is output:
OUTPUT OF nnnn FURTHER LINES SUPPRESSED
There is no command allowing you to resume this interrupted DISPLAY command. To obtain the information for all the record types, you must repeat the command, for example with LINES=ALL. The corresponding information can also be provided for individual databases using the BSTATUS utility routine.
In all cases, the following message is then output:
UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND
If an online DBTT extension fails, you can obtain information on the reasons for its suspension as follows:
with the DAL command DISPLAY INCR
using the value HIGHEST RSQ in the DISPLAY DBTT-INCR command
Example
//EXECUTE-DAL-CMD CMD=DISPLAY DBTT-INCR
% UDS0220 UDS RECEIVED COMMAND: DISPLAY DBTT-INCR (OPOX073,09:29:40/4TMW) 4TMW: DATABASE (USERID: $XXXXXXXX.) 4TMW: ------------------------------------------------------------------------- 4TMW: SHIPPING 4TMW: ========================================================================= 4TMW: REC RECORD RLM DBTT NR EXT HIGHEST EXT 4TMW: REF REF ACT ENTRIES PND RSQ SIZE 4TMW: ------------------------------------------------------------------------- 4TMW: 2 CUSTOMER 3 SCAN 21184 NO 331 4TMW: 3 CST-ORDERS 3 SCAN 31808 NO 497 4TMW: 4 ORD-ITEM 3 SCAN 63680 YES 1990 63680 4TMW: 5 INSTALMENT 3 SCAN 63680 NO 995 4TMW: 6 ART-TYPE 11 NOSCAN 31808 NO 497 4TMW: 7 ART-SELECTION 11 SCAN 31808 NO 497 4TMW: 8 ART-DESCR 11 SCAN 31808 NO 497 4TMW: 9 ARTICLE 11 NOSCAN 63680 YES 995 63680 4TMW: 10 SUBSET 6 SCAN 63680 NO 995 4TMW: 11 COLORS 11 SCAN 63680 NO 995 4TMW: 12 MATERIALS 11 NOSCAN 63680 NO 995 4TMW: 13 SUPPLIER 4 SCAN 21184 NO 662 4TMW: 14 PURCHASE-ORDER 4 SCAN 31808 NO 497 4TMW: 15 P-ORD-ITEM 4 SCAN 63680 NO 995 4TMW: 4TMW: DATABASE (USERID: $XXXXXXXX.) 4TMW: ------------------------------------------------------------------------- 4TMW: CUSTOMER 4TMW: ========================================================================= 4TMW: REC RECORD RLM DBTT NR EXT HIGHEST EXT 4TMW: REF REF ACT ENTRIES PND RSQ SIZE 4TMW: ------------------------------------------------------------------------- 4TMW: 2 CUSTOMER 3 SCAN 21184 NO 662 4TMW: 3 OPEN-ITEMS 3 SCAN 63680 NO 995 4TMW: 4 KREDIT 4 SCAN 63680 NO 1990 % UDS0218 UDS COMPLETED EXECUTION OF DAL COMMAND (OPCC074,09:29:40/4TMW)
DISPLAY DBTT-INCR,DB=dbname -
Show information on the online DBTT extensibility of the record types for the user schema in a database
Input format: | DISPLAY DBTT-INCR,DB=dbname |
Explanation: | As DISPLAY DBTT-INCR; the output relates only to the record types of the user schema in the database dbname. |
DISPLAY DBTT-INCR,DB=dbname,RECR=recordref -
Show information on the online DBTT extensibility of a record type
Input format: | DISPLAY DBTT-INCR,DB=dbname,RECR=recordref |
Explanation: | As DISPLAY DBTT-INCR; the output relates only to the record type with the record type recordref of the user schema in the database dbname. |
DISPLAY PUBSETS -
Show the settings of the UDS/SQL pubset declaration
Input format:
DISPLAY PUBSETS
Explanations:
|
jv-name
Name of the pubset declaration job variable
catid-group
Catid group which was specified in the UDS/SQL pubset declaration.
default-catid
Default catalog ID of the configuration user ID
The database administrator can obtain information on the current settings of the UDS/SQL pubset declaration. Between the DAL commands NEW PUBSETS and PERFORM the settings of the new UDS pubset declaration are also shown in the same format but with the insert "PENDING" instead of "CURRENT" in message UDS0746.
If no UDS pubset declaration is available, the following is shown to indicate that there is no explicitly specified catid group "*":
UDS0747 UDS PUBSET DECLARATION NOT PRESENT, DEFAULT IS CATID * (CURRENT) (...,tsn4)
DISPLAY ALOG [,DB=dbname] -
Show ALOG settings
Input format:
DISPLAY ALOG [,DB=dbname]
|
Explanations:
The database administrator can obtain information on settings of the ALOG files.
USERID
userid
User identification to which the database is assigned.
DATABASE-NAME
dbname
Name of the database
DEF-SUP
def-cat
BS2000 catalog ID for default support
RES-SUP
res-cat
BS2000 catalog ID for reserve support
PRIM-ALL
prim
Primary allocation of ALOG file
SEC-ALL
sec
Secondary allocation of ALOG file
SHARE
share
ALOG file accessibility
YES
ALOG file is accessible for all users
NO
ALOG file is accessible only for owner
Vn.n UDS/SQL version number
nnn Number of databases in the DB configuration
Example
0L9M: USERID DATABASE-NAME DEF-SUP RES-SUP PRIM-ALL SEC-ALL SHARE 0L9M: ------------------------------------------------------------------------- 0L9M: $XXXXXXXX.SHIPPING IUDS ABN2 192 576 NO 0L9M: $XXXXXXXX.CUSTOMER IUDS IUDS 300 600 YES 0L9M: 0L9M: UDS/SQL V2.9 2 DATABASES IN CONFEXMP