COBOL Manual for TNS and TNS/R Programs
HP Extensions to ISO COBOL
HP COBOL Manual for TNS and TNS/R Programs—522555-006
17-4
Procedure Division Verbs
Procedure Division Verbs
These HP extensions to ISO/ANSI COBOL involve Procedure Division verbs:
•
For developing fault-tolerant programs to run as process pairs:
°
CHECKPOINT
°
STARTBACKUP
°
SYNCDEPTH phrase of OPEN
•
To mark the beginning of a parameter list, the USING phrase of ENTER
•
To specify a data item that stores the value a function returns, the GIVING phrase
of ENTER
•
To control file access and maintain the integrity of data bases in transaction-
processing applications or other applications that allow multiple access to files:
°
LOCKFILE
°
UNLOCKFILE
°
UNLOCKRECORD
°
TIME LIMITS phrase of these statements:
°
OPEN
°
READ
°
START
°
EXCLUSIVE, SHARED, and PROTECTED phrases of OPEN
°
LOCK phrase of READ
°
UNLOCK phrase of REWRITE
•
To display a prompt before a read operation, PROMPT phrase of READ
•
REVERSED phrase of READ
•
To specify an object file that contains a program unit, the OF or IN phrase of these
statements:
°
CALL
°
CANCEL
°
ENTER)
•
Parameters of CALL can be at levels other than 01 or 77 and, under some
conditions, can be subscripted
•
Specification of any type of conditional expression in the WHEN phrase of
SEARCH ALL (at the cost of not being able to use binary searching in that case)