Previous Topic: Sample Report: INIT FXXNext Topic: LINK


LINK (Link to the CXX)

When a data or Index Area is initialized, it is linked to the Directory (CXX) used in the INIT AREA=CXX function. This is done through the use of the CXX name. During all other processing when the data set is opened, an edit ensures that the CXX and the data set are linked together. If they are not, an error is produced.

The LINK function provides protection against JCL errors, such as pointing to the production database, not the test database. This is true for all area usage except the INIT. Therefore, users should use extra caution to ensure that the Directory in use and the data area or Index Area are correct when submitting an INIT request.