Calling methods on a resource object
Any of the public methods can be called on an object of that class.
For example:
IccTempStoreId id("TEMP1234");
IccTempStore temp(id);
temp.writeItem("Hello TEMP1234");
Method writeItem writes the contents of the string it is passed ("Hello TEMP1234") to the CICS® Temporary Storage queue "TEMP1234".