EasyManuals Logo

HP NonStop Pathway/iTS User Manual

HP NonStop Pathway/iTS
694 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #645 background imageLoading...
Page #645 background image
NonStop Pathway/iTS Management Programming Manual—426749-002
14-1
14
Error Handling Example Program
This example management program decodes a Pathway subsystem SPI error list. It is
written in COBOL.
The program does the following:
1. Obtains and interprets the ZSPI-TKN-RETCODE token and selects a table based
on the range of ZSPI-TKN-RETCODE. For information on the ZSPI-TKN-
RETCODE token, see the SPI Programming Manual and Section 1, Introduction,
through Section 10, Tell Message Commands, of this manual.
2. Locates and displays the error message text.
3. After opening the error list, decodes and displays the value of the following error
tokens:
ZPWY-TKN-REQCOMMAND
ZPWY-TKN-REQOBJECTTYPE
ZPWY-TKN-REQxxxNAME
ZSPI-DDL-PARM-ERR
ZPWY-TKN-ERROBJECTTYPE
ZPWY-TKN-xxxNAME
ZPWY-TKN-ERRINFO
The error tables are created by defining records that contain the text for each error
message, one record for each of the three categories of Pathway subsystem errors
(that is, errors returned by PATHMON, TCP, and SPI). The program then redefines
each record as a table, with an occurrence for each error message.
The source files used in this example are ZSPICOB, which contains SPI/DSM COBOL
definitions, and ZPWYCOB, which contains Pathway/DSM COBOL definitions. The
object file used is COBOLEX0, which contains C00 operating system procedure call
formats.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP NonStop Pathway/iTS and is the answer not in the manual?

HP NonStop Pathway/iTS Specifications

General IconGeneral
BrandHP
ModelNonStop Pathway/iTS
CategorySoftware
LanguageEnglish

Related product manuals