JANUS RELOAD: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
Line 7: Line 7:
<p class="syntax"> JANUS RELOAD portname
<p class="syntax"> JANUS RELOAD portname
</p>
</p>


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.
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.


<p class="code"> JANUS RELOAD SDS*
==Example==
<p class="code">JANUS RELOAD SDS*
</p>
</p>


In the above example all ports whose names begin with SDS have their <var class="product">Model 204</var> 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.  
In the above example, all ports whose names begin with <code>SDS</code> have their <var class="product">Model 204</var> 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 [http://www.sirius-software.com/maint/download/jsdsr.pdf Janus Specialty Data Store] request can cause a significant delay in the processing of the <var>JANUS RELOAD</var> command. After a <var>JANUS RELOAD</var> command is issued, all new Specialty Data Store requests will have to wait for the reload to complete before being processed.
 
If the <var>[[AUTOLOAD (JANUS DEFINE parameter)|AUTOLOAD]]</var> switch is turned on for a port definition, the <var>JANUS RELOAD</var> need not be executed. <var>AUTOLOAD</var> 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.


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 also==
<ul>
<li>[[List of Janus commands]]
</ul>


See: [[List of Janus commands]]
[[Category:Janus commands|JANUS RELOAD]]
[[Category:Janus commands|JANUS RELOAD]]

Revision as of 18:21, 16 April 2013

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