Nortel DMS-100 Equipment Counts

EQPCOUNTS

The EQPCOUNTS command provides the following switch equipment counts:

This article describes each count and provides the Command Interpreter (CI) command string required to verify the count.  Count descriptions are listed in the same order as they are output by the EQPCOUNT command.  Note that the EQPCOUNTS output may not contain all the counts described.

EQPCOUNTS Output

The following is an example of the output report of command EQPCOUNTS.  For Peripheral Modules (PM), the count indicates if the module is "Insv:" (in-service) or "Comm:" (commissioned and operational, but not yet in-service).  If individual usage or performance reports are required for selected hardware, refer to the Switch Performance Monitoring System Application Guide Manual, NTP 297-1001-330.

Example of EQPCOUNTS Output

>DMSMON
DMSMON: 
>EQPCOUNTS ALL

********************** 
*       Counts       * 
**********************

Number of nodes: 326 
Number of networks: 20

Number of TM2 PMs:          Insv: 0     Comm: 1 
Number of TM4 PMs:          Insv: 0     Comm: 1 
Number of ATM PMs:          Insv: 0     Comm: 1 
Number of TM8 PMs:          Insv: 0     Comm: 5 
Number of MTM PMs:          Insv: 0     Comm: 12 
Number of DCM PMs:          Insv: 0     Comm: 9 
Number of OAU PMs:          Insv: 0     Comm: 1 
Number of STM PMs:          Insv: 0     Comm: 2 
Number of T8A PMs:          Insv: 0     Comm: 1 
Number of TMA PMs:          Insv: 0     Comm: 0 
Number of MTMA PMs:         Insv: 0     Comm: 0 
Number of LM PMs:           Insv: 0     Comm: 4 
Number of RSM PMs:          Insv: 0     Comm: 0 
Number of TAN PMs:          Insv: 0     Comm: 1 
Number of DES PMs:          Insv: 0     Comm: 1
Number of DSM PMs:          Insv: 0     Comm: 0
Number of DCM250 PMs:       Insv: 0     Comm: 0 
Number of LGC PMs:          Insv: 0     Comm: 12 
Number of LCM PMs:          Insv: 0     Comm: 60 
Number of DTC PMs:          Insv: 0     Comm: 40
Number of MSB6 PMs:         Insv: 0     Comm: 0 
Number of LTC PMs:          Insv: 0     Comm: 2 
Number of SMR PMs:          Insv: 0     Comm: 2
Number of SMS PMs:          Insv: 0     Comm: 2 
Number of SMU PMs:          Insv: 0     Comm: 1 
Number of RCT PMs:          Insv: 0     Comm: 3
Number of MSB7 PMs:         Insv: 0     Comm: 5 
Number of CSC PMs:          Insv: 0     Comm: 0 
Number of RMM PMs:          Insv: 0     Comm: 3 
Number of IDTC PMs:         Insv: 0     Comm: 0
Number of DCMT PMs:         Insv: 0     Comm: 0 
Number of RCC PMs:          Insv: 0     Comm: 1 
Number of RCS PMs:          Insv: 0     Comm: 4 
Number of RCU PMs:          Insv: 0     Comm: 3 
Number of ESA PMs:          Insv: 0     Comm: 1
Number of SVR PMs:          Insv: 0     Comm: 0 
Number of ILGC PMs:         Insv: 0     Comm: 0
Number of ILTC PMs:         Insv: 0     Comm: 0
Number of RMSC PMs:         Insv: 0     Comm: 0 
Number of PTM PMs:          Insv: 0     Comm: 1 
Number of DLM PMs:          Insv: 0     Comm: 0
Number of ADTC PMs:         Insv: 0     Comm: 0 
Number of PDTC PMs:         Insv: 0     Comm: 0 
Number of PHN PMs:          Insv: 0     Comm: 20
Number of IAC PMs:          Insv: 0     Comm: 0 
Number of SMSR PMs:         Insv: 0     Comm: 1
Number of ILCM PMs:         Insv: 0     Comm: 0 
Number of LCMI PMs:         Insv: 0     Comm: 3 
Number of TDTC PMs:         Insv: 0     Comm: 0 
Number of TLGC PMs:         Insv: 0     Comm: 0 
Number of TLTC PMs:         Insv: 0     Comm: 0 
Number of ALGC PMs:         Insv: 0     Comm: 0
Number of VSR PMs:          Insv: 0     Comm: 0 
Number of LIM PMs:          Insv: 0     Comm: 4 
Number of LIU7 PMs:         Insv: 0     Comm: 4 
Number of TRCC PMs:         Insv: 0     Comm: 0 
Number of PLGC PMs:         Insv: 0     Comm: 0 
Number of SPM PMs:          Insv: 0     Comm: 0 
Number of SDM PMs:          Insv: 0     Comm: 0 
Number of ELCM PMs:         Insv: 0     Comm: 0 
Number of LRU PMs:          Insv: 0     Comm: 0 
Number of TACC PMs:         Insv: 0     Comm: 0
Number of TMS PMs:          Insv: 0     Comm: 2
Number of LDT PMs:          Insv: 0     Comm: 1
Number of FRIU PMs:         Insv: 0     Comm: 2 
Number of FRCC PMs:         Insv: 0     Comm: 0 
Number of CFP PMs:          Insv: 0     Comm: 0 
Number of TPC PMs:          Insv: 0     Comm: 2 
Number of PND PMs:          Insv: 0     Comm: 0
Number of RCCI PMs:         Insv: 0     Comm: 1
Number of ARCC PMs:         Insv: 0     Comm: 0 
Number of ALCM PMs:         Insv: 0     Comm: 0 
Number of SMA PMs:          Insv: 0     Comm: 1 
Number of FILP PMs:         Insv: 0     Comm: 1 
Number of AP PMs:           Insv: 0     Comm: 1
Number of HSI PMs:          Insv: 0     Comm: 0
Number of HSI2 PMs:         Insv: 0     Comm: 0 
Number of DTCI PMs:         Insv: 0     Comm: 1 
Number of EIU PMs:          Insv: 1     Comm: 2 
Number of IDT PMs:          Insv: 0     Comm: 3 
Number of LCME PMs:         Insv: 0     Comm: 1
Number of DA PMs:           Insv: 0     Comm: 0 
Number of ORDB PMs:         Insv: 0     Comm: 0 
Number of ICP PMs:          Insv: 0     Comm: 0 
Number of EXND PMs:         Insv: 0     Comm: 2 
Number of HSLR PMs:         Insv: 0     Comm: 0 
Number of PSP PMs:          Insv: 0     Comm: 0 
Number of ELIU PMs:         Insv: 0     Comm: 0 
Number of CFI PMs:          Insv: 0     Comm: 0 
Number of IPE PMs:          Insv: 0     Comm: 0 
Number of XLIU PMs:         Insv: 0     Comm: 2 
Number of PRCC PMs:         Insv: 0     Comm: 0 
Number of DTM PMs:          Insv: 0     Comm: 1 
Number of ICRM PMs:         Insv: 0     Comm: 0 
Number of APU PMs:          Insv: 0     Comm: 3 
Number of RCC2 PMs:         Insv: 0     Comm: 1 
Number of DFI PMs:          Insv: 0     Comm: 0 
Number of SRU PMs:          Insv: 0     Comm: 0 
Number of ITAC PMs:         Insv: 0     Comm: 0 
Number of HLIU PMs:         Insv: 0     Comm: 0 
Number of GSMP PMs:         Insv: 0     Comm: 0 
Number of VPU PMs:          Insv: 0     Comm: 1 
Number of SRCC PMs:         Insv: 0     Comm: 0 
Number of HSIE PMs:         Insv: 0     Comm: 0 
Number of NIU PMs:          Insv: 0     Comm: 2 
Number of RCO2 PMs:         Insv: 0     Comm: 0 
Number of STS PMs:          Insv: 0     Comm: 0
Number of SPX PMs:          Insv: 0     Comm: 0 
Number of CTM PMs:          Insv: 0     Comm: 1 
Number of SMA2 PMs:         Insv: 0     Comm: 1 
Number of GPP PMs:          Insv: 0     Comm: 0
Number of AMC PMs:          Insv: 0     Comm: 0 
Number of AIM PMs:          Insv: 0     Comm: 0 
Number of OSN PMs:          Insv: 0     Comm: 0 
Number of OSNM PMs:         Insv: 0     Comm: 1 
Number of OSAC PMs:         Insv: 0     Comm: 0 
Number of CAU PMs:          Insv: 0     Comm: 0 
Number of CIU PMs:          Insv: 0     Comm: 0 
Number of CAVU PMs:         Insv: 0     Comm: 0 
Number of ILD PMs:          Insv: 0     Comm: 0 
Number of TRLE PMs:         Insv: 0     Comm: 0 
Number of ACE PMs:          Insv: 0     Comm: 0 
Number of NIL_PMTYPE PM     Insv: 0     Comm: 0

