User Tools

Site Tools


cdc:nos2.source:nam5871:cssdtc

CSSDTC

Table Of Contents

  • [00005] PROC CSSDTC
  • [00006] CSSDTC - DISPATCH TEST COMMAND
  • [00011] DISPATCH TEST COMMAND.
  • [00037] PROC CSSATR
  • [00038] PROC CSSATM
  • [00039] PROC CSSATD

Source Code

CSSDTC.txt
  1. *DECK CSSDTC
  2. USETEXT TEXTCS;
  3. USETEXT TEXTSS;
  4. USETEXT TXCMDCS;
  5. PROC CSSDTC;
  6. # TITLE CSSDTC - DISPATCH TEST COMMAND #
  7.  
  8. BEGIN
  9.  
  10. #
  11. ** CSSDTC - DISPATCH TEST COMMAND.
  12. *
  13. * C. BRION 82/04/13.
  14. *
  15. * THIS PROCEDURE RECEIVES ALL TST DIAGNOSTIC COMMANDS AND CALLS
  16. * THE APPROPRIATE PROCEDURE TO PROCESS EACH TYPE OF COMMAND.
  17. *
  18. * PROC CSSDTC
  19. *
  20. * ENTRY
  21. * 1. WCBWORD[0] = WORD COUNT BUFFER.
  22. * 2. HDRCMD[0] = COMMAND HEADER WORD.
  23. * 3. PARMS[0] = PARAMETER BLOCK CONTAINING THE ORIGINAL TYPEIN
  24. * SYNTAX PARAMETER LIST, AND ADDRESS LIST.
  25. *
  26. * EXIT
  27. * NONE.
  28. *
  29. #
  30.  
  31. #
  32. **** PROC CSSDTC XREF LIST
  33. #
  34.  
  35. XREF
  36. BEGIN
  37. PROC CSSATR; # ACTION TST REQUEST CMD #
  38. PROC CSSATM; # ACTION TST MESSAGE CMD #
  39. PROC CSSATD; # ACTION TST DROP COMMAND #
  40. END
  41. #
  42. ****
  43. #
  44.  
  45. ITEM TYPEINDX U; # INDEX VAR FOR CMD QUALIFIER#
  46. ITEM DVAR;
  47.  
  48.  
  49.  
  50.  
  51.  
  52. TYPEINDX = HDR$TXWCNT[0] + 2; # SET INDEX LOC OF QUALIFIER #
  53.  
  54. #
  55. * CHECK QUALIFIER AND THE CALL PROCEDURE TO PROCESS COMMAND.
  56. #
  57.  
  58. IF PAR$PCODE[TYPEINDX] EQ "RE0" # TST REQUEST CMD #
  59. THEN
  60. CSSATR;
  61. ELSE IF PAR$PCODE[TYPEINDX] EQ "MS0" # TST MSG CMD #
  62. THEN
  63. CSSATM;
  64. ELSE # TST DROP CMD #
  65. CSSATD;
  66.  
  67. DVAR = 1;
  68.  
  69. END # CSSDTC #
  70.  
  71. TERM
cdc/nos2.source/nam5871/cssdtc.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator