Very good point! Except the op explicitly asked: "...how to do the 1140 decoding?" Seemed like something is missing from the scenario requiring extra message processing prior to forwarding to MQ.
------------------------------
Joseph Morgan
------------------------------
Original Message:
Sent: Fri August 18, 2023 05:55 AM
From: Hermann Stamm-Wilbrandt
Subject: Need help to do the IBM 1140 decoding in Datapower
Why use GatewayScript at all?
From the OP question a passthru MPGW with MQ backend would do.
Why parse on DP?
------------------------------
Hermann Stamm-Wilbrandt
Compiler Level 3 support
IBM DataPower Gateways (⬚ᵈᵃᵗᵃ / ⣏⠆⡮⡆⢹⠁⡮⡆⡯⠂⢎⠆⡧⡇⣟⡃⡿⡃)
https://stamm-wilbrandt.de/en/blog/
------------------------------
Original Message:
Sent: Thu August 17, 2023 04:23 PM
From: Joseph Morgan
Subject: Need help to do the IBM 1140 decoding in Datapower
What have you tried? That is, have you tried a GatewayScript readAsBuffer() with JSON.parse()?
------------------------------
Joseph Morgan