User Tools

Site Tools


cdc:nos2.source:nam5871:csesim

CSESIM

Table Of Contents

  • [00005] PROC CSESIM
  • [00006] SEND IDLING-DOWN MESSAGE.
  • [00009] SEND IDLING-DOWN MESSAGE.
  • [00029] PROC SSTAQE

Source Code

CSESIM.txt
  1. *DECK CSESIM
  2. USETEXT TEXTCS
  3. USETEXT TEXTSS
  4. USETEXT TXTAPSS
  5. PROC CSESIM;
  6. # TITLE - SEND IDLING-DOWN MESSAGE. #
  7. BEGIN
  8. #
  9. ** CSESIM - SEND IDLING-DOWN MESSAGE.
  10. *
  11. * D.K. ENDO 82/03/18
  12. *
  13. * THIS PROCEDURE SENDS A MESSAGE REQUEST ALL THE CONNECTED OPERATORS
  14. * TO TERMINATE THEIR CONNECTION.
  15. *
  16. * PROC CSESIM
  17. *
  18. * ENTRY 1. SHUT/INSD SM
  19. *
  20. * EXIT 1. ENTRY IN OPERATOR RESPONSE QUEUE WITH AN AUDIENCE
  21. * GROUP OF ONE(HOP AND ALL NOP-S).
  22. *
  23. #
  24. #
  25. **** PROC CSESIM - XREF LIST BEGINS.
  26. #
  27. XREF
  28. BEGIN
  29. PROC SSTAQE; # ADD QUEUE ENTRY #
  30. END
  31. #
  32. ****
  33. #
  34. DEF TRM$TXTL # 50 #; # CHAR COUNT OF -PLEASE TERMINATE- TEXT #
  35. #
  36.   THIS ARRAY DEFINES THE -PLEASE TERMINATE CONNECTION- MESSAGE THAT
  37.   IS SENT TO ALL OPERATOR WHEN THIS PROC IS INVOKED.
  38. #
  39. ARRAY TRM$TXT [00:00] S(5);
  40. BEGIN
  41. ITEM TRM$MSG C(00,00,47) =
  42. ["CS SHUTDOWN INITIATED, PLEASE TERMINATE CONNECT"];
  43. ITEM TRM$ZBYT U(04,42,18) = [ 0 ];
  44. END
  45. CONTROL EJECT;
  46. # #
  47. # CSESIM CODE BEGINS HERE #
  48. # #
  49. #
  50. * SEND A -PLEASE TERMINATE- MESSAGE THE OPERATOR RESPONSE QUEUE WITH
  51. * THE AUDIENCE GROUP SET TO ONE(HOP AND ALL NOP-S).
  52. #
  53. WCB$WORD[1] = 0;
  54. WCB$WC[1] = 2 + (TRM$TXTL / 10);
  55. ABHWORD[1] = TRM$TXTL;
  56. ABHADR[1] = AUDGR1$;
  57. SSTAQE(P<ORQ>,WCBUF[1],ABH[1],TRM$TXT[0]);
  58. RETURN; # **** RETURN **** #
  59. END # CSESIM #
  60. TERM
cdc/nos2.source/nam5871/csesim.txt ยท Last modified: 2023/08/05 17:21 by Site Administrator