Compiling AS/400 application code for OLT

When compiling your application code for WebSphere Application Server for AS/400 (Advanced or Advanced Single Server Edition), you should do the following:

  1. Compile your application with debug information as follows:
  2. Create a direct executable (CRTJVAPGM) for the debugabble class files, specifying an optimization level of 10 with the following command:
    CRTJVAPGM CLSF('[fully_qualified_IFS_pathname]') OPTIMIZE(10)

    where [fully_qualified_IFS_pathname] is the fully qualified path name of the .class file(s).

    For example,

    CRTJVAPGM CLSF('/QIBM/UserData/WebASAdv/default/servlets/com/mycompany/MyServlet.class') OPTIMIZE(10)
    CRTJVAPGM CLSF('/QIBM/UserData/WebASAdv/default/servlets/*.class') OPTIMIZE(10)

The next step is to enable OLT on your WebSphere Application server.

ngrelt.gif (466 bytes)
Preparing for an OLT and IBM Distributed Debugger session on AS/400
Preparing an AS/400 environment for OLT and the IBM Distributed Debugger