【问题标题】:SWIFT MT field format rules [closed]SWIFT MT 字段格式规则 [关闭]
【发布时间】:2011-03-16 20:37:35
【问题描述】:

谁能指出一个文档,其中描述了 MT 消息字段的格式规则?

比如我想知道下面的sn-p是什么意思。

:4!c//3!a/3!a/15d

【问题讨论】:

    标签: documentation swift-mt


    【解决方案1】:

    这在 MT“一般信息”文档中有所描述。您可以找到本文档的 2017 版here。具体来说,请查看第 6.1 节的说明。

    如何阅读:4!c//3!a/3!a/15d:

    • 第一:
    • 然后是 4 个强制性 c
    • 然后 //
    • 然后是 3 个必填项
    • 然后/
    • 然后是 3 个必填项
    • 然后/
    • 然后最多 15 天

    regex中字符类型的简要概述:

    • c 是 [A-Z0-9]
    • a 是 [A-Z]
    • d 是 \d+,\d*

    【讨论】:

      【解决方案2】:

      如何阅读:4!c//3!a/3!a/15d:

      first :
      then 4!c = must be 4 character "c"
      then // is an empty field.
      then 3!a = must be 3 character "a"
      then /
      then 3!a = must be 3 character "a"
      then /
      then maximum 15d is max 15 character include decimal
      

      正则表达式中字符类型的简要概述:

      c is [A-Z0-9]
      a is [A-Z]
      d is (0-9) max 15 character include decimal
      

      例如: 您将填写价格字段 (90a)

      :90B::4!c//4!c/3!a15d

      然后你可以填写 = :90B::DEAL//ACTU/EUR1000,5

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2012-06-08
        • 2019-02-25
        • 1970-01-01
        • 2011-12-03
        • 2015-06-16
        • 2017-07-22
        • 2012-08-30
        • 1970-01-01
        相关资源
        最近更新 更多