COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
PROGRAM-STATUS special register, 461, 950
PROGRAM-STATUS-1 special register, 461
PROGRAM-STATUS-2 special register, 461
Programs
called, 513
calling see Calling programs and routines
HP COBOL, 43
mixed-language see Mixed-language programs
non-COBOL, 514, 798
PROMPT phrase, 409
Prompting an operator, 892
PROTECTED exclusion mode, 84, 881
PS TEXT EDIT (TEDIT) editor
commands of, 750
customizing, 751
description of, 749
second window of, 750
Pseudo-text
delimiter for, 62
REPLACE statement and, 767
Pseudo-text:COPY statement and;Substring
replacement:with COPY statement, 764
Pseudorandom number function, 685
pTAL routines
passing parameters to, 322, 810
Punctuation characters
description of, 61
as separators, 61
in comments, 62
in literals:national, 62
in literals:nonnumeric, 62
in literals:numeric, 62
in PICTURE character-strings, 62
Purging files
contents only, 885
description of, 856
entire files, 884
Q
Qualification
in CALL and ENTER statements, 517
of data items, 90, 1016
of data items:redefined, 188
of file names, 99
of names, 67
of references, 517
operand identification and, 242
Question mark (?)
as TACL command, 745
in ANSI reference format, 703
in Tandem reference format, 45
Queue files, 82, 864
access modes of, 83
creating, 868
determining key value of last record of, 457
file description entries for, 159
file-control entries for, 116, 136
opening, 868
reading, 868
removing records from, 868
writing, 869
Queue files:closing, 307
Queue files:writing, 495
Queuing printer file records, 387
Quotation mark (")
as separator, 62
figurative constant for, 75
in CALL statement, 293
in ENTER statement, 320
in literal
hexadecimal nonnumeric, 73
national, 73
simple nonnumeric, 72
QUOTE or QUOTES figurative constant, 75
R
Radix 10, 203
Raising to a power
See Exponentiation operator, 244
Random access mode, 82
DELETE statement and, 311
key values and, 117
RANDOM function
Numeric functions, 685
RANGE function, 686
READ statement
description of, 405
for line sequential file, 721
LOCKFILE statement and, 360, 412
READ NEXT, 414
Reading
from called programs, 860
from processes, 896
from terminals, 896
numeric data, 896
Reading from tape files
unlabeled, 839
Reading:from tape files
description of, 838
labeled, 842
other than HP, 845
READWRITE (PROMPT phrase), 409
RECEIVE-CONTROL paragraph
description of, 143, 923
for run unit, 143
without reply table, 148
Receive-control table, 147, 923
Receiving data items
description of, 242
in INITIALIZE statement, 344
RECFORM attribute of DEFINE
for labeled tape file, 851
for unlabeled tape file, 848
RECORD CONTAINS clause
description of, 163, 173
for labeled tape file, 851
for unlabeled tape file, 848
in external file, 161
1260 Index










