On Java Development

All things related to Java development, from the perspective of a caveman.

Archive for the ‘iSeries’ Category

Calling RPG or CL Programs with SETLIBLEXEC

without comments

Introduction

This post shows how to call RPG and CL programs using SETLIBLEXEC which is a stored procedure residing on the iSeries (only in QGPL). SETLIBLEXEC accepts parameter values for the environment name of the library list to be used when it runs the name of the program to be called and the parameter values needed by that program.
Read the rest of this entry »

Written by admin

April 3rd, 2014 at 1:42 pm

Registering a JDBC driver may disable iSeries user profile

without comments

Back in September of 2004 a colleague was developing a Swing application and incorporated the DBConnection class into his project. The class was responsible for connection management to the AS/400, err … iSeries machine. With it, a problem arose during the time the user logged into the iSeries database using the JDBC connection. It appeared the process was mysteriously rendering the iSeries user profile as expired. Some circles, including the one we consider ourselves to be in, view that behavior as a problem. It was a real mystery and left us scratching our heads.
Read the rest of this entry »

Written by admin

March 30th, 2014 at 4:42 pm

General Rules of Thumb for Creating Files

without comments

Introduction

This post presents a few general rules of thumb to keep in mind when creating a new file or table. When it comes to naming conventions to be applied to files and fields, there does not appear to be an industry standard which then leaves the task of defining standards to the individual organization.
Read the rest of this entry »

Written by admin

January 24th, 2014 at 11:09 am

Configuring Tomcat

without comments

Introduction

This post talks about a few configuration parameters that are added to Tomcat’s JVM. Technically known as arguments, they give the ability to connect to test or production databases and direct Log4j’s log files to the proper directory. Also, when Tomcat is running on the iSeries machine, there is another configuration parameter (“java.awt.headless”) that must be added to the JVM argument list.
Read the rest of this entry »

Written by admin

January 7th, 2014 at 7:23 pm

Posted in iSeries,Tomcat

Tagged with ,