User`s guide
PC*MILER-AS/400 MVS User’s Guide 31
0 Connection Good Created Data Queue
2 Connection Good Found Data Queue
Return codes of 1 or 3 are generic error codes that indicate problems with your
Client Access Express connections.
NOTE: Both the PC and the AS/400 must agree on the location of the Input or
Request data queue. To change the location on the PC, click on the mileage
server’s File menu. Choose AS/400 Control, then Change Library/Queue. The
change is made on the AS/400 by running the ALKMVS/mvsfig or
ALKMTL/mtlfig command and filling out the library field.
The server log only notes incoming requests. If you need to see the mileage
server’s outputs, turn on the Log to File feature by selecting the mileage server’s
File menu and choosing AS400 Control > Highlight Log to File and choose
Append, Overwrite, or Verbose. This will create a file called
c:\ALKMVS\as400.log or C:\Alktoll\as400.log. It is recommended to only use
logging for diagnostic purposes, otherwise the log files tend to grow large.
Append will add to the existing log file, Overwrite will delete the current log
file, and Verbose will append to the existing log file and contains PC-to-AS/400
communication messaging.
Stopping the Interface
To close PC*MILER|TCP/IP, click Exit in the File menu. From the PC*MILER-
AS/400 Multi-Version Switch window, choose Exit from the File menu.
Included in the Alkmvs and Alktoll directories are Killmvs.bat and process.exe.
Process.exe is a command line process utility that can exit programs.
Following is a sample section of Killmvs.bat:
process -k pcmsock19.exe
process -k pcmsock19t.exe
process -k pcmsock20.exe
process -k pcmsock20t.exe
process -k as400.exe
The syntax is:
process<space>-k<space>[Executable Name]
It can be useful to create a shortcut to killmvs.bat on your desktop.
NOTE: If you are closing your router, remember to disconnect the AS/400
beforehand. Please be patient, the PC*MILER mileage server can take a minute