Table of Contents

CLUSTER Source

References

Source Listing

CLUSTER.MACRO.txt
  1. MACRO 00001000
  2. &NAME CLUSTER &CUTYPE=,&GPOLL=,&LINE=,&DIAL=NO 00002100
  3. GBLA &RCUCNT,&RCHCNT,&RDVCNT,&DIAL75(16) 00002200
  4. GBLA &RPCCNT,&RPCLST(16) 00004000
  5. GBLC &RPCCU(16),&CUPOLL 00005000
  6. LCLA &NICNAME,&DIAL375 00006100
  7. LCLC &TYPE 00007000
  8. AIF (&RCUCNT NE 0 OR &RCHCNT NE 0 OR &RDVCNT NE 0).ERR9 00008000
  9. AIF ('&NAME' EQ '').ERR1 00009000
  10. AIF (T'&CUTYPE EQ 'O').ERR3 00010000
  11. AIF (('&CUTYPE' NE '3271') AND ('&CUTYPE' NE '3275')).ERR4 00011000
  12. AIF ('&DIAL' NE 'NO').NGPDISP 00011050
  13. AIF (K'&DIAL GT 2).NGPERR 00011075
  14. AGO .NGP 00011100
  15. .NGPDISP ANOP 00011125
  16. AIF ('&CUTYPE' NE '3275').NGPERR 00011150
  17. AIF ('&DIAL' NE 'YES').NGPERR 00011175
  18. AIF (K'&DIAL GT 3).NGPERR 00011200
  19. &DIAL375 SETA 1 00011225
  20. AGO .NGP1 00011250
  21. .NGPERR MNOTE 8,'INVALID DIAL OPERAND, NO ASSUMED' 00011275
  22. .NGP ANOP 00011300
  23. AIF (T'&GPOLL EQ 'O').ERR5 00012000
  24. AIF (K'&GPOLL NE 4).ERR6 00013000
  25. .NGP1 ANOP 00013100
  26. AIF (T'&LINE EQ 'O').ERR7 00014000
  27. AIF (K'&LINE NE 3).ERR8 00015000
  28. &TYPE SETC 'NICLGRP+NIC&CUTYPE' 00016000
  29. AIF (&RPCCNT EQ 0).SET1 00017000
  30. AIF ('&LINE' EQ '&RPCCU(&RPCCNT)').ADD1 00018000
  31. AIF (&RPCCNT EQ 16 ).ERR2 00019000
  32. .SET1 ANOP 00020000
  33. &RPCCNT SETA &RPCCNT+1 00021000
  34. AIF (&DIAL375 EQ 0).NGP2 00021100
  35. &DIAL75(&RPCCNT) SETA 1 00021200
  36. .NGP2 ANOP 00021300
  37. &RPCCU(&RPCCNT) SETC '&LINE' 00022000
  38. .ADD1 ANOP 00023000
  39. &NICNAME SETA &RPCLST(&RPCCNT) 00024000
  40. &RPCLST(&RPCCNT) SETA &RPCLST(&RPCCNT)+1 00025000
  41. AIF (&DIAL75(&RPCCNT) NE 0).NGP3 00025500
  42. &CUPOLL SETC '&GPOLL'(1,2) 00026000
  43. .NGP3 ANOP 00026500
  44. &NAME DS 0D 00027000
  45. DC AL2(&NICNAME),AL2(0) NICNAME, NICCORD 00028000
  46. DC AL1(NICDISA,0) NICSTAT, NICFLAG 00029000
  47. DC AL1(80),AL1(&TYPE) NICLLEN, NICTYPE 00030000
  48. AIF (&DIAL75(&RPCCNT) EQ 0).NGP4 00030100
  49. DC XL2'00',XL2'00' NICSELT, NICPOLL 00030200
  50. AGO .NGP5 00030300
  51. .NGP4 ANOP 00030400
  52. DC XL2'00',XL2'&GPOLL' NICSELT, NICPOLL 00031000
  53. .NGP5 ANOP 00031100
  54. DC A(0) NICATRB 00032000
  55. DC V(DMKSYSVM) NICUSER 00033000
  56. DC A(0) NICQPNT 00034000
  57. DC 8X'00' NICRSV @VA09296 00034100
  58. SPACE 00035000
  59. MEXIT 00036000
  60. .ERR1 MNOTE 8,'NAME FIELD NOT SPECIFIED' 00037000
  61. MEXIT 00038000
  62. .ERR2 MNOTE 8,'MORE THAN 16 LINES FOR REMOTE CLUSTERS' 00039000
  63. MEXIT 00040000
  64. .ERR3 MNOTE 8,'CUTYPE NOT SPECIFIED' 00041000
  65. MEXIT 00042000
  66. .ERR4 MNOTE 8,'INVALID CUTYPE OPERAND' 00043000
  67. MEXIT 00044000
  68. .ERR5 MNOTE 8,'GPOLL NOT SPECIFIED' 00045000
  69. MEXIT 00046000
  70. .ERR6 MNOTE 8,'INVALID GPOLL OPERAND' 00047000
  71. MEXIT 00048000
  72. .ERR7 MNOTE 8,'LINE NOT SPECIFIED' 00049000
  73. MEXIT 00050000
  74. .ERR8 MNOTE 8,'INVALID LINE OPERAND' 00051000
  75. MEXIT 00052000
  76. .ERR9 MNOTE 12,'CLUSTER MACRO OUT OF SEQUENCE' 00053000
  77. MEND 00054000