User Tools

Site Tools


cdc:nos2.source:nam5871:ipispho

IPISPHO

Table Of Contents

  • [00003] PROC IPISPHO
  • [00005] IPISPHO - PROCESS HOST OPERATOR REQUEST SUPERVISORY MESSAGE.
  • [00034] PROC NETDBG
  • [00035] PROC NETREL

Source Code

IPISPHO.txt
  1. *DECK IPISPHO
  2. USETEXT TEXTIPL
  3. PROC IPISPHO;
  4. *CALL COPYRITE CDCNET - COPYRIGHT CONTROL DATA. 1992.
  5. # TITLE IPISPHO - PROCESS HOST OPERATOR REQUEST SUPERVISORY MESSAGE. #
  6.  
  7. BEGIN # IPISPHO #
  8. #
  9. **** IPISPHO PROCESS HOST OPERATOR REQUEST SUPERVISORY MESSAGE
  10. *
  11. * THIS PROCEDURE PROCESSES A HOP SUPERVISORY MESSAGE. THE
  12. * SUPPORTED OPTIONS ARE DEBUG AND TRACE.
  13. *
  14. * PROC IPISPHO
  15. *
  16. * ENTRY P<APSM> = PTR TO SUPERVISORY MESSAGE (*INPBUF*).
  17. *
  18. * EXIT DFLAG = TRUE OR FALSE IF DEBUG MODE CHANGE.
  19. *
  20. * METHOD IF THE HOP REQUEST IS DEBUG ON OR OFF, *DFLAG* IS
  21. * UPDATED TO THE CORRECT VALUE. IF THE HOP REQUEST
  22. * IS FOR TRACE, TURN DATA AND SUPERVISORY TRACING ON
  23. * OR OFF *NETDBG* IS CALLED TO MAKE ANY CHANGES TO
  24. * BOTH DATA AND SUPERVISORY MESSAGE TRACING. IF THE
  25. * HOP REQUEST IS TO RELEASE THE DEBUG LOG FILE, CALL
  26. * *NETREL* TO RELEASE IT.
  27. #
  28.  
  29. #
  30. **** PROC IPISPHO - XREF LIST
  31. #
  32. XREF
  33. BEGIN
  34. PROC NETDBG; # TURN ON DEBUG LOGGING #
  35. PROC NETREL; # RELEASE DEBUG LOG FILE #
  36. END
  37. #
  38. **
  39. #
  40.  
  41. ITEM RSTAT I; # RETURN STATUS #
  42. ITEM SMSFC U; # SECONDARY FUNCTION CODE #
  43.  
  44. ARRAY NDLF2 [00:00] S(1);
  45. BEGIN
  46. ITEM NDL$NAM C(00,00,04) = ["NRF2"];
  47. ITEM NDL$ZFIL U(00,24,36) = [0];
  48. END
  49. CONTROL EJECT;
  50.  
  51. #
  52. **** START MAIN PROCEDURE
  53. #
  54.  
  55. SMSFC = SFC [0];
  56.  
  57. IF SMSFC EQ DB
  58. THEN
  59. BEGIN # DEBUG ON #
  60. DFLAG = TRUE;
  61. END # DEBUG ON #
  62.  
  63. ELSE IF SMSFC EQ DE
  64. THEN
  65. BEGIN # DEBUG OFF #
  66. DFLAG = FALSE;
  67. END # DEBUG OFF #
  68.  
  69. ELSE IF SMSFC EQ TRACE
  70. THEN
  71. BEGIN # TRACE ON #
  72. NETDBG (FALSE, FALSE, RSTAT);
  73. END # TRACE ON #
  74.  
  75. ELSE IF SMSFC EQ NOTR
  76. THEN
  77. BEGIN # TRACE OFF #
  78. NETDBG (TRUE, TRUE, RSTAT);
  79. END # TRACE OFF #
  80.  
  81. ELSE IF SMSFC EQ REL
  82. THEN
  83. BEGIN # RELEASE DEBUF LOG FILE #
  84. IF (IPMC NQ 0)
  85. THEN
  86. NETREL (NDLF2, 0, 0); # RELEASE *ZZZZZDN* FILE #
  87. END # RELEASE DEBUG LOG FILE #
  88.  
  89. END # IPISPHO #
  90.  
  91. TERM
cdc/nos2.source/nam5871/ipispho.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator