Management Programming Examples
Example 13-1. Pathway/iTS Configuration Program (page 7 of 13)
*
Clear the TERM definition.
ENTER TAL "SSNULL"
USING ZPWY-MAP-DEF-TERM,
GIVING WS-SS-RESULT
PERFORM 4000-CHECK-SUBSYSTEM-ERROR
*
Set appropriate TERM definition values.
MOVE "ENABLE-MENU" TO ZINITIAL OF ZPWY-DDL-DEF-TERM
MOVE "TCP-SPI" TO ZTCP OF ZPWY-DDL-DEF-TERM
MOVE "T16-6520" TO ZTERMTYPE OF ZPWY-DDL-DEF-TERM
*
Point the FD-name for the PATHMON process to the current home terminal.
ENTER TAL "MYTERM"
USING WS-FILE-NAME
*
Convert the file name from internal format to FNAME32 format.
ENTER TAL "FNAMETOFNAME32"
USING WS-FILE-NAME,
*
Put the TERM definition into the buffer.
ENTER TAL "SSPUT"
USING ZPWY-DDL-MSG-BUFFER,
GIVING WS-SS-RESULT
PERFORM 4000-CHECK-SUBSYSTEM-ERROR
*
Issue the ADD TERM command.
PERFORM 3800-ISSUE-PATHMON-COMMAND
.
/
1200-ADD-PROGRAM.
*
Construct the ADD PROG command.
MOVE ZPWY-CMD-ADD
MOVE ZPWY-OBJ-PROG TO OBJECT-TYPE OF WS-SPI-INPUT
PERFORM 2800-SELECT-COMMAND-OBJECT
*
Construct the object-selector token for the PROGRAM.
MOVE "PROGRAM-SPI" TO OBJECT-NAME OF WS-SPI-INPUT
PERFORM 2900-SELECT-PROGRAM
*
Clear the PROGRAM definition.
ENTER TAL "SSNULL"
USING ZPWY-MAP-DEF-PROG,
GIVING WS-SS-RESULT
PERFORM 4000-CHECK-SUBSYSTEM-ERROR
NonStop Pathway/iTS Management Programming Manual—426749-002
ZPWY-DDL-DEF-TERM
ZFILE OF ZPWY-DDL-DEF-TERM
ZPWY-MAP-DEF-TERM,
ZPWY-DDL-DEF-TERM
TO COMMAND
ZPWY-DDL-DEF-PROG
13- 8
OF WS-SPI-INPUT
Configuring Pathway/iTS
Need help?
Do you have a question about the NonStop Pathway/iTS and is the answer not in the manual?