icDataItemName | input | character | The name of the cached character type item for which the value needs to be returned. |
ocValue | output | character | The value of the cached character data item with the name specified in icDataItemName. |
oiReturnStatus | output | integer | Return status of the method. |
find tCachedData where tCachedData.tcName = icDataItemName and tCachedData.tcDataType = "c" no-error. if available tCachedData then assign ocValue = tCachedData.tcCharValue. else assign ocValue = ?.