User`s guide
PC*MILER-AS400 User’s Guide 54
6.2.4 Detailed Route Information (HS) Request and Response
1. (Request) Following are parameters for a route and state miles request.
The purpose of this request is to allow the Host to retrieve detailed route
information based on the city pair stop-off points.
Var Name Len Value Description Extended Format
REQ-TYPE 2 HS Miles request
REQ-REF 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
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
1 Pos 2) M or K for miles or kilometers
1 Pos 3) R = resequence stops
H = hub leg miles
F = resequence stops fixed destination
blank = otherwise
REQ-MORE 1 Pos 4) M = more data to follow
1 Pos 5) Reserved by DR request
REQ-FMT 1 Pos 6) E = Extended Format
(Required, see appendix A)
REGION 1 Pos 7) A=Asia, E=Europe, F=Africa, N=North
America, O=Oceania, S=South America
Custom Routing 1 Pos 8) C=Custom, blank=default
Override Restrictions 1 Pos 9) Y=Override Restrictions, L=Light
N=Obey Restrictions or H=Heavy
Hazmat 1 Pos 10) G=General Restriction
C=Corrosive
E=Explosive Restriction
F=Flammable
I=Inhalant Restriction
R=Radioactive Restriction
REQ-BRDR 1 Pos11) O=Borders Open C= Closed
REQ-FERRY 1 Pos12) Y=Include Ferry Distance N=Do Not Include
Ferry Distance
REQ-SEQ 2 Sequence for multiple responses (Not read by PC)
REQ-ERR 2 Error Code
REQ-CIT 700 Array of 10 places 70 bytes each left justified