QINACTITV applies only to interactive workstation jobs, not to printer jobs (Client Access or otherwise).
Are the problem printers Client Access printer sessions?
If so, where are the problem workstatons located? Are they on the same local area network as the AS/400, or are they remote?
If remote, is there a firewall or a VPN? It is possible that your firewall or VPN is dropping connections after a specified time.
You can try using the CHGTCPA command on the AS/400 to change the keepalive timer (default is 120 minutes).
- Gary Patterson
Main Topics
Browse All Topics





by: LewisPowerPosted on 2009-04-07 at 16:24:49ID: 24092861
Hi Chris,
9') SYSDRVPGM (*HPPJLDRV)
ir/slkbase .NSF/ 10aab 18fc58a76b 4862568380 06ae1e0/ b4 4a2cf4ba77 8d83862568 250053649f ?OpenDocum ent
How have you created your printer ? Is it by creating a printer session trough Client Access software ? In that case, you might be interrupted by QINACTITV system value (type wrksysval QINACTITV, if the value is different than zero, this mean you are using this feature and the system will disconnect inactive session after the time value.
But if you have created a printer using CRTOUTQ or CRTDEVPRT, the system shouldn't stop the printer.
Try to create the printer like this:
CRTDEVPRT DEVD(P999P01) DEVCLS(*LAN) TYPE(3812) MODEL(1) LANATTACH(*IP) PORT(9100) FONT(11) FORMFEED(*AUTOCUT) PARITY(*NONE) STOPBITS(1) TRANSFORM(*YES) MFRTYPMDL(*HP5) RMTLOCNAME('999.999.999.99
*Attention, this suggestion is for HP5 printer...
If you have a different model, choose one in the following link:
http://www-912.ibm.com/s_d
Use the STRPRTWTR command to start it.
If I'm totally out of bound, it's because I didn't really catch your question.
I both case, let me know if it helped or if I can give you more info.
Lewis