Number of LTC_ISDN PMs:     Insv: 0     Comm: 2 
Number of LGC_ISDN PMs:     Insv: 0     Comm: 1 
Number of SMU_ISDN PMs:     Insv: 0     Comm: 1

Number of DATAFILLED lines: 19100 
Number of DATAFILLED POTS lines: 14702 
Number of DATAFILLED IBN/RES lines: 3555 
Number of DP_POTS lines: 7353 
Number of DGT_POTS lines: 7349
Number of DP IBN/RES lines: 1714 
Number of DGT IBN/RES lines: 1841
Number of TOTAL_UNEQ lines: 11615 
Number of TOTAL_OFFL lines: 9277

Number of PPHONE_STATION lines: 815 
Number of DISPLAY_PPHONE_STATION lines: 2 
Number of DATA_UNIT_STATION lines: 4 
Number of POTS_DATA_UNIT_STATION lines: 0 
Number of M2009_STATION lines: 0 
Number of M2112_STATION lines: 0 
Number of M2018_STATION lines: 0 
Number of MADO_STATION lines: 0 
Number of M5009_STATION lines: 9 
Number of M5112_STATION lines: 2 
Number of M5317_STATION lines: 0 
Number of M5008_STATION lines: 0 
Number of ISDN_STATION lines: 5 
Number of M3000_STATION lines: 0 
Number of M2317_STATION lines: 0 
Number of M5209_STATION lines: 2 
Number of M5312_STATION lines: 4 
Number of M2008_STATION lines: 0 
Number of M2616_STATION lines: 0 
Number of M2016S_STATION lines: 0 
Number of M2216A_STATION lines: 0 
Number of M2216B_STATION lines: 0 
Number of MPDA_STATION lines: 0 
Number of M2006_STATION lines: 0
Number of NIL_STATION lines: 0 
Number of ASR_STATION lines: 0 
Number of M5212_STATION lines: 0 
Number of ISLCKSET_STATION lines: 0 
Number of M5208_STATION lines: 0 
Number of M5216_STATION lines: 0
Number of M5316_STATION lines: 0 
Number of MCA_STATION lines: 0

