3 9 Debugging using iSeries Batch Debug

LANSA Web Functions

3.9 Debugging using iSeries Batch Debug

LANSA for the Web allows your RDML functions to be debugged in batch on the iSeries. This feature requires the use of an iSeries display device that is not currently signed on.

To invoke batch debugging of your RDML functions, you would extend the URL syntax discussed above to include:

+BDEBUG+<device>+<message_queue>

where

<device> is the name of the iSeries display device;

<message_queue> is the name of the message queue you wish to use.

The <device> and <message_queue> parameters are optional. If you do not specify a display device, the debugging information will be directed to any active display device on your network.

Your LANSA functions must be compiled for debugging purposes to use this option.

For example, if you want to debug the ENROL function in the PSLSYS process in the WEB partition, your URL might appear as follows:

http://www.lansa.com/cgi-bin/lansaweb?PROCFUN+PSLSYS+ENROL+WEB+BDEBUG+QPADEV0001

Note: It is very important that the device specified is not allocated. Make sure that no one is signed on to the device.

 

Also see

3.10 Debugging using Visual LANSA