Format: ansLength: ...999Variable (LLLVAR — 3-digit length prefix)
DE 62

Reserved — Private (Custom/Trace)

Data element
62
Format
ans
Format defined in
ISO 8583:1987
Length
...999
Encoding type
LLLVAR
Bitmap
Primary

What it is

Private use. Visa: custom payment service fields (transaction ID). Mastercard: intermediate network data.

DE 62 on the wire

Bitmap position

DE 62 is bit 62 of the primary bitmap: byte 8, mask 0x04. A primary bitmap with only DE 62 present reads 0000000000000004 in hex.

Length

DE 62 is variable length (LLLVAR): a 3-digit prefix gives the length of the value in characters, from 0 to 999. A 12-character value is sent as 012 followed by the value. In ASCII the prefix is the bytes 30 31 32; dialects that pack lengths as BCD send 00 12 instead.

Size in the message

At most 1002 bytes when the message travels as text (ASCII or EBCDIC), or 1001 bytes in binary dialects that pack the length prefix as BCD.

Format ans

Format ans means alphanumeric and special: letters, digits, space and punctuation.

Specification reference

Defined in ISO 8583:1987 (base). Card networks publish their own dialect tables (Visa BASE I / V.I.P., Mastercard CIS) that refine formats, lengths, and — for private-use elements — the entire layout. Always confirm against the interface specification you implement.

Decode & build this element