
PC*MILER|AS/400 MVS User’s Guide
19
4.0 Starting an Instance of PC*MILER|TCP/IP Connect
PC*MILER|TCP/IP Connect can be started from a command or from a
batch file. Within the PC*MILER|AS/400 Multiple Version Switch
installation, each copy of PC*MILER|TCP/IP Connect (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 two digits corresponding to the version of PC*MILER
that is being used.
For example:
Pcmsock14.exe<space>PC_MILER<space>8014
would be the command to start Version 14 PC*MILER|TCP/IP Connect.
Note: There has to be agreement between the Port number that an
instance of PC*MILER|TCP/IP Connect is listening to and that version’s
entry in ..\AlkMvs\Pcmmv.ini.
It is best to use a batch file to start the various services. See Step 4.4 of
the installation instructions.
Within the batch file you must change directories to the installation
directory of PC*MILER|TCP/IP Connect 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.