I try to execute some simple OCL statements using procedure EQQYRPRC to call rexx EQQOCL under TWS V8R3M0. But I got the following error messages:
---------------------------------------------------------------------------------------------------
EQQCL01I ======================================================================
EQQCL00I Processing: SET VAR1 = 'YES';IF VAR1 = 'YES' THEN ADD APPL(EQQTESTAD2); ELSE EXIT 16
828 +++ ADD APPL(EQQTESTAD2)
828 +++
7164 +++
348 +++
EAGREX4300E Error 43 running compiled EQQOCL, line 828: Routine not found
READY
END
---------------------------------------------------------------------------------------------------
Here the OCL statement I executed is:
---------------------------------------------------------------------------------------------------
//EQQOCL.SYSIN DD *
SET VAR1 = 'YES';,
IF VAR1 = 'YES' THEN ADD APPL(EQQTESTAD2); ELSE EXIT 16
---------------------------------------------------------------------------------------------------
but when I simply execute the below single OCL statement, job runs successfully and application EQQTESTAD2 is added to CP without any error.
---------------------------------------------------------------------------------------------------
//EQQOCL.SYSIN DD *
ADD APPL(EQQTESTAD2)
---------------------------------------------------------------------------------------------------
I searched out some one similar issue here(http://www-01.ibm.com/support/docview.w ... wg1PQ81169), but seems it can't help. It just tells:
---------------------------------------------------------------------------------------------------
1)The OCL SETUPD instruction doesn't work in TWS 8.2 because
a wrong handling is done when the parameters provide in
SETUPD are changed to upper case.
---------------------------------------------------------------------------------------------------
I think there is nothing mistake on the OCL syntax. Can anyone pls tell me where is the error and how to fix? Is it possible due to the TWS version issue?
Thanks