Example 3: Send SOAP Message Using the Default Safe
This example assumes that the SOAP server SOAPHUB was defined in the SA z/OS
customization dialog SOAP SERVER policy. To request a list of
address spaces starting with TEST and analyze their CPU utilization, you can construct and send a
SOAP message like the one below to SOAPHUB in the following way:
smsg.1 = '<CT_Get>'
smsg.2 = ' <userid>&ing_userid.</userid>'
smsg.3 = ' <password>&ing_password.</password>'
smsg.4 = ' <object>Address_Space_CPU_Utilization</object>'
smsg.5 = ' <attribute>job_name</attribute>'
smsg.6 = ' <attribute>asid</attribute>'
smsg.7 = ' <attribute>tcb_percent</attribute>'
smsg.8 = ' <afilter>Job_Name;LIKE;TEST*</afilter>'
smsg.9 = '</CT_Get>'
smsg.0 = 9
'PIPE (NAME SOAPREQ)',
'| STEM smgs.',
'| COLLECT',
'| SAFE *',
'| NETV INGOMX SOAPREQ SERVER=SOAPHUB DATA=*'