The command iso8583.putfield is used to insert a field in the message, in ascending order (mandatorily).
In the example above, the function initISO8583Message was created in order to start the message, insert the fields (those with values) and finish the message.
For demonstration purposes, only the bits BIT41 and BIT64 are being used. Both bits are going to be added to the ISO8583 message through the command iso8583.putfield.
The value must be formatted and aligned according to the specification (bitmap.dat).
The value should be formatted and aligned according to the specification of the bitmap (bitmap.dat).