NetOI Configuration
NetOI has the ability to process many common output conversion codes locally, rather than on the host. The supported OCONV codes include numeric (MD, MC), date (D), time (MT), datetime (DT), character (MCU, MCT, MCL, MCX, MCO, MCB, HEX) and binary (B). This behavior is currently disabled by default, however.
The user may choose to activate this behavior by editing the record CFG_NETOI in the SYSENV table. If field 1 of this record is “0” (the default), then NetOI will not process the conversion codes locally, but will continue to rely on the host for all OCONV processing. If field 1 of this record is set to “1”, then NetOI will process the available conversion codes locally (and not on the host).
In addition, in order to ensure that the conversion processing is done correctly, NetOI performs a “startup check” when it is first called upon to do an output conversion. It validates that the results returned from the host for a sample date, time, numeric, and Boolean match those generated locally; if they do not, then NetOI continues to rely on the host for processing, even if CFG_NETOI field 1 is set to “1”. (Note: in certain circumstances, it may be desirable to override the startup check and force NetOI to use its own local processing for the available OCONV codes. Set field 1 of the CFG_NETOI record to “-1” to force local processing of the conversion codes regardless of the results of the startup check).
Also note that this behavior can be limited to a particular user in an application by creating or updating the record CFG_NETOI*<appid>*<username> in SYSENV, or to a particular user in any application (by creating or updating the record CFG_NETOI**<username>), or to all users in a particular application (by creating or updating the record CFG_NETOI*<appid>).
From the OpenInsight 10 IDE, go to Consoles, Management Console. Log into the Management Console and go to System Configuration, Configuration Records. Choose the NETOI configuration record and select the application you want to configure NETOI for.
Select the location where conversion codes should be processed.