User`s guide
PC*MILER-AS400 User’s Guide  48 
 RESP-Seq   4  Pos 23-26) Sequence for multiple responses 
  RESP-ERR  2  Pos 27-28 Error Code  
 E2 Place not found 
  RESP-CIT  980  Array of 14 places 70 bytes each left justified 
 or 
 Error message if there is a problem 
Filler  15 
6.2.2 Point-to-point Miles (MI) Request and Response 
1. (Request) The following are field parameters for requesting miles. The 
purpose of the Mileage request is to allow the host application to retrieve 
point-to-point miles. This type of request could be used for a quick mile 
lookup from a host inquire program or for running several stop-off points in 
a batch environment. The host dispatching software could generate this 
request when a new trip is established. 
Var Name  Len  Value Description  Extended Format 
  REQ-TYPE  2  MI Miles request 
  REQ-REF  10  Output Queue Name 
 (ALK uses ‘Q’ + the job number) 
Trip Options Positions 13-22      Request Position 
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  










