When you install VisualAge COBOL documentation, an IBM search facility called NetQuestion is also installed. Other IBM products (such as VisualAge for Java and DB2 UDB) also use NetQuestion, but you should have only one copy of NetQuestion on your workstation. When NetQuestion already exists on your workstation, a product installation uses it and does not install a second copy (although it does upgrade the existing version where necessary and register product-specific files with the existing version).
NetQuestion includes a small Web server (httpdl.exe). This server starts automatically when you restart your computer, because of a registry entry that is created during installation. Many products that use NetQuestion access the HTML files of the online library by using a CGI program (vahwebx.exe), which uses the NetQuestion Web server (httpdl.exe) to serve pages.
Occasionally something goes wrong with the installation or with use of the help system. Use this document to troubleshoot problems with your help system.
Symptom | Troubleshooting section |
On installation | |
---|---|
Autoconfigured warning | 1.1 Installing a browser after installing VisualAge COBOL |
Search server installation failed. | 2.1 Verifying NetQuestion installation |
EHN0310: An error was detected within the search service. | 2.0 Diagnosing help system errors on Windows NT |
Need help system on server. | 3.0 Configuring the help system on a Windows NT server |
Using the help system | |
Browser hangs. | 1.0 Meeting browser requirements |
Page not found with Internet Explorer 404 Error with Netscape |
1.0
Meeting browser requirements 1.1 Installing a browser after installing VisualAge COBOL |
Files do not load cleanly into Netscape. | 1.2 Solving a load problem with Netscape browsers |
(1) Browser appears to be loading but help is not displayed. (2) "The automatic configuration file could not be loaded." (3) Connect: Looking up host: localhost. | 1.3
Viewing help when disconnected 2.5 Starting the servers |
The specified table of contents could not be found | 2.2 Verifying help files |
No response; server not responding | 2.3 Accessing the NetQuestion Web server |
(1) The specified product vacobol is not known to the help system. (2) CGI received request that it did not recognize. (3) Script request is not valid. | 2.4 Accessing the VisualAge COBOL help CGI |
Unable to locate server: localhost:49213 (May also include The server does not have a DNS entry.) | 2.5 Starting the servers |
F1 help gives (1) no results or (2) Dr Watson access violation error message | Verify help configuration file |
Using the search function | |
(1) Network problem occurred; unable to connect to server. (2) Specified NetQuestion server is not available. | 2.6 Diagnosing search errors |
(1) Error 500. (2) File was not found. | 2.6 Diagnosing search errors |
Japanese search does not work. | 4.0 Searching in Japanese |
To view the online help for VisualAge COBOL, you must have a browser that supports frames, such as Netscape Navigator 4.51 (or later) or Internet Explorer 5.0 (or later). IE is the preferred browser for Windows 2000.
Ensure that you do not have the environment variable SOCKS_NS set. This setting can cause Netscape to hang. This variable sometimes remains when a person upgrades from Netscape 3.0 to Netscape 4.0 or a later version.
If your organization uses a proxy server for connecting to the Internet, the proxy configuration for your browser must include the following exceptions for the VisualAge COBOL help system to work: localhost:49213,127.0.0.1. These proxy exceptions allow your browser to bypass the proxy and access the help system directly. The installation program for VisualAge COBOL checks your browser's proxy configuration and will update it for you. However, in the following cases you may need to manually update your browser's proxy configuration:
To check that your browser configuration for Netscape 4.x is correct, do the following steps:
If the Automatic proxy configuration button is selected, contact your system administrator to ensure that 127.0.0.1 is included in your proxy exceptions.
If the Manual proxy configuration button is selected, do the following steps:
If you use VisualAge COBOL without a TCP/IP connection to a network, and you use Netscape for viewing the online help, you must click the Direct connection to the Internet button for the online help to work.
To check that your browser configuration for Internet Explorer 5.x is correct, do the following steps:
If you received an "Autoconfigured" message from the installation program, your proxy exceptions have been automatically configured in Netscape 4.x. In this case, check with your system administrator to ensure that 127.0.0.1 is treated as a local address.
Whenever you run the Internet Explorer setup wizard, to upgrade IE or for other configuration purposes, it erases your proxy exception settings. See 1.0 Meeting browser requirements for the steps to reestablish the exceptions needed for viewing VisualAge COBOL help. If you install a new version of your browser (IE or Netscape) you will also need to manually reestablish the exception settings for the help system.
The VisualAge COBOL help uses an HTML frame set, which divides the browser window into several areas, each of which is loaded separately. Certain versions of Netscape Communicator 4.x have a known problem displaying a frame set when a different frame set already occupies the window. According to Netscape, restarting the browser is a workaround for this problem, and subsequent loads of frame sets will display properly.
If you need to view the online help when your workstation is not connected to a network, set your browser to use "Direct connection to the Internet" rather than proxies. Also, be sure that you switch to your direct connection profile before you disconnect. (Otherwise, the browser will spend several minutes searching for your proxy server whenever you request the online help.)
EHN0310: An error was detected within the search service: If you get this message during installation of VisualAge COBOL, the most likely cause is that your system was not able to start the NetQuestion daemon (server) process in the given time frame due to a heavy load on you system or insufficient resources to start the process. During install the start server function waits for the start up of the daemon process. If the daemon does not complete start up within the given timeframe the start server function returns with the error message shown.
To recover, after rebooting your system, issue the two applicable commands
from you NetQuestion directory (x:\imnnq):
imnss stop server (SBCS)
imnss start server (SBCS)
imnss -stop dbcshelp (DBCS)
imnss -start dbcshelp (DBCS)
If this does not result in the NetQuestion daemons starting, follow the steps in 2.1 Verifying NetQuestion installation.
Cannot access help: If you cannot access the online help for VisualAge COBOL, check the following items for possible problems:
NetQuestion is installed in its own directory because several products might use it. For example, if you installed DB2 on drive e:, the search system is probably installed in a directory called e:\imnnq_nt. The search files for VisualAge COBOL are copied to this directory when you install VisualAge COBOL. VisualAge COBOL does not install another copy of NetQuestion, nor does it change the search directory to the one it would use if it were the first product to install NetQuestion. This document shows the NetQuestion directory as x:\imnnq.
To locate your NetQuestion installation directory, enter at a command prompt:
echo %IMNINSTSRV%
If you encounter a failed search server installation or initialization while installing VisualAge COBOL, the installation will complete, but you will not be able to access online help. The most likely cause of this situation is installing and uninstalling other products that use the NetQuestion facility, particularly if the same drive and path were not used with each one. The following steps can help you diagnose the error.
In the worst case, if you have multiple products that use NetQuestion, you might need to reinstall one of these products, particularly if your problems are the result of repeated installing and uninstalling of one or more of these products. Call VisualAge COBOL support for help in the steps that you need to take.
When the VisualAge COBOL help system has been properly installed, the files in the following table that are associated with the COBOL Information Center should exist in the indicated directories.
Directory x:\...\ibmcobw\help | Directory x:\imnnq | |||
---|---|---|---|---|
Files | Directories* | Files | Directories | |
coblang.toc debug390.toc debugger.toc dt.toc getstart.toc lpex.toc main.toc pa.toc pg.toc remote.toc remoted.toc spm.toc vacobol.toc wrkframe.toc Iwzif1.cfg iwzwhlp1.ini Iwzif1.shr |
coblang.zip debug390.zip debugger.zip dt.zip getstart.zip lpex.zip main.zip pa.zip pg.zip remote.zip remoted.zip spm.zip wrkframe.zip evfeblsh.idm hgssrch.htm hgcsrch.htm |
iwz3enco iwz3end3 iwz3endb iwz3endt iwz3engs iwz3enlx iwz3enpa iwz3enpg iwz3enrm iwz3enrd iwz3ensp iwz3enwf work |
httpd.cnf iwzifoot.htm iwzihenus.htm iwzisenus.exe or iwzisjajp.exe iwzistar1.gif iwzistar2.gif iwzistar3.gif iwzistar4.gif iwzistar5.gif vahcfg.exe vahcfgw.exe vahelp.cfg vahwebx.cat vahwebx.exe |
instance |
*In a DBCS installation these directories are named iwz3jaxx.
You can find most of these files on your installation CD for VisualAge COBOL in the ibmcobw\help and ibmcobw\imnnq directories. If they have been corrupted or are missing from the directories indicated here, you can copy them from the CD. Do not unzip the .zip files; the help system depends on a specific format for these files.
The files and directories in green are generated
by the help system. If none of these files or directories exists (or only a
vahelp.cfg file of size zero or size 516, both of which indicate that no
products are installed), from the x:\imnnq directory issue the following
command to regenerate the missing files:
vahcfg install /w x:\...\ibmcobw\help (SBCS) or
vahcfg install /w x:\...\ibmcobw\help /l ja_jp (DBCS)
For further verification, from the x:\imnnq directory issue the
following command:
vahcfg list | more (SBCS)
vahcfg list /lang ja_jp| more (DBCS)
The resulting list should be as follows, with the correct directories for your installation:
Product: vacobol (IBM VisualAge COBOL)
Writable directory: c:\pgmfiles\ibmcobw\help
No update files for this product
Comp: main (Topics View)
Zip file: c:\pgmfiles\ibmcobw\help\main.zip
No index for this component
Comp: remote (Remote host development)
Zip file: c:\pgmfiles\ibmcobw\help\remote.zip
Index: iwz3enrm
Comp: wrkframe (Project environment)
Zip file: c:\pgmfiles\ibmcobw\help\wrkframe.zip
Index: iwz3enwf
Comp: pg (Local applications)
Zip file: c:\pgmfiles\ibmcobw\help\pg.zip
Index: iwz3enpg
Comp: coblang ((null))
Zip file: c:\pgmfiles\ibmcobw\help\coblang.zip
Index: iwz3enco
Comp: lpex (Program editor)
Zip file: c:\pgmfiles\ibmcobw\help\lpex.zip
Index: iwz3enlx
Comp: debugger (Local debugger)
Zip file: c:\pgmfiles\ibmcobw\help\debugger.zip
Index: iwz3endb
Comp: pa (Performance analyzer)
Zip file: c:\pgmfiles\ibmcobw\help\pa.zip
Index: iwz3enpa
Comp: debug390 (Remote debugger)
Zip file: c:\pgmfiles\ibmcobw\help\debug390.zip
Index: iwz3end3
Comp: dt (Debug Tool)
Zip file: c:\pgmfiles\ibmcobw\help\dt.zip
Index: iwz3endt
Comp: remoted (Remote data accesss)
Zip file: c:\pgmfiles\ibmcobw\help\remoted.zip
Index: iwz3enrd
Comp: getstart ((null))
Zip file: c:\pgmfiles\ibmcobw\help\getstart.zip
Index: iwz3engs
Comp: spm (Stored Procedure Manager)
Zip file: c:\pgmfiles\ibmcobw\help\spm.zip
Index: iwz3ensp
If your list is missing any components or has an incorrect directory, issue
these commands from the x:\imnnq directory to reregister VisualAge COBOL
with the help system:
vahcfg remove /prod vacobol
vahcfg install /w x:\...\ibmcobw\help (SBCS)
vahcfg install /w x:\...\ibmcobw\help /lang ja_jp (DBCS)
Verify help configuration file: To verify the contents of the F1 help configuration file, view the file x:\...\ibmcobw\help\iwzif1.cfg. For a local install it should be as follows:
SBCS | DBCS |
INSTALL_INSTANCE=vacobol CGI_BIN_DIR=cgi-bin HELP_EXE=vahwebx.exe HELP_DIR=en_US HTML_HOSTNAME=localhost:49213 ZIPPED_WEB=1 HTMLHELP_HIDDEN=1 START_NETQ_DAEMON=1 START_LITE_DAEMON=1 HELP=C:\pgmfiles\IBMCOBW\HELP |
INSTALL_INSTANCE=vacobol CGI_BIN_DIR=cgi-bin HELP_EXE=vahwebx.exe HELP_DIR=ja_JP HTML_HOSTNAME=localhost:49213 ZIPPED_WEB=1 HTMLHELP_HIDDEN=1 START_NETQ_DAEMON=0 START_DBCSNETQ_DAEMON=1 START_LITE_DAEMON=1 HELP=C:\pgmfiles\IBMCOBW\HELP |
Some of these values will differ for a server install. See 3.0 Configuring the help system on a Windows NT server for those details.
In your Web browser, enter the following Web address: http://localhost:49213
The root of the NetQuestion directory should be displayed in your browser. If it is, you do not have a problem accessing the help server.
If the directory is not displayed, first check that the Web server (daemon) is started:
If the daemon is not in the task list, the Web server is not started. You can try starting the server:
imnss start server (SBCS)
imnss -start dbcshelp (DBCS)
nqdetach.exe httpdl.exe -r x:\imnnq\httpd.cnf
If you still cannot access the server, you can check that the httpd.cnf file has the correct information:
Serverroot C:\IMNNQ <- where NetQuestion is installed Hostname localhost DNS-Lookup Off Port 49213
Near the bottom of the file you should see:
Exec /cgi-bin/* C:\IMNNQ\* Pass /icons/* C:\IMNNQ\* Pass /* C:\IMNNQ\*
If this approach does not work, look for other local copies of httpd.cnf:
If none of these remedies works, reinstall the VisualAge COBOL documentation.
If accessing the CGI code is causing problems in using the help system, you may encounter any of several errors, as described below along with actions to take.
Error 500 in your browser ("script request is not valid"). Check for vahwebx.exe in your NetQuestion installation directory (x:\imnnq). If vahwebx.exe is missing, go to 2.1 Verifying NetQuestion installation. If vahwebx.exe is present, check that the settings in httpd.cnf (in the %IMNINSTSRV% directory) are correct, as described in 2.3 Accessing the NetQuestion Web server.
The CGI received a request that it did not recognize. The VisualAge COBOL help configuration file contains invalid settings for HTML_HOSTNAME, CGI_BIN_DIR, and other values that are used to formulate the Web address correctly. Make sure that the entries in iwzif1.cfg (in the x:\...\ibmcobw\help directory) look like this:
SBCS | DBCS |
INSTALL_INSTANCE=vacobol CGI_BIN_DIR=cgi-bin HELP_EXE=vahwebx.exe HELP_DIR=en_US HTML_HOSTNAME=localhost:49213 ZIPPED_WEB=1 HTMLHELP_HIDDEN=1 START_NETQ_DAEMON=1 START_LITE_DAEMON=1 HELP=C:\pgmfiles\IBMCOBW\HELP |
INSTALL_INSTANCE=vacobol CGI_BIN_DIR=cgi-bin HELP_EXE=vahwebx.exe HELP_DIR=ja_JP HTML_HOSTNAME=localhost:49213 ZIPPED_WEB=1 HTMLHELP_HIDDEN=1 START_NETQ_DAEMON=0 START_DBCSNETQ_DAEMON=1 START_LITE_DAEMON=1 HELP=C:\pgmfiles\IBMCOBW\HELP |
The CGI cannot find the database. Make sure that help .zip files are located in the right directory (x:\...\ibmcobw\help). Follow the steps in 2.2 Verifying help files to refresh the help .zip files and reregister VisualAge COBOL to the help system if necessary.
The specified product vacobol is not known to the help system. Check the x:\inmnnq directory for these files:
vahcfg.exe
vahcfgw.exe
vahwebx.exe
vahelp.cfg
If any of the three *.exe files is missing, copy it from the x:ibmcobw\netq\imnnq directory into the x:\inmnnq directory.
The file vahelp.cfg is generated during installation of VisualAge COBOL and
other IBM products that use the vahwebx.exe and vahcfg.exe programs. This file
should point to the directory where the help .zip files reside on your computer.
To verify that the file exists and points to the appropriate directory, issue
the following command from the x:\imnnq directory:
vahcfg list | more (SBCS)
vahcfg list /l ja_jp | more (DBCS)
If vahelp.cfg is not in your x:\imnnq directory or the list from vahcfg
list has no VisualAge COBOL components, refresh the file by issuing the
following command from the x:\imnnq directory:
vahcfg install /w x:\...\ibmcobw\help (SBCS)
vahcfg install /w x:\...\ibmcobw\help /l ja_jp (DBCS)
If vahelp.cfg is in your x:\imnnq directory, do the following steps:
See 2.2 Verifying help files for the VisualAge COBOL files that should be present when the help system is properly installed.
The requested file cannot be found in the database. A file may be missing or corrupted. Follow the steps in 2.2 Verifying help files for refreshing the help .zip files and reregistering VisualAge COBOL to the help system.
When you try to view the online help, and the Web address in the browser looks correct (something like http://localhost:49213/cgi-bin/vahwebx.exe/En_US/vacobol/Extract/0/index.htm), you might get this error message:
Unable to locate the server: localhost:49213. The server does not have a DNS entry.
Check the server name in the location (URL) and try again.
In this case, the NetQuestion Web server probably is not started. This small server is also called a "daemon." NetQuestion provides two daemons: one for serving pages (the Web or HTTP server httpdl) and one for search (the search server imnsvdem).
From your NetQuestion directory (x:\imnnq) issue the following commands to start these two daemons:
imnss start server
(SBCS)
imnss -start dbcshelp
(DBCS)
nqdetach.exe httpdl.exe -r x:\imnnq\httpd.cnf
If the daemons are already running, you will do no harm with these commands.
The search system should automatically start after you restart your computer. If there is a problem with installation or the system does not start, you might experience problems with search.
If you encounter the following error message in your browser when you attempt a search, try starting the Web server manually:
A network error occurred: unable to connect to server. The server may be down or unreachable. Try connecting again later.
From a command prompt while in the NetQuestion directory (x:\imnnq), enter this command:
nqdetach httpdl.exe -r httpd.cnf
If you get error 500 or "file not found" when you attempt a search and VisualAge COBOL was installed correctly, try the following steps:
iwzisenus.exe (for SBCS)
iwzisjajp.exe (for DBCS)
iwzifoot.htm
iwzihenus.htm
iwzistar*.gif (5 files)
imndomap -a (for SBCS)
imqdomap -a (for DBCS)
The indexes for VisualAge COBOL are called IWZ3EN* or IWZ3JA* (English or Japanese). One or more of these names should appear in the list of names that imndomap (or imqdomap) returns.
If the only problem is that the files iwzisenus.exe (or iwzisjajp.exe), iwzihenus.htm, iwzifoot.htm, and iwzistar*.gif are missing, copy these files from the directory x:\...\ibmcobw\netq\imnnq into the directory (x:\imnnq) for the search system. If any of the other problems shows up, you need to reinstall VisualAge COBOL.
You can install and configure the help system on a Web server, so that other members of your organization can view and search the online help over a network without having to install NetQuestion and the help system on their workstations.
If you are installing VisualAge COBOL on a server, the VisualAge COBOL installation program will attempt to configure your help system. Use the information provided below if the installation fails, or if setting up a network installation apart from a server install.
To do a network installation, you must have Web server software, such as Microsoft Peer Web Services, installed on the server. The Web server should have a scripts directory. (In Peer Web Services, your scripts directory is usually located under \inetpub.) After installing the server software, complete the following steps:
vahwebx.exe
vahwebx.cat
vahelp.cfg
iwzifoot.htm
iwzihenus.htm
iwzihenus.exe
If you later run vahcfg install or vahcfg regen, you need to repeat steps 4 and 5.
Users can access the help by using the following Web address:
http://YourHostname/scripts/vahwebx.exe/help/vacobol/Extract/0/index.htm
- iwzif1.cfg
- vacobv3.iws
- the Start menu shortcut for the VisualAge COBOL Information Center
You might have trouble getting help search results returned in Japanese; you will see an error from the search engine when you send a DBCS query, but English (SBCS) queries work.
Because help search uses an HTML form as search query input, the browser must have the proper language input method enabled (IME code) for forms to work in the appropriate language. Further, Netscape and Internet Explorer sometimes do not automatically recognize data sent by an HTML form as a valid character stream.
Netscape settings: Explicitly set the character encoding to the correct setting in the browser, and save these settings for future use. In Netscape 4:
Internet Explorer settings: National language versions of Internet Explorer have the ME code installed and operational. Internet Explorer 5 has the ability to install IMEs for any language on SBCS platforms as well. You need to install this support explicitly, and then you may have to set the Autodetect code page for a language by right-clicking the form. The form should then be recognized consistently. (This browser is not currently supported.)