cdc:nos2.source:nam5871:nvfodhc
Table of Contents
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
- *DECK NVFODHC
- USETEXT TXCMDNV
- PROC NVFODHC;
- # TITLE NVFODHC - DISPATCH HOP COMMAND. #
- BEGIN # NVFODHC #
- #
- ** NVFODHC - DISPATCH HOP COMMAND.
- *
- * A. LIM. 82/03/18.
- *
- * THIS PROCEDURE-S MAIN FUNCTION IS TO DISPATCH HOP COMMAND
- * TO THE APPROPRIATE ROUTINE. IT IS CALLED INTO EXECUTION BY:
- * *NVFOROC*
- *
- * PROC NVFODHC
- *
- * ENTRY HOP COMMAND IN *WCBUF[1]*, *HDRCMD[1]*, AND *PARMS[0]*.
- * WITH *WCBUF* DEFINED IN TEXTSS, AND *HDRCMD* AND *PARMS*
- * IN TXCMDNV.
- *
- * EXIT THE COMMAND IS ROUTED TO THE APPROPRIATE ROUTINE TO BE
- * PROCESSED.
- *
- * METHOD USE THE PROCESS-CODE OF THE COMMAND IN THE COMMAND
- * -SYNTAX-TABLE TO DETERMINE THE ROUTINE TO ROUTE IT TO.
- #
- #
- **** PROC NVFODHC XREF LIST
- #
- XREF
- BEGIN
- PROC NVFOPAC; # PERFORM APPLICATION COMMAND #
- PROC NVFOPHC; # PERFORM HISTORY COMMAND #
- PROC NVFOPSC; # PERFORM SHUTDOWN COMMAND #
- PROC NVFOPSS; # PREPARE STATUS SEARCH #
- END
- #
- ****
- #
- CONTROL EJECT;
- #
- * USE PROCESS CODE TO DISPATCH THE VALID HOP COMMAND TO THE
- * APPROPRIATE ROUTINE.
- #
- IF PAR$PCODE[HDR$TXWCNT[1]+1] EQ APPL$
- THEN
- BEGIN
- NVFOPAC; # PERFORM APPLICATION COMMAND #
- END
- ELSE IF PAR$PCODE[HDR$TXWCNT[1]+1] EQ HISTORY$
- THEN
- BEGIN
- NVFOPHC; # PERFORM HISTORY COMMAND #
- END
- ELSE IF PAR$PCODE[HDR$TXWCNT[1]+1] EQ HOST$
- THEN
- BEGIN
- NVFOPSC; # PERFORM SHUTDOWN COMMAND #
- END
- ELSE
- BEGIN
- NVFOPSS; # PREPARE STATUS SEARCH #
- END
- END # NVFODHC #
- TERM
cdc/nos2.source/nam5871/nvfodhc.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator