User Tools

Site Tools


cdc:nos2.source:nam5871:nvfodhc

NVFODHC

Table Of Contents

  • [00003] PROC NVFODHC
  • [00004] NVFODHC - DISPATCH HOP COMMAND.
  • [00008] DISPATCH HOP COMMAND.
  • [00035] PROC NVFOPAC
  • [00036] PROC NVFOPHC
  • [00037] PROC NVFOPSC
  • [00038] PROC NVFOPSS

Source Code

NVFODHC.txt
  1. *DECK NVFODHC
  2. USETEXT TXCMDNV
  3. PROC NVFODHC;
  4. # TITLE NVFODHC - DISPATCH HOP COMMAND. #
  5.  
  6. BEGIN # NVFODHC #
  7. #
  8. ** NVFODHC - DISPATCH HOP COMMAND.
  9. *
  10. * A. LIM. 82/03/18.
  11. *
  12. * THIS PROCEDURE-S MAIN FUNCTION IS TO DISPATCH HOP COMMAND
  13. * TO THE APPROPRIATE ROUTINE. IT IS CALLED INTO EXECUTION BY:
  14. * *NVFOROC*
  15. *
  16. * PROC NVFODHC
  17. *
  18. * ENTRY HOP COMMAND IN *WCBUF[1]*, *HDRCMD[1]*, AND *PARMS[0]*.
  19. * WITH *WCBUF* DEFINED IN TEXTSS, AND *HDRCMD* AND *PARMS*
  20. * IN TXCMDNV.
  21. *
  22. * EXIT THE COMMAND IS ROUTED TO THE APPROPRIATE ROUTINE TO BE
  23. * PROCESSED.
  24. *
  25. * METHOD USE THE PROCESS-CODE OF THE COMMAND IN THE COMMAND
  26. * -SYNTAX-TABLE TO DETERMINE THE ROUTINE TO ROUTE IT TO.
  27. #
  28.  
  29.  
  30. #
  31. **** PROC NVFODHC XREF LIST
  32. #
  33. XREF
  34. BEGIN
  35. PROC NVFOPAC; # PERFORM APPLICATION COMMAND #
  36. PROC NVFOPHC; # PERFORM HISTORY COMMAND #
  37. PROC NVFOPSC; # PERFORM SHUTDOWN COMMAND #
  38. PROC NVFOPSS; # PREPARE STATUS SEARCH #
  39. END
  40. #
  41. ****
  42. #
  43.  
  44.  
  45. CONTROL EJECT;
  46.  
  47. #
  48. * USE PROCESS CODE TO DISPATCH THE VALID HOP COMMAND TO THE
  49. * APPROPRIATE ROUTINE.
  50. #
  51.  
  52. IF PAR$PCODE[HDR$TXWCNT[1]+1] EQ APPL$
  53. THEN
  54. BEGIN
  55. NVFOPAC; # PERFORM APPLICATION COMMAND #
  56. END
  57. ELSE IF PAR$PCODE[HDR$TXWCNT[1]+1] EQ HISTORY$
  58. THEN
  59. BEGIN
  60. NVFOPHC; # PERFORM HISTORY COMMAND #
  61. END
  62. ELSE IF PAR$PCODE[HDR$TXWCNT[1]+1] EQ HOST$
  63. THEN
  64. BEGIN
  65. NVFOPSC; # PERFORM SHUTDOWN COMMAND #
  66. END
  67. ELSE
  68. BEGIN
  69. NVFOPSS; # PREPARE STATUS SEARCH #
  70. END
  71.  
  72. END # NVFODHC #
  73.  
  74. TERM
cdc/nos2.source/nam5871/nvfodhc.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator