eugene stein

Greenhorn
+ Follow
since Sep 18, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by eugene stein

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






14 years ago