User Tools

Site Tools


cdc:nos2.source:nam5871:csisit

CSISIT

Table Of Contents

  • [00006] PROC CSISIT
  • [00007] CSISIT - SEQUENCE INITIALIZATION TASKS.
  • [00011] SEQUENCE INITIALIZATION TASKS.
  • [00038] PROC CSIBPT
  • [00039] PROC CSIIAM
  • [00040] PROC CSIIMT
  • [00041] PROC CSIBWD
  • [00042] PROC CSIBSW
  • [00043] PROC CSIBXT
  • [00044] PROC CSIBRT
  • [00045] PROC CSIBOD
  • [00046] PROC CSIBOT
  • [00048] PROC MESSAGE
  • [00049] PROC NETON
  • [00050] PROC NETSETP
  • [00051] PROC RECALL

Source Code

CSISIT.txt
  1. *DECK CSISIT
  2. USETEXT TEXTSS
  3. USETEXT TEXTCS
  4. USETEXT TXTSMCS
  5. USETEXT TXTAPSS
  6. PROC CSISIT;
  7. # TITLE CSISIT - SEQUENCE INITIALIZATION TASKS. #
  8.  
  9. BEGIN # CSISIT #
  10. #
  11. ** CSISIT - SEQUENCE INITIALIZATION TASKS.
  12. *
  13. * S. H. FISCHER. 81/08/26.
  14. * D. G. DEPEW. 81/11/18.
  15. * C. J. BRION. 82/02/20.
  16. *
  17. * THIS ROUTINE IS PART OF THE INITIALIZATION PROCESS FOR CS.
  18. * ITS JOB IS TO PERFORM OR CALL ROUTINES TO PERFORM ALL THE
  19. * TASKS THAT MUST BE DONE BEFORE STARTING NORMAL OPERATIONS
  20. * OF CS BY ENTERING THE MAIN LOOP.
  21. *
  22. * PROC CSISIT
  23. *
  24. * ENTRY NONE.
  25. *
  26. * EXIT PROGRAM READY TO START NORMAL OPERATIONS.
  27. *
  28. #
  29.  
  30.  
  31.  
  32. #
  33. **** PROC CSISIT - XREF LIST.
  34. #
  35.  
  36. XREF
  37. BEGIN
  38. PROC CSIBPT; # BUILD DEBUG AID POINTER TABLE #
  39. PROC CSIIAM; # INITIALIZE AIP MONITOR #
  40. PROC CSIIMT; # INITIALIZE MANAGED TABLES #
  41. PROC CSIBWD; # BUILD WORKLIST DEFINITIONS #
  42. PROC CSIBSW; # BUILD STATUS WORKLIST DEFINITIONS #
  43. PROC CSIBXT; # BUILD NCF CROSS REFERENCE TABLE #
  44. PROC CSIBRT; # BUILD ROLLOUT TABLE #
  45. PROC CSIBOD; # BUILD OVERLAY DEFINITIONS #
  46. PROC CSIBOT; # BUILD OPERATOR CONTROL BLOCKS #
  47. # AND THE ACN LIST #
  48. PROC MESSAGE; # ISSUE DAYFILE MESSAGE (MACREL) #
  49. PROC NETON; # CONNECT TO NETWORK #
  50. PROC NETSETP; # PARALLEL MODE CONTROL #
  51. PROC RECALL; # PLACE JOB IN RECALL (MACREL) #
  52. END
  53.  
  54. #
  55. ****
  56. #
  57.  
  58.  
  59. DEF OPTION$ #0#; # DAYFILE MESSAGE OPTION #
  60.  
  61. STATUS NETON$ # NETON STATUS LIST #
  62. SUCCESS, # NETON SUCCESSFUL #
  63. UNAVAIL, # NAM UNAVAILABLE #
  64. DUPLICATE, # DUPLICATE CS NETON ATTEMPT #
  65. DISABLED; # CS IS DISABLED #
  66.  
  67.  
  68. ITEM NSTAT S:NETON$; # NETON STATUS #
  69.  
  70.  
  71. ARRAY TRYMSG [00:00] S(3);
  72. BEGIN
  73. ITEM TR$TEXT C(00,00,20) = ["CS ATTEMPTING NETON."];
  74. ITEM TR$ZERO U(02,00,60) = [0];
  75. END
  76.  
  77. ARRAY DUPMSG [00:00] S(3);
  78. BEGIN
  79. ITEM DP$TEXT C(00,00,20) = ["CS DUPLICATE NETON."];
  80. ITEM DP$ZERO U(02,00,60) = [0];
  81. END
  82.  
  83. ARRAY DISMSG [00:00] S(2);
  84. BEGIN
  85. ITEM DI$TEXT C(00,00,15) = ["CS DISABLED."];
  86. ITEM DI$ZERO U(01,30,30) = [0];
  87. END
  88.  
  89. ARRAY OKMSG [00:00] S(3);
  90. BEGIN
  91. ITEM OK$TEXT C(00,00,20) = ["CS NETON SUCCESSFUL."];
  92. ITEM OK$ZERO U(02,00,60) = [0];
  93. END
  94.  
  95.  
  96.  
  97.  
  98.  
  99. CSIBPT; # BUILD DEBUG AID POINTER TABLE #
  100.  
  101. CSIIMT; # INITIALIZE MANAGED TABLES #
  102.  
  103. CSIBWD; # BUILD WORKLIST DEFINITIONS #
  104.  
  105. CSIBSW; # BUILD WORKLIST DEFINITIONS #
  106.  
  107. CSIIAM; # INITIALIZE AIP MONITOR #
  108.  
  109. CSIBXT; # BUILD NCF CROSS REFERENCE TABLE #
  110.  
  111. CSIBOT; # BUILD OPERATOR TABLES #
  112.  
  113. CSIBOD; # BUILD OVERLAY DEFINITIONS #
  114.  
  115. CSIBRT; # BUILD ROLLOUT TABLE #
  116.  
  117.  
  118. P<ABH> = LOC(ABHBUF);
  119. P<CSSM> = LOC(MSGBUF);
  120. P<APSM> = LOC(MSGBUF);
  121.  
  122.  
  123. CTM$FTIME[0] = O"7777 7777";
  124.  
  125. CSSTATE = FALSE; # EQUALS SHUTDOWN NOT IN PROGRESS #
  126.  
  127.  
  128. MESSAGE (TRYMSG, OPTION$);
  129. FOR NSTAT = S"UNAVAIL"
  130. WHILE NSTAT EQ S"UNAVAIL"
  131. DO # LOOP UNTIL NAM IS AVAILABLE #
  132. BEGIN
  133. RECALL (0);
  134. NETON ("CS", NSUP, NSTAT, MINACN$, MAXACN$); # CONNECT TO NW #
  135. END
  136.  
  137.  
  138. IF NSTAT EQ S"DUPLICATE"
  139. THEN # CS ALREADY NETTED ON #
  140. BEGIN
  141. MESSAGE (DUPMSG, OPTION$);
  142. STOP;
  143. END
  144. ELSE IF NSTAT EQ S"DISABLED"
  145. THEN # CS IS DISABLED #
  146. BEGIN
  147. MESSAGE (DISMSG, OPTION$);
  148. STOP;
  149. END
  150. MESSAGE (OKMSG, OPTION$);
  151.  
  152. NETSETP(0); # BEGIN PARALLEL MODE #
  153.  
  154.  
  155.  
  156. END # CSISIT #
  157. TERM
cdc/nos2.source/nam5871/csisit.txt ยท Last modified: 2023/08/05 17:21 by Site Administrator