How disconect a user when he does not work

How disconect a user when he does not work

Post by José Vera Lópe » Tue, 14 Nov 2000 04:00:00



Hello,

I have a problem with users that are always conected to AS/400, because our
ERP software controls concurrent licenses. I'd like doing something to
disconect a user when he has been connected to the AS/400 during 1 hour and
has not worked.

Is this possible?

Thank you in advance.

Jos Vera / Manufactura Moderna de Metales / Barcelona / Spain

 
 
 

How disconect a user when he does not work

Post by John Du » Tue, 14 Nov 2000 04:00:00


You *could* control this with the QINACT* system values, but this effects all
TCP/IP servers.

 
 
 

How disconect a user when he does not work

Post by news.clix.p » Wed, 15 Nov 2000 04:00:00


Hi,

you can desactivate the users via API .

1-List of signon users
2-Determine idle time of user job
3-Disconnect the job.

Greetings,



Quote:> Hello,

> I have a problem with users that are always conected to AS/400, because
our
> ERP software controls concurrent licenses. I'd like doing something to
> disconect a user when he has been connected to the AS/400 during 1 hour
and
> has not worked.

> Is this possible?

> Thank you in advance.

> Jos Vera / Manufactura Moderna de Metales / Barcelona / Spain

 
 
 

How disconect a user when he does not work

Post by Wim Koltho » Wed, 15 Nov 2000 04:00:00


WRKSYSVAL QINACTITV

will work

J.W. Kolthof


> Hi,

> you can desactivate the users via API .

> 1-List of signon users
> 2-Determine idle time of user job
> 3-Disconnect the job.

> Greetings,



> > Hello,

> > I have a problem with users that are always conected to AS/400, because
> our
> > ERP software controls concurrent licenses. I'd like doing something to
> > disconect a user when he has been connected to the AS/400 during 1 hour
> and
> > has not worked.

> > Is this possible?

> > Thank you in advance.

> > Jos Vera / Manufactura Moderna de Metales / Barcelona / Spain

 
 
 

How disconect a user when he does not work

Post by Obel » Wed, 15 Nov 2000 04:00:00


On Mon, 13 Nov 2000 23:22:15 +0100, "Jos Vera Lpez"


>Is this possible?

