User`s guide
PC*MILER-AS400 User’s Guide 57
6.2.5 Upgrade Notice
For Version 16 and higher, the ROUTEINFO portion of the HS return was
increased by 25 characters and the number of ROUTEINFO Sets per
response packet was decreased from four sets to three. Route Number
was increased 15 characters from 20 to 35 (Highway, Road or Street
Name), and Interchange City or Junction was increased 10 characters
from 28 to 38.
The previous format is shown below.
Format in previous versions:
ROUTEINFO 2 indicates end of route data for stop
2 state code
1 toll indicator
4 sets 6 directional (North, Turn L, etc)
20 route number
4 leg mileage
28 for intersection city or junction
8 for cumulative leg miles
6 for cumulative stop miles
6.2.6 City/Address to Lat/Long Coordinates (LL) Request and
Response
1. (Request) Following are parameters for latitude/longitude coordinates
for a given city, postal code, or address (PC*MILER|Streets only).
Lat/longs are returned in degree, minute second format.
For example:
0394346N,0861610W
Var Name Len Value Description Extended Format
REQ-TYPE 2 LL Lat/Long
REFNUM 10 Output Queue Name
(ALK uses ‘Q’ + the job number)
FILL-10 10 Blank Fill
REQ-SEQ 4 Sequence (Always 0001 for LL Requests)
REQ-ERR 2 Error Code
REQ-CIT 70
38 byte maximum city name
1 byte comma or space
2 byte state abbrev
1 byte comma (optional)
13 byte county name (optional)