GDDM V3R2 Base Application Programming Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Bar code data (D3EEEB) BDA

GDDM V3R2 Base Application Programming Reference
SC33-0868-02



Contains data parameters for positioning, encoding, and presenting a bar code symbol in the bar code object presentation space. The data to be presented is encoded in accordance with the parameter definitions in the Bar-code-data descriptor (BDD) structured field.

0
Flags to control the presence and position of the human-readable interpretation (HRI).

B'0.......'
The HRI is printed.
B'1.......'
The HRI is not printed.
B'.00.....'
The printer default is used for positioning the HRI.
B'.01.....'
The HRI is printed below the bar code symbol.
B'.10.....'
The HRI is printed above the bar code symbol.
B'...0....'
No asterisk is printed as the HRI for 3-of-9 code start and stop.
B'...1....'
An asterisk is printed as the HRI for 3-of-9 code start and stop.

1 - 2
x coordinate of the top left corner of the bar code symbol (in the range 1 through 32767).

3 - 4
y coordinate of the top left corner of the bar code symbol (in the range 1 through 32767).

5 - n
bar coded data.

The coordinates in bytes 1-2 and 3-4 are expressed using the measurement units defined in the BDD structured field. The format and length of the data is determined by the bar code type specified in the BDD (see Table 39).


   Table 39. Format of bar code data
   Type                                Length      Data
   3-of-9                              variable    Alphanumeric characters
   MSI                                 variable    Numeric characters
   UPC/CGPC-Version A                  11          Numeric characters
   UPC/CGPC-Version E                  10          Numeric characters
                                                   (5th to 9th must be 0)
   UPC 2-digit supplement              2           Numeric characters
   UPC 5-digit supplement              5           Numeric characters
   EAN 8 (include JAN short)           7           Numeric characters
   EAN 13 (includes JAN standard)      12          Numeric characters
   2-of-5                              variable    Numeric characters
   EAN 2-digit add-on                  2           Numeric characters
   EAN 5-digit add-on                  5           Numeric characters
   Note:  Numeric characters are in EBCDIC from X'FO' through X'F9'.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012