PowerExchange for CDC and Mainframe
- PowerExchange for CDC and Mainframe 10.5.4
- All Products
Check(CallProgRC,'message',"comparison",return_code1,return_code2,return_code3)
Parameter
| Description
| Datatype
|
---|---|---|
CallProgRC
| The return code from a program called by the CallProg function. This name must match the name specified for the result argument in the CallProg function.The Check function compares this return code against the specified return code values.
| NUM32
|
message
| A user-defined message that is written to the PowerExchange message log when the return code either matches or does not match, depending on the type of comparison being performed, one of the specified return codes in the list.
Enclose the message text in single quotes.
| -
|
comparison
| The type of comparison to be performed. The options are:
Enclose the comparison value in quotes.
| -
|
return_code1
return_code2
return_code3
| A list of one or more return code values. The Check function compares the return code from the program called by the CallProg function against this list of return code values. You must specify at least one return code value.
| NUM32
|