
PC*MILER|AS/400 MVS User’s Guide
41
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
PARMS 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
RESP-MORE 1 Pos 4) M = more data to follow
1 Pos 5) Reserved by DR request
RESP-FMT 1 Pos 6) E = Extended Format
(Required see Appendix A)
RESP-REGION 1 Pos 7) A=Asia,E=Europe,F=Africa,N=North
America,O=Oceania,S=South America
RESP-Custom Routing 1 Pos 8) C=Custom, blank=default
RESP-Ovrd Restrictions 1 Pos 9) Y=Override Restrictions or L=Light
N=Obey Restrictions or H=Heavy
RESP-Hazmat 1 Pos 10) G = General Restriction
E = Explosive Restriction