www.krengeltech.com

UPS_timeInTransit

From Wiki

User Guide

Contents

Description

This subprocedure uses to/from address data, as well as package information, from DB2 physical file UPSTTRQ corresponding to the unique ID passed, composes the necessary XML, and verifies it against the UPS web service. The response is stored in DB2 physical file UPSTTRS.

Prototype

     D UPS_timeInTransit...
     D                 pr
     D  pUID                         15  0
     D  pError                             likeds(UPS_Error)

Parameters

pUID
Unique ID used to identify this request. Generated via UPS_getUID.
pError
This parameter is a data structure which holds any errors or messages generated during this subprocedure.

Return value

None.

Notes / Examples

UPS_getUID must be used to generate a unique request ID before using this function.