User Tools

Site Tools


cdc:nos2.source:nam5871:cssict

CSSICT

Table Of Contents

  • [00006] PROC CSSICT
  • [00007] INITIATE CS TERMINATION.
  • [00010] INITIATE CS TERMINATION.
  • [00032] PROC SSTAQE
  • [00033] PROC NETOFF
  • [00034] PROC ENDRUN
  • [00045] PROC SSSPSI

Source Code

CSSICT.txt
  1. *DECK CSSICT
  2. USETEXT TEXTCS
  3. USETEXT TEXTSS
  4. USETEXT TXTSMCS
  5. USETEXT TXTAPSS
  6. PROC CSSICT;
  7. # TITLE - INITIATE CS TERMINATION. #
  8. BEGIN
  9. #
  10. ** CSSICT - INITIATE CS TERMINATION.
  11. *
  12. * D.K. ENDO 82/03/11
  13. * C.J. BRION 82/06/04.
  14. *
  15. * THIS PROCEDURE HANDLES THE SHUT/INSD SM. IF A GRADUAL SHUTDOWN
  16. * IS INDICATED, SEND AN EVENT TO THE OPERATORS. IF AN IMMEDIATE
  17. * SHUTDOWN, GATHER AND OUTPUT PROGRAM STATISTICS AND NETOFF.
  18. *
  19. *
  20. * PROC CSSICT
  21. *
  22. * ENTRY 1. SHUT/INSD SM
  23. *
  24. * EXIT 1. ENTRY IN SUPERVISION EVENT QUEUE
  25. *
  26. #
  27. #
  28. **** PROC CSSICT - XREF LIST BEGINS.
  29. #
  30. XREF
  31. BEGIN
  32. PROC SSTAQE; # ADD QUEUE ENTRY #
  33. PROC NETOFF; # NETOFF PROC #
  34. PROC ENDRUN; # END PROGRAM RUN #
  35. END
  36. #
  37. ****
  38. #
  39. #
  40. **** PROC CSSICT - DEBUG XREF LIST BEGINS.
  41. #
  42. $BEGIN
  43. XREF
  44. BEGIN
  45. PROC SSSPSI; # PREPARE SS STATISTICS INFORMATION #
  46. END
  47. $END
  48. #
  49. ****
  50. #
  51. # #
  52. # CSSICT CODE BEGINS HERE #
  53. # #
  54. #
  55. * CHECK THE SHUTDOWN FLAG IN THE SHUT/INSD SM. IF TRUE, GATHER
  56. * STATS AND ISSUE THEN NETOFF. OTHERWISE, SEND AN EVENT TO THE
  57. * OPERATORS.
  58. #
  59.  
  60. IF SHUTF[0]
  61. THEN
  62. BEGIN
  63. $BEGIN
  64. SSSPSI; # SEND SS STATISTICS TO STAT FILE (ZZZZSN)#
  65. $END
  66.  
  67. NETOFF;
  68. ENDRUN;
  69. END
  70. ELSE
  71. SSTAQE(P<EVQ>,WCBUF[0],ABH[0],CSSM[0]);
  72.  
  73. CSSTATE = TRUE; # SET PROGRAM STATE SHUTDOWN #
  74.  
  75. RETURN; # **** RETURN **** #
  76.  
  77. END # CSSICT #
  78. TERM
cdc/nos2.source/nam5871/cssict.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator