<QRCODE>

Controls the mode of a QR code barcode as well as the strength of error correction used to encode the data.

To encode lowercase alpha-numeric such as a URL: use <QRCODE> B (binary encoding). Here is an example with the correct encoding:

// QR Code
<add>
   <addtype>Q
   <addpart>'_http://www.g1.com/support'
   <qrcode> 1 B Y
   <position> 2 2 IN
</add>

Tag Group

Add tag group

Syntax

<QRCODE> errorCorrection encodeMode translateYN

Parameter Description Default
errorCorrection A number from 0 to 3 that indicates the percentage of codewords that can be recovered.
  • 0 — 7% of codewords can be recovered.
  • 1 — 15% of codewords can be recovered.
  • 2 — 25% of codewords can be recovered.
  • 3 — 30% of codewords can be recovered.
0
encodeMode The encoding mode to use when creating a QR code. One of the following.
  • N[umeric]
  • A[lphanumeric]
  • B[inary]
  • K[anji]
None
translateYN If set to Yes, then the contents of the QR code barcode will be translated from EBCDIC to ASCII. If set to No, the contents will remain as is. Y (on z/OS)