Previous Topic: 7.3.6 Network Service Group Definition (NETGROUP)Next Topic: 7.3.8 Network Application Table (NETAPPL)


7.3.7 Network Service Group Exit Routine (NETGPRT)


This section explains how to code an exit to assign values to
the Network Service Group Definition (NETGROUP).

NETGROUP affects the SNTPSU File (NPM Session data), the
SNTNSS File (CA NetSpy data), the NVSNSA, NVSNSC, and NVSRTM
Files (NetView Session Monitor or CA NetMaster NTS data), and
the SNTNAC File (CA NetSpy or NPM network session accounting
or network gateway accounting data).  These definitions occur
at the data base unit level (not at the complex level) and
must be recoded or copied if the CA MICS Network Analyzer is
installed in more than one data base unit.

The Network Service Group Exit Routine in
prefix.MICS.PARMS(NETGPRT) is a user-written routine that is
invoked for each input record processed.  The routine
contains valid SAS code which typically interrogates one or
more data elements to determine a value for NETGROUP.  See
Section 7.3.6 for more information on determining the value
of NETGROUP.

Figure 7-10 shows a worksheet you can use to code this exit
routine.  Below is a sample exit routine.

   /*                                                      */
   /*  SAMPLE NETWORK SERVICE GROUP EXIT ROUTINE           */
   /*  DO NOT EVER CODE A SAS RETURN STATEMENT             */
   /*                                                      */
   /* DEFAULT GROUP FOR RATE OF 1.00                       */
   /*                                                      */
   NETGROUP=1;
   *  FIBER OPTIC LINKS BEGIN WITH 'L100', RATE OF 1.50;
   IF FILEID='NVSNSC' AND SLULINK=:'L100' THEN NETGROUP=2;
   *  T1 LINKS BEGIN WITH 'L200', RATE OF 1.33;
   IF FILEID='NVSNSC' AND SLULINK=:'L200' THEN NETGROUP=3;
   IF FILEID='SNTNSS' AND NSSAVTTM LT 3 THEN NETGROUP=2;

In this example, the default service charge of 1.00 is used
for sessions across standard terrestrial links.  NETGROUP is
set to 1 for these sessions.  For fiber optic links, NETGROUP
is set to 2, which is associated with a service rate of 1.5.
For T1 links, NETGROUP is set to 3 and the service rate is
1.33.  Also, according to the service level agreement that
has been established at this site, if the user's average
total response time, as measured by CA NetSpy, is less than
three seconds, the user is to pay a premium and is assigned
to NETGROUP 2.


+--------------------------------------------------------------------------+
| INSTALLATION PREPARATION WORKSHEET:  Network Service Group Routine       |
|                                        Definition                        |
| PARMS Library Member is NETGPRT                                          |
| Reference Section: 7.3.7, CA MICS Network Analyzer Guide                 |
+--------------------------------------------------------------------------+
|                                                                          |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|     ____________________________________________________________________ |
|                                                                          |
|                                                                          |
+--------------------------------------------------------------------------+
| ....5...10...15...20...25...30...35...40...45...50...55...60...65...70.. |
+--------------------------------------------------------------------------+

 Figure 7-10.  Network Service Group Routine Definition Worksheet