Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Open database (OPEN-DATABASE)

&pagelevel(5)&pagelevel

The OPEN-DATABASE statement specifies the database to be processed by the statements which follow.

OPEN-DATABASE

DATABASE-NAME = <dbname>

,COPY-NAME = *NONE / <copy-name>

,USER-IDENTIFICATION = *OWN / <userid>

DATABASE-NAME = <dbname>
Name of the database. You can only process a database that is cataloged under your own user ID. A database under a foreign user ID can only be processed from the system administrator ID TSOS.

COPY-NAME = *NONE
The database original is processed.

COPY-NAME = <copy-name>
The shadow database with the specified copy name is processed.

USER-IDENTIFICATION = *OWN
The database is located under the user’s own user ID.

USER-IDENTIFICATION = <userid>
The specification of a foreign user ID is only permitted under the system administrator ID TSOS.

The OPEN-DATABASE statement is not permitted if the database is assigned using ADD-FILE-LINK LINK-NAME=DATABASE.