User`s guide

PC*MILER-AS/400 MVS User’s Guide 47
8.1 Technical Overview
The PC*MILER-AS/400 system uses distributed processing techniques (i.e. the
processing is split into two). The user interface or interactive software is written
in RPG and runs on the AS/400. The mileage calculation software is written in
C++ and runs on a PC in the Windows environment. The RPG programs
communicate with the PC mileage calculation software through Client Access
Express. The interactive software on the AS/400 allows multiple users to look up
point-to-point mileage and routes for up to thirty stop-off points. The Windows
server application creates a data queue on the AS/400 at startup called MIDQUE.
The server application waits for mileage requests and processes them when
received. The server application responds to an output queue specified within the
request packet.
NOTE: For MVS the standard library is ALKMVS (for Tolls it is ALKMTL).
Some objects have been renamed to end conflicts with other ALK products. See
Appendix I: Renamed Program Objects for more information.
AS/400 Programs
Files Description
MVSIINQ Main AS/400 inquiry program that sends request to MIDQUE data queue
MVTIINQ Main AS/400 inquiry program that sends request to MIDQUE data queue for Tolls
CITMVS RPG program that verifies city ZIP spelling
CITMTL RPG program that verifies city ZIP spelling (Tolls)
CRTQ CL program that creates an output data queue based on the job number
DELQ CL program that deletes the queue created by CRTQ
GETLAT Sample RPG Program that converts City, Jurisdiction pairs or ZIP codes to Lat/longs
GETLATC CL program that creates output queue and starts GETLAT RPG
GETMILV Sample RPG Program performs point-to-point mileage lookups
GETMILVC CL program that creates output queue and starts GETMIL RPG
VMVADR RPG Program that validates ZIP codes, place names, and street addresses; also
provides pick lists of ZIP codes, names and addresses when partial name, ZIP or
address is passed in RPG parameters.
VMTADR RPG Program that validates ZIP codes, place names, and street addresses; also
provides pick lists of ZIP codes, names and addresses when partial name, ZIP or
address is passed in RPG parameters.
MIDQUE Data queue that contains input mileage lookup records
MVSIINQC CL program that creates output data queue and starts MVSIINQ rpg
MVTIINQC CL program that creates output data queue and starts MVTIINQ rpg for Tolls.
QUEUE CL program that writes to the MIDQUE request data queue
MVSEND External data structure for sending mileage requests