ALK Technologies AS/400 manual Req-Parms, Req-Sequence, Req-Error Req-Mvs, Req-Fill, Resp-Parms

Models: AS/400

1 76
Download 76 pages 61.38 Kb
Page 38
Image 38

34

PC*MILERAS/400 MVS User’s Guide

 

 

 

 

Use a street number.

Example: Princeton, NJ;1000 Herrontown Road as opposed to “Princeton, NJ;Herrontown Road”. In this example, if Herrontown Road is 50 miles long and no address is included, the returned mileages could be very inaccurate.

When a street address is not supplied, do not send a semi-colon.

Example: Send 08540 as opposed to “08540;” – a semi-colon will cause the server to look up a blank address which is not necessary.

Three examples of correct input:

Trenton, NJ;21 Olden Avenue New York, NY;118 Broadway 20001

7.2.1PC*MILER Versions Available (MV) Request and Response

It is recommended that you maintain a list of available versions via the MV request type. Within the NV return is a space-delimited list of available versions. For instance: 140 150 161 170

Note: The PC*MILERAS/400 Multiple Version Switch PC mileage Server is designed such that if the Mileage Server (as400.exe) loses connection to a particular version of PC*MILER, the affected version will be removed from the list.

Version Request:

Var Name

Len

Value

Description

REQ-TYPE

2

MV

PC*MILER Versions Available

REQ-REF

10

 

Output Queue Name

 

 

 

(ALK uses “Q” plus job number)

REQ-PARMS

10

 

Optional

REQ-SEQUENCE

4

 

Optional

REQ-ERROR

2

 

 

REQ-MVS

3

 

Optional

REQ-FILL

237

 

Blank Fill

Total

268

 

 

Version Response:

Var Name

Len

Value

Description

RESP-TYPE

2

NV

Stop pick list

RESP-REF

10

 

Output Queue Name

RESP-PARMS

10

 

Trip Parms

RESP-SEQUENCE

4

 

Always 0001

RESP-ERR

2

 

Pos 27-28 Error Code

Page 38
Image 38
ALK Technologies AS/400 manual Req-Parms, Req-Sequence, Req-Error Req-Mvs, Req-Fill, Resp-Parms, Resp-Sequence, Resp-Err