How to cancel a user in Netmaster

Document ID : KB000103021
Last Modified Date : 29/06/2018
Show Technical Document Details
Issue:
A user is hung, or holding a resource within Netmaster, but that needs to be freed.
How can the user be canceled so that the resource can be freed?
Environment:
All SOLVE / Netmaster products
Resolution:
If you have a userid that needs to be removed/freed for any reason, you can issue this command either from CMD within the SOLVE/Netmaster region or as a modify command to the SOLVE/Netmaster region.

CANCEL U=userid

This usually frees up any held resources but there may be exceptions.
So if that doesn't work to resolve the problem, then do this (again, the commands can be issued from CMD within SOLVE/Netmaster, or as modify commands to the region depending on circumstances):

1. Issue  SH NCL=ALL 

Then do a find on the user that is stuck, and note the NCLID. Example: user LXT1325 is holding the PANELS parameter group in update status.

N11935 NCLID  BASEPROC CURRENT  LEV W TYPE     INIT     OWNER    PG PRI P-UNITS
N11936 000143 $RFCDEVR $RFCDEVR 001 1 START    C816BSYS C816BMON 1  1      0.05
N11918 ...... PROCESSING 264 EPS RECEIVE ID=&#RF,
N11946 ...... CPUTIME:       0.002173,
N11936 000244 $RFLOGPR $RFLOGPR 001 1 START    C816BSYS C816BLOG 1  1      1.11
N11918 ...... PROCESSING 168 INTREAD SET,
N11946 ...... CPUTIME:       0.032830,
N11936 005588 $CAWV000 $IAIN01U 002 2 START    005585   LXT1325  3  2      3.00,
N11918 ...... PROCESSING 7043 PANEL SEND NAME=&#,

N11946 ...... CPUTIME:       0.063122,
N11907 *END*,


2. FLUSH ID=nnnnnn 

Should clear the problem.
So in this case, FLUSH ID=5588 will flush the process and free up the resource.