Number of DNs on keysets: 4038

Number of POTS lines with CSDDS option: 3 
Number of POTS lines with Call Waiting Feature: 4333
Number of POTS lines with Call Forwarding Feature: 2012 
Number of POTS lines with Remote Call Forwarding: 9 
Number of POTS lines with Call Forwarding Busy: 0 
Number of POTS lines with Call Forward Don't Answer: 0 
Number of POTS lines with Speed Call Feature: 1692 
Number of POTS lines with Three-Way Call Feature: 2891 
Number of POTS lines with Three-Way Call Public Feature: 0 
Number of IBN/RES lines with Call Waiting Feature: 322
Number of IBN/RES lines with Call Forwarding Feature: 2119 
Number of IBN/RES lines with Three-Way Call Feature: 66 
Number of IBN/RES lines with Three-Way Call Public Feature: 163 
Number of IBN/RES lines with Speed Call Feature: 943 
Number of KSET lines with Call Waiting Feature: 11 
Number of KSET lines with Call Forwarding Feature: 798 
Number of KSET lines with Three-Way Call Feature: 797 
Number of KSET lines with Three-Way Call Public Feature: 0 
Number of KSET lines with Speed Call Feature: 14 
Number of HOTEL/MOTEL lines with register pulsing: 122 
Number of INWATS lines: 2 
Number of lines with TEEN service: 1 
NUMBER OF DATAFILLED RES LINES: 1763 
Number of RES lines with SMDI: 0 
Number of RES lines with features: 956
  RES feature: COT NO. OF LINES: 127 
  RES feature: CFF NO. OF LINES: 0 
  RES feature: CFI NO. OF LINES: 0 
  RES feature: CFRA NO. OF LINES: 2 
  RES feature: CFK NO. OF LINES: 0 
  RES feature: CFB NO. OF LINES: 0 
  RES feature: CBI NO. OF LINES: 0 
  RES feature: CBE NO. OF LINES: 0 
  RES feature: CBU NO. OF LINES: 0 
  RES feature: CFD NO. OF LINES: 0 
  RES feature: CDI NO. OF LINES: 0 
  RES feature: CDE NO. OF LINES: 0 
  RES feature: CDU NO. OF LINES: 0 
  RES feature: SC1 NO. OF LINES: 0 
  RES feature: SC2 NO. OF LINES: 350 
  RES feature: SC3 NO. OF LINES: 176 
  RES feature: CFU NO. OF LINES: 178 
  RES feature: SCS NO. OF LINES: 0 
  RES feature: CNDB NO. OF LINES: 127 
  RES feature: SMDI NO. OF LINES: 0

