
66
PC*MILER|AS/400 MVS User’s Guide
Appendix E: The Sleep Feature For NS Router Installations
The Sleep Feature has been added to correct an issue in which the NS
Router does not reliably reconnect to the AS/400 after an IPL or power
down. There should be no need to use this feature when you are using a
Client Access Express connection.
To activate the sleep feature, you need to send a message to the PC
mileage server (SRV32.exe).
Included in your ALKMVS Library is a CL program called “queue”. For
queue to work you must have ALKMVS in your library list. You may have
to compile the queue if you do not have the program – use the command
WRKOBJPDM, with 12 on QCLSRC and 14 on queue.
The syntax for queue is:
Queue<space>(’SP60’)
where 60 is the number of seconds that you want the mileage server to
sleep for. (NOTE: Queue is case sensitive, the SP has to be in caps.)
To put the mileage server to sleep for a 3-hour period before an IPL, you
would have to run this command (with ALKMVS in your library list):
Call ALKMVS/queue<space>(‘SP10800’)
The sleep process only works if the only thing using the NS Router is one
mileage server. You can’t be running Netsoft Green Screens, or more
than one mileage server. The sleep feature sends a message to the NS
Router to disconnect its conversations with the AS/400. The sleep
command can only disconnect its own connections, having other active
connections causes the process to fail.
You will need to test the sleep feature. On your mileage server, set up
your screen so you can watch both the Router (Midrange Workspace) and
the mileage server’s Server Log (SRV32.exe).
To get the Midrange Workspace up, double-click the small overlapping
white & purple squares icon that resides by the system clock. You can
also press and hold down the ALT key and press and release the TAB key
until the Midrange Workspace NS/Router Icon is selected, and then
release both keys.