action.skip

Database Update and Reorganization

This chapter contains information on what to do if there is a DASDL update or reorganization of the primary database. There are two ways to compile the client DASDL and the DMSII Client Library, depending on how you configured the COMPILE parameter.

When COMPILE Is Set to AUTO

If you set the COMPILE option to AUTO and a reorganization of the primary database occurs, the DMSII Client automatically generates the client database DASDL source and patch files for the DMSII Client support library, initiates several jobs to update the client database, and then displays the following:

 Waiting for DMSupport compilation`

After the DMSUPPORT library is compiled, the DMSII Client will compile and run a Reorganization program. The DMSII Client then resumes normal processing.

Note

The DASDL source generated by the DMSIII Client is now named SOURCE/DATABRIDGE/DMSIICLIENT/DASDL/databasenameinstead of SYMBOL/DATABRIDGE/DMSIICLIENT/DASDL/databasename.


When COMPILE Is Set to MANUAL

If you set the COMPILE option to MANUAL and a reorganization of the primary database occurs, the DMSII Client automatically does the following:

  • Generates the client database DASDL source and patch files for the DMSII Client support library.

    Note

    The DASDL source generated by the DMSIII Client is now named SOURCE/DATABRIDGE/DMSIICLIENT/DASDL/databasename instead of SYMBOL/DATABRIDGE/DMSIICLIENT/DASDL/databasename.

  • Terminates with the following message:

    "Use WFL/DATABRIDGE/DMSIICLIENT/COMPILEDB to compile clientdbname"

At this point, you must do the following:

  1. Have the system administrator who has access to the DASDL and DMALGOL compilers start the following WFL to compile the client database and the DMSII Client support library:

    START WFL/DATABRIDGE/DMSIICLIENT/COMPILEDB ("clientdbname")

  2. After WFL/DATABRIDGE/DMSIICLIENT/COMPILEDB is finished, if the compiled software is on a different pack or usercode than the DMSII Client, copy the following files to the DMSII Client usercode and pack:

    DESCRIPTION/clientdbname

    DMSUPPORT/clientdbname

    RECONSTRUCT/clientdbname

    OBJECT/DATABRIDGE/DMSIICLIENT/LIB/clientdbname

  3. Start the DMSII Client by entering the following command:

    START WFL/DATABRIDGE/DMSIICLIENT ("clientdbname")

    where clientdbnameis the name of your client database. The DMSII Client updates the client database and then resumes normal processing.