Hi, all.
I am trying to call rpg program from java. RPG program has no parameter. It's just a simple program to populate data in to database. I created procedure as follow:
CREATE PROCEDURE GC/GCPRC001 LANGUAGE RPG NO SQL
EXTERNAL NAME GC/GCPRC001R PARAMETER STYLE GENERAL
Then in java:
CallableStatement cs;
cs = connection.prepareCall(rpgCall);
When I run java program it pass the statement above, no errors.
But it doesn't populate any data in the file. I have no way to check whether program is running or not in as400.
Any idea, anyone?
floppyredshoes.
I am trying to call rpg program from java. RPG program has no parameter. It's just a simple program to populate data in to database. I created procedure as follow:
CREATE PROCEDURE GC/GCPRC001 LANGUAGE RPG NO SQL
EXTERNAL NAME GC/GCPRC001R PARAMETER STYLE GENERAL
Then in java:
CallableStatement cs;
cs = connection.prepareCall(rpgCall);
When I run java program it pass the statement above, no errors.
But it doesn't populate any data in the file. I have no way to check whether program is running or not in as400.
Any idea, anyone?
floppyredshoes.
Comment