Using the example files

  • This map is a sample validation against a schema, in order to validate a SEPA message to be structurally correct. It is not to be confused with the full validation framework that the SEPA component offers.

  • The purpose of the example map sepa_passthrough.mms is to do a schema validation for a pacs.008 message on z/OS. The map will take a pacs.008 data file message and validate it against the pacs.008.001.08 schema. The schema used in this example is pacs.008.001.08.xsd which resides in the following installation path:

    <install_dir>/packs/financial_payments_vn.n.n.n/sepa/mapsandschemas

    Where <install_dir> is the installation location of the Pack for Financial Payments.

  • For validation against a schema on z/OS, the type tree that represents the schema needs to be modified in the Location for the Doc Object, so that it points to the DDNAME where the schema will be referenced. The format for this modification is //DD:PC008XSD. The type tree, pacs.008.001.08_mvs.mtt, contains that change.

  • The map needs to be built for the z/OS platform, generating an .mvs file, which then needs to be ported in Binary mode to the z/OS platform. The schema, pacs.008.001.08.xsd, and data file, FIToFICstmrCdtTrf_pacs008.xml also need to be ported in Binary mode to z/OS, following the convention of a unique eight character name. The map and the schema must be in the same location in the z/OS environment.

    The JCL provided in the maps subdirectory, which can also be ported to z/OS in TEXT (ASCII) mode, shows an example for the name of the data sets and file names used.

  • The execution of this map produces no output, as its objective is mainly for validation purposes. In the event the validation fails, modify the JCL by adding a trace parameter, such as: PARM='MAPDDS /P256:12 -IF1 INPAC008 -TI'