Number of trunks: 15256 
Number of unequipped trunks: 0 
Number of offline trunks: 15212 
Number of trunk groups: 500 
Number of IBNTI trunks: 6 
Number of IBNTO trunks: 3 
Number of IBNT2 trunks: 5 
Number of PRA IBNT2 trunks: 0 
Number of SC trunks: 0 
Number of OP trunks: 0
Number of AOSS trunks: 0 
Number of TOPS trunks: 0 
Number of RONI trunks: 0

Number of RCVRMF receivers: 20 
Number of RCVRDGT receivers: 16 
Number of RCVRATD receivers: 0 
Number of RCVRMCCS receivers: 0 
Number of MF300 receivers: 0
Number of DGT300 receivers: 0 
Number of KSR2OCVR receivers: 0 
Number of KSR2ICVR receivers: 0
Number of RCVRCOIN receivers: 0 
Number of RCVRATDA receivers: 0 
Number of RCVATDUK receivers: 0 
Number of RCVRDTUK receivers: 0 
Number of RCVRCDC receivers: 0

Number of CF3 circuits: 6 
Number of CF6 circuits: 1 
Number of LTUs: 6 
Number of TTUs: 3 
Number of ATUs: 0 
Number of DTUs: 0

Number of VDUs: 16

Number of ST connections: 4 
Number of IPML connctions: 5 
Number of nailed up CLLIs: 1

