ISO 8583 · Data fields

Field 39Response Code

pyiso8583 starter profilesIndependent explanation

What this field describes

The response code uses two ASCII bytes in both starter profiles. The library specifies its format, not the meaning of every response value.

Do not insert a three or four digit action code into this two byte profile. Obtain the response meanings and permitted recovery actions from the connection specification.

Compare the two profiles

Container settings from the pinned pyiso8583 source.
Settingdefaultdefault_ascii
Value encodingASCIIASCII
Length limitExactly 2 bytesExactly 2 bytes
PrefixNoneNone

Length limits describe encoded values. They exclude any length prefix. The profiles can be customized; these settings do not establish the required fields or accepted values for a live connection.

Read the field boundary

Field 392 bytesASCII value

Read exactly 2 value bytes. The next field begins immediately afterwards under this profile; no length prefix belongs to this field.

Find it in the bitmap

Bitmap
Primary
Position
39
Byte
5
Bit in byte
7

Positions start at one. Bits are counted from the most significant bit of each bitmap byte. This calculation locates the field’s presence indicator, not its value.