Example 4: Send SOAP Message Using a Data Set

As an alternative, the XML source in Example 3 can also be stored in a data set. The invocation of INGOMX would then be:
'PIPE (END % NAME SOAPREQ)',
'| NETV (MOE) INGOMX SOAPREQ SERVER=SOAPHUB DATA=USER.SOAP.DATA(GET)',
'| L: LOC 1.8 'del||'DWO369I '||del,
'| EDIT SKIPTO 'del||'RETURN CODE'||del,
'       UPTO 'del||'.'||del,
'       WORD 3 1',
'| VAR my_retcode',
'% L:',
'| CON ONLY'
The variable del is a delimiter character that does not appear in the data stream that is returned, for example, X'0D'.