Number of customer groups: 29 
Number of consoleless customer groups: 7
Number of members per customer group:
  Group: ASRDFLT 
     NO. OF MEMBERS: 0 
  Group: PFDEFAULT 
     NO. OF MEMBERS: 0 
  Group: POTSDATA 
     NO. OF MEMBERS: 0 
  Group: PRADEFAULT 
     NO. OF MEMBERS: 0 
  Group: COMIBN2 
     NO. OF MEMBERS: 3 
  Group: GOC 
     NO. OF MEMBERS: 0 
  Group: COMIBN3 
     NO. OF MEMBERS: 3 
  Group: COMIBN6 
     NO. OF MEMBERS: 1 
  Group: COMKODAK 
     NO. OF MEMBERS: 12 
  Group: CENTESN 
     NO. OF MEMBERS: 0 
  Group: GOC990 
     NO. OF MEMBERS: 4 
  Group: COMIBN4 
     NO. OF MEMBERS: 1
  Group: COMIBN5 
     NO. OF MEMBERS: 1 
  Group: COMIBN7
     NO. OF MEMBERS: 0 
  Group: BRAMESN 
     NO. OF MEMBERS: 0 
  Group: LONDESN 
     NO. OF MEMBERS: 0 
  Group: RES 
     NO. OF MEMBERS: 1760 
  Group: BCSLAB1 
     NO. OF MEMBERS: 0 
  Group: BCSLAB 
     NO. OF MEMBERS: 2586 
  Group: TESTGRP1 
     NO. OF MEMBERS: 0 
  Group: JONCUST 
     NO. OF MEMBERS: 1 
  Group: IBNGRP1 
     NO. OF MEMBERS: 24 
  Group: ISDN 
     NO. OF MEMBERS: 2 
  Group: LABTEST 
     NO. OF MEMBERS: 0 
  Group: PSTNACCESS 
     NO. OF MEMBERS: 0 
  Group: A 
     NO. OF MEMBERS: 0 
  Group: B 
     NO. OF MEMBERS: 0

Number of customer subgroups: 24 
Number of attendant consoles: 2

Number of TOPS positions: 1 
Number of OPERATOR positions: 1 
Number of IN CHARGE positions: 0 
Number of ASSISTANCE positions: 0 
Highest operator number datafilled: 0

Number of AOSS Positions: 0 
Highest AOSS team number: 0 
Highest AOSS operator: 0

Number of CAMA Positions: 1

Number of Orig Rate Centres: 0 
Maximum Orig Rate Centre: 0
Number of Term Rate Centres: 0 
Maximum Term Rate Centre: 0


Number of MDC lines allocated: 1073741823 
Number of ACD LINES allocated: 4000 
Number of VL members: 2 
Number of VIRT groups: 19
Number of hunt groups: 76 
Number of UCD groups: 11
Number of ACD groups: 16 
Number of ENHANCED ACD group: 2 
Number of ENHANCED ACD agent: 0 
Number of BASIC ACD group: 14 
Number of BASIC ACD agent: 9 
Number of CMS lines: 1763
Number of POTS COIN lines: 29
Number of FGA lines: 188 
Number of OUTWATS lines: 2 
Number of MDC 2500 lines: 3555 
Number of MDC MBS lines: 0 
Number of SMDI lines: 0 
Number of allocated TICS/LEAS DNs: 50000 
Number of DATAPATH lines: 4 
Number of DIALAN lines: 0 
Number of total ISDN lines: 0
Number of ISDN FUNCT BRA lines: 3 
Number of ISDN STIM BRA lines: 0 
Number of ISDN BRA MFT lines: 2
Number of ISDN PRA trunks: 5 
Number of datafilled CLASS lines: 1826
  CLASS FEATURE: ACB        NO. OF LINES: 128 
  CLASS FEATURE: ACBAMA     NO. OF LINES: 126 
  CLASS FEATURE: AR         NO. OF LINES: 192 
  CLASS FEATURE: ARAMA      NO. OF LINES: 126 
  CLASS FEATURE: CNDB       NO. OF LINES: 127 
  CLASS FEATURE: CNDBAMA    NO. OF LINES: 126 
  CLASS FEATURE: COT        NO. OF LINES: 128 
  CLASS FEATURE: COTAMA     NO. OF LINES: 126 
  CLASS FEATURE: CND        NO. OF LINES: 879 
  CLASS FEATURE: DDN        NO. OF LINES: 877 
  CLASS FEATURE: SCRJ       NO. OF LINES: 876 
  CLASS FEATURE: SCF        NO. OF LINES: 176 
  CLASS FEATURE: SCA        NO. OF LINES: 876 
  CLASS FEATURE: DRCW       NO. OF LINES: 875

SMDR is being used 
record stop onto sfdev

Equipment Counts

The following sections define the some individual counts and the equivalent CI commands.

Number of Nodes

To display the total number of nodes in the office, use the following CI command string:

>TABLE NNASST;BOT

Note:  The node count displays the highest node number + 1.  If a node that did not have the highest node number was deleted from the system, the display indicates the incorrect number of nodes.


Number of Networks

To display the total number of networks in the office, use the following CI command string:

>ERASE A B C
>TABLE OFCOPT;POS NETWORK_ACTIVE
>ASSIGN PARMAVAL A
>((SUBSTR A ((STRSIZE A) - 4)4 ) = 'JNET') -> B
>IF B THEN (TABLE NETWORK;COUNT/2->C) ELSE (TABLE ENVINV;COUNT->C)
>QUIT
>PRINT C

Number of Peripheral Modules

All Peripheral Module (PM) counts are output using a single count procedure.  Each count output shows the following:

>MAPCI;MTC;PM;STATUS

Number of Working Lines in the Office

The total number of working lines in the office is the sum of the following counts listed in the EQUIPCOUNTS output.

>DMSMON;EQPCOUNTS;QUIT
>TABLE KSETINV;COUNT;QUIT

Number of Dial-Pulse POTS Lines

To display the total number of POTS lines with Dial-Pulse (DP) signaling, use one of the following CI command strings:

>TABLE LENLINES
>COUNT (SIGTYPE EQ 'DP')
>QUIT

Number of Digitone POTS Lines

To display the total number of POTS lines with the Digitone (DGT) line option use one of the following command strings:

>TABLE LENLINES
>COUNT (SIGTYPE EQ 'DGT')
>QUIT

POTS Lines with Call Forwarding

To display the total number of POTS lines with a call forwarding feature, enter the following CI command string:

>TABLE CFW
>ERASE A B
>0->A
>ASSIGN CFZINFO B
>IF ((SUBSTR B 0 3) = 'LCL') THEN (A+1->A)
>WHILE (NEXT) (ASSIGN CFZINFO B;
>IF ((SUBSTR B 0 3) = 'LCL') THEN (A+1->A))
>PRINT A 
>QUIT

POTS Lines with Call Forwarding Busy

To display the total number of POTS lines with the Call Forwarding Busy Line (CFBL) option, enter the following CI command string:

>QLENWRK ALL ALL NLCC CFBL S

POTS Lines With Remote Call Forwarding

To display the total number of POTS lines with Remote Call Forwarding (RCF) option, enter the following CI command string:

