Sample request message entirely in XML
Stabilized feature: Service Flow Runtime and Service Flow Modeler capability in IBM Developer for z/OS 14.2.3
are stabilized. Consider exposing and orchestrating applications as API services by using z/OS Connect Enterprise Edition or CICS®
web services, or by writing web applications in Java or Node.js. See also Stabilization notices and discontinued functions.
The following sample is a request message in XML.
For a description of the fields in the CICS Service Flow Runtime message header, DFHMAH, see Request message headers.
The value specified in the dfhmah_datalength element represents the length of the application data in flat format; not the length of the XML elements between the start application data tag, <dfhmaad>, and the end application data tag, </dfhmaad>.
<?xml version="1.0" encoding="UTF-8"?>
<cbl:dfhmamsg>
<dfhmah>
<dfhmah__strucid>MAH</dfhmah__strucid>
<dfhmah__version>2</dfhmah__version>
<dfhmah__struclength>384</dfhmah__struclength>
<dfhmah__userid>USER0001</dfhmah__userid>
<dfhmah__format> </dfhmah__format>
<dfhmah__returncode>0</dfhmah__returncode>
<dfhmah__compcode>0</dfhmah__compcode>
<dfhmah__mode>0</dfhmah__mode>
<dfhmah__suspstatus>0</dfhmah__suspstatus>
<dfhmah__abendcode>NONE</dfhmah__abendcode>
<dfhmah__message>message one</dfhmah__message>
<dfhmah__uowcontrol>0</dfhmah__uowcontrol>
<dfhmah__processtype>DFHMAINA</dfhmah__processtype>
<dfhmah__processname></dfhmah__processname>
<dfhmah__requestname>MAIVPREQ</dfhmah__requestname>
<dfhmah__datalength>22</dfhmah__datalength>
<dfhmah__failed__procname> </dfhmah__failed__procname>
<dfhmah__failed__proctype> </dfhmah__failed__proctype>
<dfhmah__failed__tranid> </dfhmah__failed__tranid>
<dfhmah__replytoq> </dfhmah__replytoq>
<dfhmah__replytoqmgr> </dfhmah__replytoqmgr>
<dfhmah__msgid> </dfhmah__msgid>
<dfhmah__correlid> </dfhmah__correlid>
<dfhmah__failed__program> </dfhmah__failed__program>
<dfhmah__failed__node> </dfhmah__failed__node>
<dfhmah__linktype></dfhmah__linktype>
<dfhmah__more__data__ind>0</dfhmah__more__data__ind>
<dfhmah__bridge__rc>0</dfhmah__bridge__rc>
<dfhmah__statetoken> </dfhmah__statetoken>
<dfhmah__reserved2> </dfhmah__reserved2>
</dfhmah>
<dfhmaad>
<cif__input>
<cifflag>D</cifflag>
<account__no>10000</account__no>
<user__id></user__id>
<user__password></user__password>
</cif__input>
</dfhmaad>
</cbl:dfhmamsg>