The ACCRDB packet is sent by the client to close a query.
PKGNAMCSN (parameter): the name of the database being accessed.
PRDID (string): the product ID of the database client, e.g. "JCC04260"
PRDDTA (string): product-specific data. This is a string whose format is not formally defined, but usually looks something like: _JCC04260192.168.1.69 myclient DB2INST1JCC04260192.168.1.69
This packet type often contains other properties, but they are usually not relevant, except for advanced cases.
You can change the database being accessed with
context.packet.RDBNAM = 'OTHERDB';
This may be useful in some cases, but keep in mind that this could confuse some clients.