>TABLE CFW
>ERASE A B
>0->A
>ASSIGN CFZINFO B
>IF ((SUBSTR B 0 3) = 'REM') THEN (A+1->A)
>WHILE (NEXT)(ASSIGN CFZINFO B;
>IF ((SUBSTR B 0 3) = 'REM) THEN (A+1->A)) 
>PRINT A
>QUIT

Number of INWATS Lines

To display the total number of INWATS lines, enter the following CI command string:

>TABLE LINEATTR
>LIST ALL (LCC EQ 'INW') 
>QUIT

Repeat the following CI command string for each line attribute tuple displayed.

>TABLE LENLINES
>COUNT (LNATTIDX EQ 'XXXX') 
>QUIT

Where XXXX is the line attribute tuple.  The total number of INWATT lines is the sum of the two attribute tuples.




Number of OUTWATS Lines

To display the total number of OUTWATS lines, enter the following CI command string:

>TABLE LINEATTR 
>COUNT (FEATURE EQ 'OUTWT UNOW *') 
>QUIT

Number of Receivers

To display the total number of receivers on the switch, enter the following CI command string.  Enter one receiver code per line.  Refer to the table that follows the CI COUNT command for the entry required to specify the desired receiver type:

>TABLE RECEIVER
>COUNT (RCVRKEY EQ 'XXXX *')

Where XXXX is the type of receiver listed in the table below:

----------------------------------------------------------------------------------------------
Receiver Entry Codes

Receiver Type                                                           Entry XXXX
----------------------------------------------------------------------------------------------
MF Receiver                                                             RCVRMF 
----------------------------------------------------------------------------------------------
Digitone Receiver                                                       RCVRDGT
----------------------------------------------------------------------------------------------
Audio Tone Detectors                                                    RCVRATD 
----------------------------------------------------------------------------------------------
Digitone receiver dedicated to mechanized calling card feature.         RCVRMCCS
----------------------------------------------------------------------------------------------
MF receiver, but needs different peripheral execs.                      RCVRMF300
----------------------------------------------------------------------------------------------
Digitone receiver, but needs different peripheral execs.                RCVRDGT300 
----------------------------------------------------------------------------------------------
Coin phone receiver, Digitone, and coin detection circuit.              RCVRCOIN 
----------------------------------------------------------------------------------------------
Same as RCVRCOIN, but supports 5X29AB and 5X29AC.                       RCVRATDA 
----------------------------------------------------------------------------------------------
Same as RCVRCOIN, but can also generate LAMA billing                    RCVRCDC
records by coin originated calls.
----------------------------------------------------------------------------------------------

Number of Line Test Units

To display the total number of Line Test Units (LTU), enter the following CI command string:

>TABLE TRKMEM
>COUNT (CLLI EQ 'LTU')
>QUIT

Number of Visual Display Units

To display the total number of Visual Display Units (VDU), enter the following CI command string:

>TABLE TERMDEV 
>COUNT
>QUIT

Note:  The number of VDUs is the sum of all visual display units, printers and subscriber message desk interface devices.

Number of Members per Customer Group

To display the total number of members in each customer groups, enter the following CI command string.  Repeat the CI command string for each SYMBOL field entry:

>ERASE TRIM
>COMMAND TRIM (SEND SINK;ERASE Y Z;0->Y;
>WHILE((SUBSTR @1 Y 1) = ' ') (Y+1->Y); 
>(SUBSTR @1 Y ((STRSIZE @1) - Y))->Z;SEND PREVIOUS)
>TABLE KSETLINE 
>FORMAT PACK 
>ERASE A B C D 
>ASSIGN DNRESULT B 
>'ABCDEFGHIJKLMNOPQRS' -> C >0->A 
>TRIM (SUBSTR B 21 16) 
>IF ((SUBSTR B 0 3) ^= 'GIC') THEN (IF (Z = 'XXXXX') THEN (A+1->A)) 
>IF (A > 0) THEN (ASSIGN KSETKEY C) 
>WHILE (NEXT) (ASSIGN DNRESULT B;ASSIGN KSETKEY D; 
>IF ((SUBSTR C 0 17) ^= (SUBSTR D 0 17)) THEN ( 
>IF ((SUBSTR B 0 3) ^= 'GIC') THEN ( 
>TRIM (SUBSTR B 21 16);IF (Z = 'XXXXX') THEN (A+1->A;D->C)))) 
>PRINT A

Note the number displayed.

>QUIT
>TABLE ATTCONS 
>COUNT (CUSTNAME EQ 'XXXXX')

Note the number displayed.

>QUIT 
>TABLE IBNLINES
>FORMAT PACK
>ERASE A B >0->A 
>ASSIGN RESULT B
>IF ((STRSIZE B > 42) THEN (IF ((SUBSTR B 7 3) = 'IBN') THEN(
>TRIM (SUBSTR B 26 16);IF (Z = 'XXXXX') THEN (A+1->A)))
>WHILE (NEXT) (ASSIGN RESULT B;IF ((STRSIZE B) > 42) THEN (
>IF ((SUBSTR B 7 3) = 'IBN') THEN ( 
>TRIM (SUBSTR B 26 16);IF (Z = 'XXXXX') THEN (A+1->A))))
>PRINT A

Where XXXXX is equal to the entry in the symbol field of table CUSTNAME.  The total number of members in each customer group is the sum of the three numbers noted above.