COBOL Manual for TNS/E Programs (H06.03+)
Environment Division
HP COBOL Manual for TNS/E Programs—520347-003
6-68
RECEIVE-CONTROL Paragraph
Messages generated by asynchronous hardware events must be explicitly requested.
See the Guardian Programmer’s Guide for a description of system messages, their
formats, and their implications.
LOGICAL-OPEN and LOGICAL-CLOSE are conventions that enable a program to
keep track of its active requesters simply and directly. LOGICAL-OPEN selects only
the first OPEN message from each new requester. OPEN messages from requester
backups are automatically handled by the run-time routines and not passed to the
program. Similarly, LOGICAL-CLOSE selects only the final CLOSE message from a
requester. If both are asserted, the program receives a single OPEN message
whenever a process or process pair bids for requester access and a single CLOSE
message whenever an active requester relinquishes its access. Because the specific
message type causes all messages of its class to be passed to the program, the
assertion of OPEN (or SYSTEM, which implies OPEN) overrides LOGICAL-OPEN, and
the assertion of CLOSE (or SYSTEM) overrides LOGICAL-CLOSE.
SETMODE -33
STOP Not used—see Table 6-10
TIME-SIGNAL -22
Table 6-9. Message Types That the Hardware Generates (Asynchronous)
COBOL Keyword
Message-Type Code
BREAK -105
CPU-DOWN -02 or -101
CPU-UP -03
NETWORK Not used—see Table 6-10
POWER-ON -11
SETTIME -10
Table 6-8. Message Types That the Program Generates (System) (page2of2)
COBOL Keyword Message-Type Code










