User`s guide

PC*MILER-AS400 User’s Guide 51
6.2.3 State Miles (SM) Request and Response
1. (Request) The following are field parameters for a state miles request.
The purpose of this request is to attain the state-by-state mileage
information associated with a trip.
Var Name Len Value Description Extended Format
REQ-TYPE 2 SM 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
(Worldwide Only) 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 or 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