removing observability 88
RENAME keyword 266
renaming field names 266
renaming fields 266
renaming record-format names 266
REPLACE parameter
CRTBNDRPG command 58, 415
CRTRPGMOD command 74
replacing modules in a program 87
reply list of messages
adding to 108
changing 109
replying to run-time inquiry messages 108
requirements of Conversion Aid 381
reserved words
*CANCL 237
*DETC 237
*DETL 237
*GETIN 237
*OFL 237
*TOTC 237
*TOTL 237
resulting indicators (01-99, H1-H9, OA-OG, OV, L1-L9,
LR, U1-U8, KA-KN, KP-KY, RT)
See also
individual operation codes
as error indicators 227
resume point 237
Retrieve Operational Descriptor Information
(CEEDOD) 94
example 139
operational descriptors 139
retry on a record lock timeout 276
RETURN (return to caller) operation code
returning without ending 154
role in abnormal end 153
role in normal end 152
return (RT) indicator
used to end a program/procedure 152, 153, 154
return points, specifying in ENDSR 237
return status parameter 328
return value
returning using expressions 134
RETURNCODE data area 70
returning from a called main procedure 152
returning from a called procedure 152
returning from a main procedure 152
returning from a subprocedure 154
returning using ILE bindable APIs 155
returning without ending 154
rolldown command key 334
rollup command key 334
root source view, creating 167
RPG IV
See also
ILE RPG
behavioral differences between RPG III 373
converting to 23, 25, 379
RPG IV
(continued)
overview 3
unsupported RPG III features 398
RT (return) indicator
See
return (RT) indicator
run-time array
allocating storage during run-time 119
run-time job attributes
See
*JOBRUN
run-time errors, correcting with a compiler listing 68
run-time inquiry messages, replying to 108
run-time storage, managing 113
running a program
See also
program/procedure call
differences between ILE RPG and OPM
RPG/400 374
from a menu-driven application 106
in the OPM default activation group 111
overview 103
using a user-created command 108
using the CL CALL command 103
S
sample programs
See
examples
scope
of files 80
screen design aid (SDA) 106
search argument
externally described file
description 285
referencing a partial key 286
valid 286
program-described file 288
SECLVL parameter 386
SEQ file
example 327
file operation codes allowed 326
general description 326
processing chart 326
restrictions 326
variable-length 326
sequence checking
on input specifications 271
sequential file 290
sequential-by-key processing
examples 293
general discussion 293
sequential-only processing 292, 293
sequential-within-limits processing
examples 301
general discussion 300
service program
adding to a debug session 172
binder language 97
460 ILE RPG for AS/400 Programmer's Guide