Previous Topic: When to UseNext Topic: Example JCL


How to Use

Multi-User mode is required to execute this command. Execute the LINK function with the following command format:

          ┌─ , ─────────┐
►►─ LINK ─▼─ DBID=nnnn ─┴─────────────────────────────────────────────────────►◄

Command

LINK

Invokes the function to link the Index Area and each data area in one database to a Directory (CXX) without performing the INIT function.

Required Keywords

DBID=

Identifies the database or databases whose data and Index Areas are to be linked. DBID= may repeat. Each occurrence may specify either a single number or a range of numbers.

Every database specified by a DBID keyword is processed. Each database that is not defined generates an error and fails the function after all the databases are processed, except that a database in a range not defined is ignored.

Valid Entries:

One or more valid database IDs or a range of DBIDs nnnn-mmmm (a range, for example, such as 100-250).

Default Value:

(No default)