Enterprise Server currently provides support for issuing a subset of DB
system commands. These commands enable you to control and query the statuses of
IMS databases.
/DIS[PLAY] DB ALL | database1 [database2] ...
-
This returns the current status of each of the named databases.
- 1 to 16 databases can be specified or the “ALL” parameter.
- ES-IMS only returns database status for those databases it knows about. ES-IMS accesses databases as they are accessed by application programs and system commands, so the list of "known" databases grows dynamically.
- Database statuses are described below:
- UNKNOWN - The database name is not valid. There is no ACB defined for this DB.
- NOTOPEN - The database is defined but has not been accessed.
- OPEN - The database is currently being accessed by an application program.
- CLOSED - The database has been opened but is not currently open.
- STOPPED - The database is stopped and not available to MPP, BMP or CICS-DLI programs.
/STO[P] DB database1 [database2] ...
- The STOP command stops a database or a list of databases.
- When a database is stopped, it is not accessible from MPP, BMP or CICS-DLI programs. The database is only accessible from IMSDBU or batch DLI programs.
- This command is run synchronously. It will suspend until the database is closed and stopped.
/STA[RT] DB database1 [database2] ...
- The START command starts a database or a list of databases.
- Use the START command to make the database available to online, BMP and CICS-DLI programs.
TN3270 |
- Database commands can be entered via a TN3270 session connected to /IMS.
- The response output from the command will be sent back to the terminal session.
|
ESMAC |
- DB commands can be entered via the ESMAC IMS Control panel.
- The response output is sent back to the ESMAC panel.
|
JCL |
|
- All database statuses are set to NOTOPEN when a server is first started.
- In future, initial database status will be configurable by DB name.
- There is no current support for warm restart of the database status.
- In future, database statuses will be stored on disk and will be used during warm restart.
Copyright © 2006 Micro Focus (IP) Ltd. All rights reserved.