| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- <config>
- <attribute id="mapping-script">
- String unescape(String p) {
- id.co.hanoman.config.Util.unescape(p)
- }
- Object dtree(String group, String treeRoot) {
- id.co.hanoman.mbplugin.codex.UtilCodex.dtree(config, ctx, group, treeRoot, msg, head, tar);
- }
- String hex(String p) {
- id.co.hanoman.config.Util.hex(p)
- }
- void copyMessage() {
- id.co.hanoman.config.UtilMQ.copyMbMessage(tar.'!this', msg.'!this');
- }
- void copyMessage(String dest, String src) {
- id.co.hanoman.config.UtilMQ.copyMbMessage(id.co.hanoman.config.UtilMQ.getMbFolder(tar.'!this'?.getRootElement()?.getLastChild()?.getLastChild(), dest), id.co.hanoman.config.UtilMQ.getMbFolder(head.'!this', src));
- }
- void copyMessageToChild(String id) {
- id.co.hanoman.config.UtilMQ.copyMbMessage(id.co.hanoman.config.UtilMQ.getMbFolder(tar.'!this', id), msg.'!this');
- }
- void setValue(String name, String value) {
- mbt.createElementAsLastChild(com.ibm.broker.plugin.MbXMLNSC.FOLDER, name, value);
- }
- String counter(String id, int hiLength, int loLength, String dateReset) {
- id.co.hanoman.config.Util.counter(id, hiLength, loLength, dateReset);
- }
- String convert(String type, Object value, int length) {
- id.co.hanoman.config.Util.convert(type, value, length);
- }
-
- String decimalFormat(String format, Number value) {
- new java.text.DecimalFormat(format).format(value);
- }
-
- String getTimeZoneFormat(String format, String timeZone) {
- id.co.hanoman.config.Util.getTimeZoneFormat(format, timeZone);
- }
-
- String getTimeZoneFormat(String format, String timeZone, Date) {
- id.co.hanoman.config.Util.getTimeZoneFormat(format, timeZone, Date);
- }
-
- String getUID(String str){
- id.co.hanoman.config.Util.getUID(str);
- }
-
- Object bitmap(Map msg, List fields) {
- id.co.hanoman.config.Util.bitmap(msg, fields);
- }
-
- Object bitmapHex(Map msg, List fields) {
- id.co.hanoman.config.Util.hex(id.co.hanoman.config.Util.bitmap(msg, fields));
- }
-
- String getParamValue(String group, String name, String defaultValue) {
- ctx.getParamValue(group, name, defaultValue, src, head, local, idx, size, tar);
- }
-
- List getParamValues(String group, String name) {
- ctx.getParamValue(group, name, src, head, local, idx, size, tar);
- }
-
- String binaryToNumeric(String type, Object value) {
- id.co.hanoman.config.Util.binaryToNumeric(type, value)
- }
-
- String ebcdicToAscii(String value) {
- id.co.hanoman.config.Util.ebcdicToAscii(value)
- }
- </attribute>
-
- <include id="abcs-in" __src="abcs-in.xml"/>
- <include id="abcs-out" __src="abcs-out.xml"/>
- <codex id="dsp-abcs-subresponse">
- <field id="responseLength" type="groupLengthBinary" decimal-format="packed" length="2" base="2" />
- <field id="responseCode" type="string" charset="cp1047" length="2" />
- <field id="responseHeader" type="binary" length="1" />
-
- <field id="!type" type="script">${msg.get("responseCode")}</field>
- <field id="!subCodex" type="script">dsp-abcs-subresponse-${msg.get("responseCode")}</field>
- </codex>
- <codex id="dsp-abcs-subresponse-60">
- <field id="responseLength" type="groupLengthBinary" decimal-format="packed" length="2" base="2" />
- <field id="responseCode" type="string" charset="cp1047" length="2" />
- <field id="responseHeader" type="binary" length="1" />
- <field id="UNCODE" type="string" charset="cp1047" length="4" />
- <field id="PYIDCS" type="string" charset="cp1047" length="20" />
- <field id="PYNMCS" type="string" charset="cp1047" length="40" />
- <field id="UNREK" type="string" charset="cp1047" length="19" />
- <field id="AMOUNT" type="string" charset="cp1047" length="19" />
- <field id="UNPYTP" type="string" charset="cp1047" length="3" />
- <field id="UNNAME" type="string" charset="cp1047" length="40" />
- <field id="PYIDTG" type="string" charset="cp1047" length="11" />
- <field id="PYKDRY" type="string" charset="cp1047" length="10" />
- <field id="PYALM1" type="string" charset="cp1047" length="40" />
- <field id="UNRSV1" type="string" charset="cp1047" length="10" />
- <field id="PYAWAL" type="string" charset="cp1047" length="19" />
- <field id="PYAKHIR" type="string" charset="cp1047" length="19" />
- <field id="PYUSED" type="string" charset="cp1047" length="19" />
- <field id="UNAMT1" type="string" charset="cp1047" length="19" />
- <field id="UNAMT2" type="string" charset="cp1047" length="19" />
- <field id="UNAMT3" type="string" charset="cp1047" length="19" />
- <field id="UNAMT4" type="string" charset="cp1047" length="19" />
- <field id="UNAMT5" type="string" charset="cp1047" length="19" />
- <field id="UNAMT6" type="string" charset="cp1047" length="19" />
- <field id="UNAMT7" type="string" charset="cp1047" length="19" />
- <field id="UNAMT8" type="string" charset="cp1047" length="19" />
- <field id="UNAMT9" type="string" charset="cp1047" length="19" />
- <field id="UNAMTA" type="string" charset="cp1047" length="19" />
- <field id="ADMAMT" type="string" charset="cp1047" length="10" />
- <field charset="cp1047" id="PYNMRY" length="40" type="string"/>
- <field charset="cp1047" id="PYANGS" length="4" type="string"/>
- <field charset="cp1047" id="UNRSVF" length="1" type="string"/>
- <field charset="cp1047" id="FEPSD2" length="2" type="string"/>
- <field charset="cp1047" id="FEPED2" length="2" type="string"/>
- <field charset="cp1047" id="NOREFF" length="25" type="string"/>
- <field charset="cp1047" id="ADBAMT" length="10" type="string"/>
- <field charset="cp1047" id="ADMBNK" length="10" type="string"/>
- <field charset="cp1047" id="FEESWT" length="10" type="string"/>
- <field charset="cp1047" id="ACTADB" length="19" type="string"/>
- <field charset="cp1047" id="ACTSWT" length="19" type="string"/>
-
- <!--field id="PYNMRY" type="string" charset="cp1047" length="40" />
- <field id="PYANGS" type="string" charset="cp1047" length="4" />
- <field id="UNRSVF" type="string" charset="cp1047" length="1" /-->
- <field id="!type" type="script">${msg.get("responseCode")}</field>
- </codex>
- <codex id="dsp-abcs-subresponse-F2">
- <field id="responseLength" type="groupLengthBinary" decimal-format="packed" length="2" base="2" />
- <field id="responseCode" type="string" charset="cp1047" length="2" />
- <field id="responseHeader" type="binary" length="1" />
- <field id="FILLER1" type="binary" length="1" />
- <field id="ERROR" type="string" charset="cp1047" length="54" />
- <field id="FILLER2" type="binary" length="1" />
- <field id="TLBERR" type="numericBinary" decimal-format="packed" length="2" />
- <field id="AVBAL" type="numericBinary" decimal-format="P(2)" length="10" />
- <field id="!type" type="script">${msg.get("responseCode")}</field>
- </codex>
- <codex id="dsp-abcs-subresponse-F4">
- <field id="responseLength" type="groupLengthBinary" decimal-format="packed" length="2" base="2" />
- <field id="responseCode" type="string" charset="cp1047" length="2" />
- <field id="responseHeader" type="binary" length="1" />
- <field id="TLXMNE" type="string" charset="cp1047" length="3" />
- <field id="FILLER1" type="binary" length="1" />
- <field id="RSSNAM" type="string" charset="cp1047" length="20" />
- <field id="MSID" type="string" charset="cp1047" length="2" />
- <field id="MSD" type="string" charset="cp1047" length="18" />
- <field id="HEX11" type="binary" length="1" />
- <field id="MSID2" type="string" charset="cp1047" length="2" />
- <field id="MSD2" type="string" charset="cp1047" length="18" />
- <field id="MSID3" type="string" charset="cp1047" length="2" />
- <field id="MSD3" type="string" charset="cp1047" length="18" />
- <field id="ACC" type="numericBinary" decimal-format="packed" length="10" />
- <field id="PBSRN" type="numericBinary" decimal-format="packed" length="4" />
- <field id="CRBBAL" type="numericBinary" decimal-format="P(2)" length="8" />
- <field id="AVLBBAL" type="numericBinary" decimal-format="P(2)" length="8" />
- <field id="!type" type="script">${msg.get("responseCode")}</field>
- </codex>
- </config>
|