
86 Developing Web Services Using CICS, WMQ, and WMB
Output Parameters
Table 5-8 Add/update address (ITSOUA04) Output Parameters
Return Codes
RC=0 means OK
RC=1 means Insert Name Failed - SQL error
RC=2 means Name already exists when trying to do an Add
RC=3 means Current and new address are the same
RC=4 means call to AddAddress Failed
RC=5 means Supplied AddressHash didn't match existing address for name
RC=6 means Cannot update non-existent name entry
RC=7 means Notification to broker failed (MQ error)
Logic
Attempt to retrieve NAMES table entry for the person named
If there was a SQL error, other than no NAMES entry
– Set RC=2 Reason=SQLCODE SQLST ...