JANUS RELOAD

From m204wiki
Jump to navigation Jump to search

Reload SQL mapping

This reloads the Model 204 to SQL mappings from the JANCAT file into virtual storage and CCATEMP.

Syntax

JANUS RELOAD portname

Where portname is the name of the port(s) to reload. JANUS DEFINE must have been used to define the port, and JANUS START must have been used to start the port before reloading it via JANUS RELOAD.

Example

JANUS RELOAD SDS*

In the above example, all ports whose names begin with SDS have their Model 204 to SQL mappings reloaded from the appropriate JANCAT file. The reload can only happen when there are no in flight transactions (updating or retrieval) on the port. A long running Janus Specialty Data Store request can cause a significant delay in the processing of the JANUS RELOAD command. After a JANUS RELOAD command is issued, all new Specialty Data Store requests will have to wait for the reload to complete before being processed.

If the AUTOLOAD switch is turned on for a port definition, the JANUS RELOAD need not be executed. AUTOLOAD causes table mappings to be loaded to the port automatically at the first user connection subsequent to any change to the Janus Specialty Data Store catalog file.

See also