|
Anleitung Zusammenfassung
RESP-MVS 3 PC*MILER Version (Pos 29-31) New• ........ RESP-Fill 7 PC*MILER Version (Pos 32-38) STATEMIL 220 10 elements each element will consist of: 2 for state code 5 for total miles 4 for toll miles FILLER 118 7.2.5 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 PC*MILER|AS/400 MVS User’s Guide 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) REQ-REGION 1 Pos 7) A=Asia,E=Europe,F=Africa,N=North America, O=Oceania,S=South America REQ-Custom Routing 1 Pos 8) C=Custom, blank=default REQ-Ovrd Restrictions 1 Pos 9) Y=Override Restrictions or L=Light N=Obey Restrictions or H=Heavy REQ-Hazmat 1 Pos 10) G = General Restriction E = Explosive Restriction I = Inhalant Restriction R = Radioactive Restriction REQ-SEQ 4 Sequence for multiple responses REQ-ERR 2 Error Code REQ-CIT 700 Array of 10 places 70 bytes each left justified 3 sets of 700 when using the more flag 38 byte maximum city name 1 byte comma 2 byte state abbrev 1 byte comma (optional) 13 byte county name (optional) or 1 byte semicolon ; followed by street address Examples Warminster,PA,BUCKS Warminster,PA;1174 NASSAU ROAD 18974 Lat/long format should be 1234567N,1234567W 5 digit zips only Canadian Postal Codes use the formal L#L #L# PC*MILER|AS/400 MVS User’s Guide 2. (Response) Following are field parameters for a response to the route and state miles request. The PC response record has all of the required detailed route information. There are four route list records\response records. Therefore, if there are more than four records for the route, additional response records must be returned. Multiple returned records are designated by the "M" in the "MORE" parameter field. . .... REMEMBER: A “CP” and “SR” output record will always precede the “HR” response record. Response from PC Len Value Description REQTYPE 2 HR Route highway information returned REFNUM 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 FootTrailer/ 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) REQ-REGION 1 Pos 7) A=Asia,E=Europe,F=Africa,N=North America,O=Oceania,S=South America REQ-Custom Routing 1 Pos 8) C=Custom, blank=default REQ-Ovrd Restrictions 1 Pos 9) Y=Override Restrictions or L=Light N=Obey Restrictions or H=Heavy REQ-Hazmat 1 Pos 10) G = General Restriction E = Explosive Restriction I = Inhalant Restriction R = Radioactive Restriction PC*MILER|AS/400 MVS User’s Guide REQ-SEQNUM 4 REQ-ERROR 2 E1 E2 E3 E4 E5 E9 New• ........ RESP-MVS 3 New• ........ RESP-Fill 7 RouteInfo 300 ROUTEINFO 3 sets FILLER 2 Sequence for multiple responses Error codeFirst state not foundFirst city not foundSecond state not foundSecond city not foundUnable to resequence Disconnected Highway Network PC*MILER Version (Pos 29-31) PC*MILER Version (Pos 32-38) 3 Sets of 100 Each 2 indicates end of route data for stop 2 state code 1 toll indicator 6 directional (North, Turn L, etc) 35 route number 4 leg mileage 38 for intersection city or junction 6 for cumulative leg miles 6 for cumulative stop miles NOTES: The PC will send CP response records for MI requests. The PC will send CP and SR response records for SM requests. The PC will send CP, SR, and HR response records for HS requests 7.2.4.1 Upgrade Notice All HR returns regardless of requested PC*MILER Ver...
Dieses Handbuch ist für folgende Modelle:Netzwerk - AS/400 (389.55 kb)
Netzwerk - AS/400 (389.55 kb)