DFH7258I S 'option1' IS NOT VALID AS AN ARGUMENT TO 'option2' AND IS NOT TRANSLATED.
Explanation
A program statement references a translator builtin function such as DFHRESP or DFHVALUE, but the function reference is not followed by text in the form of an identifier. A valid identifier is a string of text in which the first character is alphabetic and the remaining characters are either alphabetic or numeric. The string must not be enclosed in quotes.
System action
The builtin function specification cannot be translated.
User response
This error would be caused by the following statement -
IF MYRESP = DFHRESP('INVREQ') ....
because the argument of DFHRESP is coded as a literal, and also in the following statement -
IF STATUS = DFHVALUE(228) ........
because the argument of DFHVALUE is an arithmetic value.
Refer to the Reference: application development for details of how to make use of the DFHRESP and DFHVALUE builtin translator functions.
Module
Destination
SYSPRINT