User`s guide
PC*MILER-AS400 User’s Guide 75
REQ-TollCost 1 Pos 4) T for Cash D for Discount or Blank
REQ—Fill 6 Pos 5-10) Not used blank fill
REQ-CIT 700 Array of 10 places 70 bytes each left justified
3 sets of 700 when using the more flag
38 byte maximum city name
1 byte comma
2 byte state abbrev
1 byte comma (optional)
13 byte county name (optional)
or
1 byte semicolon ; followed by street address
Examples
Warminster,PA,BUCKS
Warminster,PA;1174 NASSAU ROAD
18974
Lat/long format should be 1234567N,1234567W
5 digit zips only
Canadian Postal Codes use the format L#L #L#
NOTE: REQ-SEQ is not read for SM requests.
REQ-BRDR and REQ-FERRY values are not echoed back in the PC responses.
* “MVS” is the PC*MILER Multi Version Switch product, an optional product that allows for
connection to multiple versions of PC*MILER.
2. (Response) The following are field parameters for the state miles
output. The PC will respond with the miles (or kilometers) for the stops
indicated in the "SM" request. There will be 10 state miles returned for
each record. If additional records are needed, an "M" in the "MORE"
parameters field is used to indicate that there is more data to follow.
NOTES: A “CP” (city pair, point-to-point miles) response is always
returned first for all three request types (MI, SM, and HS), and an "SR"
(state miles) output record follows the “CP” response to an "HS" (highway
system, detailed route information) request (see section 7.2.4).
Response from PC Len Value Description
REQTYPE 2 SR State miles summary
REFNUM 10 Output Queue Name
(ALK uses ‘Q’ + the job number)
Request Options 13-22
PARAMS 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