How can I call and execute an RPG/COBOL OBJ from Java?
Here's a sample code:
// Create an AS400 object. AS400 sys = new AS400("mySystem.myCompany.com"); // Create a command call object CommandCall cmd1 = new CommandCall(sys,"CALL PGMLIB/PGM"); // Make the call cmd1.run();
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Dig Deeper on RPG iSeries programming
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.