Command iso8583.analyzemessage

The command iso8583.analyzemessage is used to start the process of analysis and decomposition of the fields of the message.

The command iso8583.analyzemessage is used to start the process of analysis and decomposition of the fields of the message.

Parameters

  1. format [string]
    Format of the message to be analyzed, which can be ASCII or BCD.
  2. size [integer]
    Size of the message being analyzed.
  3. variableid [string]
    Variable that stores the message ID.
  4. variablemessage [string]
    Variable that stores the message to be analyzed.
  5. variablereturn [integer]
    Variable that will store the return code, where:
    • 0: message successfully analyzed
    • -806: error on the analyzed message

Example

In the example above, after performing the transaction with the command iso8583.transactmessage, the authorizer responds by sending another ISO message, which is stored in the variable ReceiveMsgISO, and the amount of bytes of the variable on iRecvBytes.

The command iso8583.analyzemessage is executed to analyze the message returned by the authorizer, if executed successfully, then the function Getfields is executed to retrieve the fields of the reply message.