User`s guide

PC*MILER-AS/400 MVS User’s Guide 60
REQ-SEQ 2 Sequence for multiple responses (Not Read by PC)
REQ-ERR 2 Error Code
REQ-MVS 3 Requested PCMILER Version
(Position 29-31) 140=PC*MILER Version 14
141=PC*MILER Version 14.1
150=PC*MILER Version 15.0
151=PCMILER Version 15.1 et cetera
RESP-TOLL 1 T=Tolls/Cash D=Discount or Blank (Pos 32)
REQ-FILL 6 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 formal L#L #L#
2. (Response) Following are field parameters for a response to the route and state
miles request. The PC response record has all of the required detailed route
information. There are four route list records\response records. Therefore, if
there are more than four records for the route, additional response records must be
returned. Multiple returned records are designated by the "M" in the "MORE"
parameter field.
REMEMBER: A “CP” and “SR” output record will always precede the “HR”
response record.
Response from PC Len Value Description
REQTYPE 2 HR Route highway information returned
REFNUM 10 Output Queue Name
(ALK uses ‘Q+ the job number)
Request Options 13-22
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