I am as RPG CLP Programmer..
I am calling a JAVA class from a cl program with three parameters. And the JAVA program gives me the three parameters back and include a fourth one....I need this fourth parameter back in the CLP program not on display...
You I included a fourth parameter &PARM4 to see if a get the displayed data back in the program but does not work...
Can any one help..
This is my call from within the CL program:
/*SET NEW JOB ENVIRONMENT VARIABLES */
ADDENVVAR ENVVAR(CLASSPATH) +
VALUE('/QOpenSys/GeneraPinBlock2') +
REPLACE(*YES)
ADDENVVAR ENVVAR(QIBM_MULTI_THREADED) VALUE(Y)
/*RUN JAVA COMMAND WITH PARAMETERS */
JAVA CLASS(GeneraPinBlock2) +
PARM(XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +
XXXXXXXXXXXXXXXX XXXX &PARM4) +
CLASSPATH('/QOpenSys/GeneraPinBlock2') +
CHKPATH(*IGNORE) OPTIMIZE(*INTERPRET) +
INTERPRET(*YES)
on Display after run:
Java Shell Display
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXX
XXXX
XXXXXXXXXXXXXXXX <= I need this data back in the CLP program
Java program completed