Use the QINACTITV value in conjunction with his brother, the
QINACT(don't' remember what). In the first you set the value of
maximun idle time, in the second wich action to take (wich might be
disconnect the user, or simply send a message that you will monitor to
decide what action take .
Obelix
 
 
 

How disconect a user when he does not work

Post by Wim Koltho » Thu, 16 Nov 2000 16:28:13


Hello,

Combine QINACTITV with: QINACTMSGQ *ENDJOB

In combination whith ERP-software this mihgt cause record-locks, so be
carefull.

J.W. Kolthof


> On Mon, 13 Nov 2000 23:22:15 +0100, "Jos Vera Lpez"

> >Is this possible?
> Use the QINACTITV value in conjunction with his brother, the
> QINACT(don't' remember what). In the first you set the value of
> maximun idle time, in the second wich action to take (wich might be
> disconnect the user, or simply send a message that you will monitor to
> decide what action take .
> Obelix

 
 
 

How disconect a user when he does not work

Post by Bernard Burchel » Thu, 16 Nov 2000 04:00:00


Have a look at our 'Remote View' tool which allows you to look at and take
control of users' sessions.  It can be downloaded here www.precosis.com.au .

With this you can see a list of everyone signed on.  Sort all the jobs by
elapsed time. Then  put F3's beside each screen more than an hour old.  It
will back them out gracefully with a normal job end.

Bernard Burchell
Precosis Pty Ltd
http://www.precosis.com.au


>Hello,

>I have a problem with users that are always conected to AS/400, because our
>ERP software controls concurrent licenses. I'd like doing something to
>disconect a user when he has been connected to the AS/400 during 1 hour and
>has not worked.

>Is this possible?

>Thank you in advance.

>Jos Vera / Manufactura Moderna de Metales / Barcelona / Spain

 
 
 

How disconect a user when he does not work

Post by In for a penn » Thu, 16 Nov 2000 04:00:00


No one seems to have mentioned it, but the whole 'disconnect job'
concept doesn't work with Client Access connections.

Peter

=========================================



> On Mon, 13 Nov 2000 23:22:15 +0100, "Jos Vera Lpez"

> >Is this possible?
> Use the QINACTITV value in conjunction with his brother, the
> QINACT(don't' remember what). In the first you set the value of
> maximun idle time, in the second wich action to take (wich might be
> disconnect the user, or simply send a message that you will monitor to
> decide what action take .
> Obelix

Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

How disconect a user when he does not work

Post by Peter Hagema » Thu, 16 Nov 2000 04:00:00


You can use the system-value: QINACTITV, which disconnects a user after a
certain period.
The system-value QINACTMSGQ tells you what the system does with those
disconnected tasks.

Peter Hageman

"Jos Vera Lpez" schreef:

Quote:> Hello,

> I have a problem with users that are always conected to AS/400, because our
> ERP software controls concurrent licenses. I'd like doing something to
> disconect a user when he has been connected to the AS/400 during 1 hour and
> has not worked.

> Is this possible?

> Thank you in advance.

> Jos Vera / Manufactura Moderna de Metales / Barcelona / Spain

 
 
 

How disconect a user when he does not work

Post by Les Lieuranc » Thu, 16 Nov 2000 04:00:00


it works with newer versions of os/400 and newer versions of client access.
 
 
 

How disconect a user when he does not work

Post by In for a penn » Fri, 17 Nov 2000 14:16:31


Hmmm, our development machine is at V4R3 and our main production
machine is V4R4. Most users are currently running V3R2 of CA. I thought
they were pretty recent - what CA version is needed?

When I am talking about disconnect, I mean TRUE disconnect and not job
abnends:

DSCJOB:  The Disconnect Job (DSCJOB) command allows the interactive
user to disconnect all interactive jobs at the workstation and return
to the sign-on display.  The job or jobs that are disconnected from a
work station can be reconnected if the same user signs on the same work
station.

ENDJOB: The End Job (ENDJOB) command ends the specified job and any
associated inline data files.  The job can be on a job queue, it can
be active, or it can have already completed running.

In other words, one command kills the interactive job and the other
just disconnects the job from the workstation (but the job remains
active).

There is nothing worse than automatically (and without considered
judgement) killing interactive jobs simply because a user hasn't
touched the keyboard in a specified period of time.

Peter

=======================================



Quote:> it works with newer versions of os/400 and newer versions of client
access.

Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

How disconect a user when he does not work

Post by Les Lieuranc » Fri, 17 Nov 2000 04:00:00


I have os v3r7 and ca v3r1 and it doesn't work.  I think the ca version is
v3r7??  I read this awhile back.  I could be wrong. Let me know.



> Hmmm, our development machine is at V4R3 and our main production
> machine is V4R4. Most users are currently running V3R2 of CA. I thought
> they were pretty recent - what CA version is needed?

> When I am talking about disconnect, I mean TRUE disconnect and not job
> abnends:

> DSCJOB:  The Disconnect Job (DSCJOB) command allows the interactive
> user to disconnect all interactive jobs at the workstation and return
> to the sign-on display.  The job or jobs that are disconnected from a
> work station can be reconnected if the same user signs on the same work
> station.

> ENDJOB: The End Job (ENDJOB) command ends the specified job and any
> associated inline data files.  The job can be on a job queue, it can
> be active, or it can have already completed running.

> In other words, one command kills the interactive job and the other
> just disconnects the job from the workstation (but the job remains
> active).

> There is nothing worse than automatically (and without considered
> judgement) killing interactive jobs simply because a user hasn't
> touched the keyboard in a specified period of time.

> Peter

> =======================================



> > it works with newer versions of os/400 and newer versions of client
> access.

> Sent via Deja.com http://www.deja.com/
> Before you buy.

 
 
 

How disconect a user when he does not work

Post by In for a penn » Sat, 18 Nov 2000 04:00:00


Hi again!

OK, results of the test this morning. All tests done on the absolute
latest product releases:

Machine is running OS/400 V4R5

PC1 is running CA/400 full version V3R2 SF64050
PC2 is running CA Express V4R5 SF62213

Using PC5250, via TCP/IP, enter command DSCJOB at command line

Both report error CPF1358: DSCJOB not allowed for Server jobs. Job
x/x/x is either a server job, or a client job with a server job active
at the device.

So, quite simply, the Job Disconnect (as opposed to the "Job Trashing")
function doesn't work with Client Access. It never has done and I don't
think IBM ever designed it to.

Peter

=====================================================



> I have os v3r7 and ca v3r1 and it doesn't work.  I think the ca
version is
> v3r7??  I read this awhile back.  I could be wrong. Let me know.



> > Hmmm, our development machine is at V4R3 and our main production
> > machine is V4R4. Most users are currently running V3R2 of CA. I
thought
> > they were pretty recent - what CA version is needed?

> > When I am talking about disconnect, I mean TRUE disconnect and not
job
> > abnends:

> > DSCJOB:  The Disconnect Job (DSCJOB) command allows the interactive
> > user to disconnect all interactive jobs at the workstation and
return
> > to the sign-on display.  The job or jobs that are disconnected from
a
> > work station can be reconnected if the same user signs on the same
work
> > station.

> > ENDJOB: The End Job (ENDJOB) command ends the specified job and any
> > associated inline data files.  The job can be on a job queue, it can
> > be active, or it can have already completed running.

> > In other words, one command kills the interactive job and the other
> > just disconnects the job from the workstation (but the job remains
> > active).

> > There is nothing worse than automatically (and without considered
> > judgement) killing interactive jobs simply because a user hasn't
> > touched the keyboard in a specified period of time.

> > Peter

> > =======================================



> > > it works with newer versions of os/400 and newer versions of
client
> > access.

> > Sent via Deja.com http://www.deja.com/
> > Before you buy.

Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

How disconect a user when he does not work

Post by Charles R. Penc » Sat, 18 Nov 2000 04:00:00



Quote:> OK, results of the test this morning. All tests done on the absolute
> latest product releases:

> Machine is running OS/400 V4R5

> PC1 is running CA/400 full version V3R2 SF64050
> PC2 is running CA Express V4R5 SF62213

> Using PC5250, via TCP/IP, enter command DSCJOB at command line

> Both report error CPF1358: DSCJOB not allowed for Server jobs. Job
> x/x/x is either a server job, or a client job with a server job active
> at the device.

> So, quite simply, the Job Disconnect (as opposed to the "Job Trashing")
> function doesn't work with Client Access. It never has done and I don't
> think IBM ever designed it to.

 The exception is when using "named device" support; I don't recall the
 RFC.  But anyway, under Client Access 5250, there should be a "Session"
 configuration option where you can name the device.  If the session can
 start with a named device, the CPF1358 seems not to occur; DSCJOB is
 allowed, and CPC1194 upon signon after the disconnect.

Regards, Chuck
All comments provided "as is" with no warranties of any kind whatsoever.

 
 
 

1. STRPCCMD should not work but does; RUNRMTCMD should work but does not

According to the documentation (Client Access Family) the way to run a PC
command from an AS/400 session is STRPCCMD for DOS, Windows 3.1 and OS/2.
For Windows 95/NT one should use RUNRMTCMD.  However, on my PC (Windows 95,
twinax, NetSoft router, CA V3R1M2, OS/400 V3R2) STRPCCMD does work but
RUNRMTCMD does not.

For RUNRMTCMD the daemon program AREXECDN.EXE should be running on the PC.
This has been installed on the PC, but when I start it, it does not seem to
do anything.  No information, no process running.  When I try RUNRMTCMD from
an AS/400 session, the job log says that the remote system 'did not
recognize the transaction program' (quoting from memory).

Any ideas why STRPCCMD appears to be unsupported?  Will it suddenly vanish
in a future release?  Will it not work with TCP/IP (not with V3R1M2 anyway;
the session is not recognized as a PC session)?

Any ideas how I could get RUNRMTCMD to work?

Joep Beckeringh

2. FS:Real3.11 update give me a price

3. SDLC dial-up line does not work when upgrade to risc os/v4.1

4. HELP: System question?

5. Can printer on PC work when emulation is NOT running

6. Lissen up -- solution to da CDFS.VXCD problem done been solved!!

7. Prompt override program does not work properly

8. Linkright: New Version?

9. Does F9 not work for QSECOFR

10. Calling RPG from Visual Basic - Commitment Control does not work

11. IBM 4247 Host print transform does not work

12. Flex/IP - LPD and AS/400 -LPR Does not always work!

13. SQL COMMENT ON does not work