Special Format Data

Navigation:  »No topics above this level«

Special Format Data

Previous pageReturn to chapter overviewNext page

If the "Data" property is properly formatted and begins with the 7 characters "[)><RS>01<GS>",  ZipCode, CountryCode and ServiceClass properties will be automatically overridden.

 

For example, let's set the "Data" property to the following value:

[)><RS>01<GS>9615238<GS>840<GS>001<GS>AIM, Inc<GS>634 Alpha Drive<GS>Pittsburgh<GS>PA<RS><EOT>

In this format, the identifier "[)><RS>01<GS>" is followed by a date (YY), in this example, it is "96".

 

The above data is encoded in a particular manner as follows:

1)The first 9 data characters [)><RS>01<GS>YY are extracted

2)The next 3 data elements separated by <GS>, representing respectively the zip code, country code and service class, are extracted and encoded in the primary message. In this example, they are 15238, 840 and 001, so Zipcode, Country and ServiceClass properties are automatically overridden.

3)The remaining string preceded with [)><RS>01<GS>YY is encoded in the secondary message. In this example, it is

 [)><RS>01<GS>YYAIM, Inc<GS>634 Alpha Drive<GS>Pittsburgh<GS>PA<RS><EOT>

 

 

Remarks:

 

<RS>, <GS> and <EOT> indicate 3 characters with ASCII values 30, 29 and 4 respectively.