Is there a command to show which NCL are being used and how often?
search cancel

Is there a command to show which NCL are being used and how often?

book

Article ID: 138028

calendar_today

Updated On:

Products

NetMaster Network Management for TCP/IP NetMaster Network Management for SNA NetMaster Network Automation NetMaster File Transfer Management SOLVE:Access Session Management SOLVE:Operations Automation SOLVE:FTS

Issue/Introduction

There is a need to see which NCLs are in use and how often they run. Is there a way of doing this?

Environment

All Netmaster and SOLVE products

Resolution

From Command Entry (CMD) enter SH NCLSTAT

This will show a list of all current NCL.


While this is a snapshot, issuing the command regularly and storing the results can give you an good overview of what is in use and how many times a given NCL may be running.


sh nclstat

N13518 NAME      STATUS    USERS   REFCNT   STMTS  KBYTES  LIBRARY    AGEUSE

N13519 $AMPSLKZ  AUTOSHR       1        2     437      25  COMMANDS        -

N13519 $AMPSMGZ  AUTOSHR       1        5     490      27  COMMANDS        -

N13519 $BSSHOW   RETAINED      0        5     305      15  COMMANDS        2

N13519 $CACALL   AUTOSHR       1       18    1113      54  COMMANDS        -

N13519 $CAGP000  AUTOSHR       4      193    1779      97  COMMANDS        -

N13519 $CALH20L  RETAINED      0       13     886      42  COMMANDS        1



REFCNT is the number of times this copy of the procedure has been referenced since it was loaded.


To find a description for all fields, move your cursor over the N13519 message and hit PF1. This will bring up a help screen with a full description of the message and all fields.