User`s guide
PC*MILER-AS/400 MVS User’s Guide 27
4.0 Starting an Instance of PC*MILER|TCP/IP
PC*MILER|TCP/IP can be started from a command or from a batch file. Within
the PC*MILER-AS/400 Multi-Version Switch installation, each copy of
PC*MILER|TCP/IP (pcmsock.exe) has been renamed to reflect the PC*MILER
version it is returning mileage and routing information for. The format is
pcmsockxx.exe where xx is the PC*MILER version. This enables identification
of a particular version within the Windows Task Manager.
Pcmsock.exe takes two parameters, the PC*MILER package, and the port
number.
The PC*MILER package is PC_MILER. You should use Ports in the 8000
range, with the last three digits corresponding to the version of PC*MILER that is
being used.
For example:
Pcmsock22.exe<space>PC_MILER<space>8220
would be the command to start Version 22.0 PC*MILER|TCP/IP.
NOTE: There has to be agreement between the Port number that an instance of
PC*MILER|TCP/IP is listening to and that version’s entry in
...\AlkMvs\Pcmmv.ini or ...\AlkToll\pcmmv.ini.
It is best to use a batch file to start the various services. See Step 4.4 of the
installation instructions in Chapter 3.
Within the batch file you must change directories to the installation directory of
PC*MILER|TCP/IP before launching the start command.
NOTE: If you are using a multiple PC setup, you will need to have a batch file
on each PC.