User`s guide

PC*MILER-AS400 User’s Guide 70
RESP-Seq 4 Pos 23-26) Sequence for multiple responses
RESP-ERR 2 Pos 27-28 Error Code
E2 Place not found
Filler 10 10 Pos 29-38)
RESP-CIT 980 Pos 39-1018)
Array of 15 places, 70 bytes each left justified
or
Error message if there is a problem
Filler-16 16 Pos 1019-1035
Total 1035
7.2.2 Point-to-point Miles (MI) Request and Response
For PC*MILER|Tolls, the MI Request layout was increased by 10 to hold a
new set of trip parameters. The CP Response layout was increased by
these 10 new trip parameters plus 7 characters to hold Tolls Cost data.
Output data queues increased from 1024 to 1048.
1. (Request) The following are field parameters for requesting miles. The
purpose of the Mileage request is to allow the host application to retrieve
point-to-point miles. This type of request could be used for a quick
mileage lookup from a host inquire program or for running several stop-off
points in a batch environment. The host dispatching software could
generate this request when a new trip is established.
Var Name Len Value Description Extended Format
REQ-TYPE 2 MI Miles request
REQ-REF 10 Output Queue Name
(ALK uses ‘Q’ + the job number)
Trip Options Positions 13-22 Request Position
REQ-OPTION 1 Pos 1) S=Shortest
P=Practical
N=National/Practical
T=Toll Discouraged/Practical
5=53' Trailer/Practical
B=Toll Discouraged/Practical
C=National Network/Practical
D=53 Foot Trailer/Practical
E=Toll Discouraged/National
Network/Practical
F=Toll Discouraged/53 Foot
Trailer/Practical
G=Toll Discouraged/Shortest
H=National Network/Shortest
I=53 Foot Trailer/Shortest
J=Toll Discouraged/National
Network/Shortest
K=Toll Discouraged/53 Foot
Trailer/ Shortest