Hunter Zolomon
Hunter Zolomon

Reputation: 87

JAVA GUI and AS400 RPGLE

I know how to code in JAVA and also RPGLE. The problem I am having is connecting the two. I want to be able to use a JAVA GUI as input and pass the parms as values to an RPGLE module that then saves these to a file. Like I had stated I know how to do the process separatly, but I am having problems figuring out how to pass from ECLIPSE to the iSeries.

Thanks,

Upvotes: 2

Views: 641

Answers (1)

Charles
Charles

Reputation: 23783

You can't "pass values to an RPGLE module"

*MODULE objects are non-executable. They must be bound into either a a *PGM object or a *SRVPGM object in order for the procedures contained in them to be executed.

It'd be helpful if your question included the code you've tried.

I assume you're using JTOpen, "a library of Java classes supporting the client/server and internet programming models to a system running IBM i."

That being the case, you have two direct options..

Upvotes: 3

Related Questions