Tracing AS/400 Connections

on-site-related topic

You want to debug your AS/400 connection. System_DynamicTrace only logs messages from Redwood Server, not the connection to the AS/400 system. Redwood Server uses the JTOpen library to connect to AS/400 systems and offers an AS/400-specific a trace.dynamic action to capture logging from the JTOpen library.

Create an AS/400 Process Definition with the following source:

Copy
[Action]
action=trace.dynamic
category.Conversion=true
category.Datastream=true
category.Diagnostic=true
category.Error=true
category.Information=true
category.JDBC=true
category.PCML=true
category.Proxy=true
category.Thread=true
category.Warning=true

This process will run until you kill it and allows you to trace connections to AS/400 connections.

Tip: If you wish to have it run for a specific period of time, such as 5 minutes for example, you navigate to the Runtime Limits tab in the Process Definition editor and specify 5 minutes for Maximum, check Kill process to forcefully terminate the process once the limit has been reached.

See Also

IBM AS/400 Connector Architecture