R (result field digits) operation extender, 193, 262, 280
RAFDATA File specification keyword, 51
random access, 497
ranges, 419–420
READ, 20, 187, 331–333, 369, 496, 513, 522
CHAIN and, 230–231, 332–333
CLOSE and, 332–333
cursor positioning after successful operation of, 509
DELETE and, 248, 332–333
%EOF and, 331
EXCEPT and, 332–333
EXFMT and, 273
FEOD and, 332–333
NEXT and, 312–313
READE and, 332–333, 336
READP and, 332–333
READPE and, 332–333
SETGT and, 332–333, 354–355
SETTL and, 332–333, 357
syntax diagram for, 197
UNLOCK and, 332–333
UPDATE and, 332–333, 380
READC, 187, 334, 496, 523
syntax diagram for, 197
workstation device file processing and, 518
READE, 154, 187, 335–336, 496, 503, 513, 516
CHAIN and, 230–231, 336
CLOSE and, 336
cursor positioning after successful operation of, 509
DELETE and, 336
EXCEPT and, 336
FEOD and, 336
KLIST and, 288
READ and, 332–333, 336
READP and, 336, 338
READPE and, 336, 341
record locking anomaly in, 510–514
SETGT and, 336
SETTL and, 336
syntax diagram for, 197
UNLOCK and, 336
UPDATE and, 336, 380
read-only parameters, 454
READP, 187, 337–339, 496, 513
CHAIN and, 230–231, 337, 338
CLOSE and, 338
cursor positioning after successful operation of, 509
DELETE and, 248, 338
EXCEPT and, 338
FEOD and, 338
READ and, 332–333, 338
READE and, 336, 338
READPE and, 338, 341
SETGT and, 337, 338, 354–355
SETLL and, 337, 338
syntax diagram for, 197, 198
UNLOCK and, 338
UPDATE and, 338, 380
CHAIN and, 230–231, 341
CLOSE and, 341
cursor positioning after successful operation of, 509
DELETE and, 341
EXCEPT and, 341
FEOD and, 341
KLIST and, 288
READ and, 332–333, 341
READE and, 336, 341
READP and, 338, 341
record locking anomaly in, 510–514
SETGT and, 341
SETTL and, 341
syntax diagram for, 198
UNLOCK and, 341
UPDATE and, 341, 380
REALLOC, 187, 242, 342–343
ALLOC and, 342–343
syntax diagram for, 198
%REALLOC, 123
RECNO File specification keyword, 51
record identifying entries (See also input specifications), 19, 67
record locking (See UNLOCK)
records, 497
REL, 187, 344, 496
EXCEPT and, 272
MAXDEV keyword and, 344
syntax diagram for, 198
workstation device file processing and, 518
relational database management systems, decimal data errors and, 561
release versions, TGTRLS (Target Operating System Release) in, 555
%REM, 123, 163
EVAL and, 266
EVALR and, 268–269
RENAME File specification keyword, 51
repetition, in control flow, 432–435
repetition constructs, parameter passing and, 450
REPLACE (Replace Existing Program) compiler option, 552–553
%REPLACE, 123, 164
Report Program Generator (See RPG)
reserved fields, 28
reserved names, 27–28, 28
reserved words, 28–29
RESET, 188, 345–347
*ALL and, 345
CLEAR and, 237, 346
IMPORT keyword and, 346
*INZSR and, 345–347
*NOKEY and, 345–347
syntax diagram for, 198
result field (See also target field), 3, 183
resulting indicators, 20, 183
Retrieve Operational Descriptor (See CEEDOD)
RETURN, 103, 110, 117, 188, 348–349, 481
natural expression support in, 200
syntax diagram for, 198
Return as Uppercase String source code, 585
return codes, special device file, 328
return indicators, 16
Return Length of Input String source code, 587
return points, subroutine, 31
return values, expressions in, 110
right-signed data type, 13
*RIGHTADJ, 483
ROLBK, 188, 240, 350, 496
COMMIT and, 350
syntax diagram for, 198
ROLLDOWN/ROLLUP keys, 22
routines, 28
RPG binary data type, 13
RPG cycle, xxi–xxii, 20, 86, 427
file processing and, 495
in procedures and subprocedures, 475, 484
RPG evolution, xx
RPG II, xxi
RPG III, xx, xxi
RPG IV, 1, 420–423
runtime built-in functions, 117
Russell, Bertrand, 103
r-value, 106–108, 266–268