There are times we need to execute Business Process Scripts from outside of EBI, on a iSeries/AS400 RPGLE based system. The information below is shipped and documented by EXTOL. This documentation is circa 2003 but is still relevant today.
One big difference between iSeries and the other OS's (Linux and Windows) is the additional RPGLE Source Code. The RPGLE program will set-up the JAVA call each time, to include the correct environment variables such as classpath.
Shipped EXTOL Items
- EBI_Notifications_2.x.zipEXTOL Shipped EBI Notifications Zip File
echo Running EBI Notification API
java -cp $NOTIF SendEbiItmNotif "notification.api" " " 100 "Event Triggered"
echo Finished running SendEbiItmNotif program
Below is the shipped jndi.properties file. The bold item should be updated if the .bat does not reside on the same machine as the EXTOL Server.
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=jnp://localhost:1099
Below is the java source code that is shipped with the EBI_Notifications_2.x.zip
Below is the RPGLE source code that is shipped with the EBI_Notifications_2.x.zip
By: Sean Hoppe on