We are having issues with qryslt in clp on V7R1.
The code does this:
CHGVAR VAR(&QRYSLT) VALUE('T1ORDR *NE '' ''')
CHGVAR VAR(&QRYSLT) VALUE(&QRYSLT *TCAT ' *AND +
%CHAR(T1DATE "*ISO") *GE ' *CAT '''' *CAT +
&SDATE *CAT '''' *CAT ' *AND %CHAR(T1DATE +
"*ISO") *LE ' *CAT '''' *CAT &EDATE *CAT +
OPNQRYF FILE((QTEMP/POE79WS)) OPTION(*INP) +
QRYSLT(&QRYSLT) KEYFLD((T1DATE) (T1LOAD))
We get this messageon the OPNQRYF statement:
Message . . . . : Operand for *GT function not valid.
Cause . . . . . : The operator or built-in function *GT, was specified at
position 8 in the expression on the QRYSLT parameter. If the error occurred
on the MAPFLD parameter, the expression was specified for the definition of
field *N. For the %RANGE, %VALUES, and %WLDCRD built-in functions, the
error may be caused by the first operand for the *EQ operator that is
associated with the built-in function. Conditions that can cause this error
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!