I wrote such thing for a customer once.
You also need to change the QINACTMSGQ value:
CHGSYSVAL SYSVAL(QINACTITV) VALUE('20')
CHGSYSVAL SYSVAL(QINACTMSGQ) VALUE(*ENDJOB)

After running the back-up procedure I used to set the QINACTITV value to
*NONE:
CHGSYSVAL SYSVAL(QINACTITV) VALUE(*NONE)
(I left the QINACTMSGQ value unchanged now because of the *NONE)


Kind regards,
 
Leo Ridderikhoff
______________________
 
SafeWare v.o.f.
Landauerdrift 32
3436 XG  Nieuwegein
NETHERLANDS
T +3130 6013002
M +316 54706351
F +3130 6013003
http://www.safeware.nl
______________________
-----Oorspronkelijk bericht-----
Van: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] Namens elehti@xxxxxxxxxxxxxxxxxx
Verzonden: vrijdag 17 juli 2009 20:13
Aan: midrange-l@xxxxxxxxxxxx
Onderwerp: users closing the 5250 window (iSeries Access) orphans the
session, (not signing off from IBM i)

At our company most people go home by 17:00.
At 23:00 each night before we run these commands:
ENDSBS QINTER
ENDHOSTSVR SERVER(*DATABASE) \
ENDPJ SBS(QUSRWRK) PGM(QZDASOINIT) OPTION(*IMMED)
Then we run sales invoicing and other financial jobs in a dedicated mode
without the risk of some jobs locking files.

It surprises me how some QINTER sessions are still active at 23:00 even
though the user left at 16:00, probably closing the 5250 window (iSeries
Access) without actually signing off from the system. As we are a JD
Edwards World environment, users always have programs J98ININTA,
J98INITV, and P00MENU in their call stack.

At 17:00 I set system value QINACTITV to 30 minutes from 300 minutes, so
I would expect inactive jobs to end by 18:00 or so.
Yet these orphaned jobs are still active at 23:00.
ENDSBS QINTER does kill these orphaned jobs but I wonder why these
orphaned jobs stay active till 23:00

+++++++++++++++++++++
This message appears when inactive jobs end due to inactivity time
reached.
Message ID . . . . . . : CPI1127

Date sent . . . . . . : 07/16/09 Time sent . . . . . . :
19:19:39


Message . . . . : All jobs at work station QPADEV000K ended.



Cause . . . . . : All jobs at work station QPADEV000K have been
ended, since
the amount of time specified in system value QINACTITV has ended, and
all
jobs at the work station have not been active during the time
specified by
the system value QINACTITV.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.