JANUS RELOAD: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 21: Line 21:
See: [[List of Janus commands]]
See: [[List of Janus commands]]
[[Category:Janus commands|JANUS RELOAD]]
[[Category:Janus commands|JANUS RELOAD]]
[[Category:Sirius commands]]

Revision as of 00:16, 1 July 2011

<section begin="desc" />Reload SQL mapping<section end="desc" />

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

Syntax

<section begin="syntax" /> JANUS RELOAD portname <section end="syntax" />

JANUS RELOAD command syntax

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.

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 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 (see ) 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: List of Janus commands