removing

observability

88

 

 

 

 

RPG

IV (continued)

 

 

 

 

 

RENAME

keyword

266

 

 

 

 

 

 

 

overview

 

3

 

 

 

 

 

 

renaming

field

names

 

266

 

 

 

 

unsupported RPG

III

features

398

renaming

fields

266

 

 

 

 

 

 

RT

(return)

indicator

 

 

 

renaming record-format names 266

 

See return

(RT)

indicator

 

REPLACE

parameter

 

 

 

 

 

 

 

run-time

array

 

 

 

 

 

 

CRTBNDRPG

command

58,

415

 

 

 

allocating

storage

during run-time 119

CRTRPGMOD

command

74

 

 

 

 

 

run-time job attributes

 

 

 

replacing modules in a program 87

 

See *JOBRUN

 

 

 

 

 

 

reply

list

of

messages

 

 

 

 

run-time

errors,

correcting with a compiler listing 68

adding

to

108

 

 

 

 

 

 

 

run-time

inquiry

messages,

 

replying

to 108

changing

 

109

 

 

 

 

 

 

 

 

run-time storage, managing 113

 

replying to run-time inquiry messages 108

running

 

a

program

 

 

 

 

 

requirements of Conversion Aid 381

See

 

alsoprogram/procedure

call

 

reserved

words

 

 

 

 

 

 

 

differences between ILE RPG and OPM

*CANCL

 

237

 

 

 

 

 

 

 

 

 

 

 

RPG/400

 

374

 

 

 

 

 

 

*DETC

 

237

 

 

 

 

 

 

 

 

 

 

from

a

menu-driven

application 106

 

*DETL

237

 

 

 

 

 

 

 

 

 

 

in the OPM default activation group 111

*GETIN

 

237

 

 

 

 

 

 

 

 

 

overview

 

103

 

 

 

 

 

 

*OFL

 

237

 

 

 

 

 

 

 

 

 

 

using a user-created command 108

 

*TOTC

237

 

 

 

 

 

 

 

 

 

 

using

the

CL

CALL

 

command

103

 

*TOTL

237

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

resulting

indicators

(01-99, H1-H9,

OA-OG, OV,

L1-L9,

 

 

 

 

 

 

 

 

 

 

LR,

U1-U8,

KA-KN, KP-KY, RT)

 

 

S

 

 

 

 

 

 

 

 

 

 

 

See

alsoindividual

operation

codes

sample

 

programs

 

 

 

 

 

 

as

error

 

indicators

227

 

 

See examples

 

 

 

 

 

 

resume

point

237

 

 

 

 

 

 

 

scope

 

 

 

 

 

 

 

 

 

 

Retrieve

Operational

Descriptor

Information

of

files

80

 

 

 

 

 

 

(CEEDOD)

94

 

 

 

 

 

 

 

 

 

screen design aid (SDA) 106

 

example

 

139

 

 

 

 

 

 

 

 

search

argument

 

 

 

 

 

 

operational

descriptors

139

 

externally

described

file

 

retry on a record lock timeout 276

 

description

285

 

 

 

RETURN (return to caller) operation code

 

referencing a partial key 286

 

returning

without

ending

154

 

 

valid

 

286

 

 

 

 

 

 

role in abnormal end 153

 

 

program-described file 288

 

role in normal end 152

 

 

 

SECLVL

parameter

386

 

 

 

 

 

return

(RT)

 

indicator

 

 

 

 

 

SEQ

file

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

example

 

327

 

 

 

 

 

 

used to end a program/procedure 152, 153, 154

 

 

 

 

 

 

 

 

 

return points, specifying in ENDSR 237

file operation codes allowed 326

return

status

parameter

 

328

 

 

general

description 326

 

 

return

value

 

 

 

 

 

 

 

 

 

 

processing

chart

326

 

 

 

returning

using

expressions

134

restrictions

326

 

 

 

 

RETURNCODE

data

area

70

 

 

 

 

variable-length

 

326

 

 

 

returning from a called main procedure 152

sequence

checking

 

 

 

 

 

returning from a called procedure 152

on

input

specifications

 

271

 

returning from a main procedure 152

sequential

file

290

 

 

 

 

returning from a subprocedure 154

sequential-by-key processing

 

returning using ILE bindable APIs 155

examples

 

293

 

 

 

 

 

 

returning

without

ending

154

 

 

general

discussion

293

 

 

 

rolldown

command

key

334

 

 

 

 

sequential-only processing 292, 293

 

rollup

command

key

334

 

 

 

 

sequential-within-limits processing

 

root

source

 

view,

creating

167

 

examples

 

301

 

 

 

 

 

 

RPG IV

 

 

 

 

 

 

 

 

 

 

 

general

discussion

300

 

 

 

See

alsoILE

RPG

 

 

 

 

 

 

 

service program

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

adding to a debug session 172

 

behavioral differences between RPG III 373

 

 

 

 

 

 

 

 

 

 

converting

 

to

23,

 

25,

 

379

 

 

binder

language

97

 

 

 

460 ILE RPG for AS/400 Programmer's Guide

Page 484
Image 484
IBM AS/400 manual Oa-Og, Ov

AS/400 specifications

The IBM AS/400, now known as the IBM iSeries, is a midrange computer system that has been a cornerstone of enterprise computing since its introduction in 1988. Designed to provide a robust platform for business applications, the AS/400 is celebrated for its reliability, scalability, and integrated database capabilities.

One of the key features of the AS/400 is its Integrated Operating Environment, which blends hardware and software resources seamlessly. This integration allows businesses to execute diverse workloads, ranging from traditional applications to modern web-based services, all on a single platform. The operating system, OS/400 (now IBM i), offers a rich set of APIs and tools for developers, simplifying application development and management.

Another standout characteristic of the AS/400 is its built-in database, DB2 for i. This powerful relational database management system allows for efficient data handling and provides advanced features such as support for SQL, XML, and JSON, making it easier for businesses to manage their data and integrate it with other systems. The database's tight integration with the operating system enables high performance and security.

In terms of scalability, the AS/400 can accommodate small businesses as well as large enterprises, with the ability to support hundreds of users simultaneously. Its architecture allows for easy upgrades in hardware, meaning that organizations can scale their systems without replacing the entire infrastructure.

Security is another critical attribute of the AS/400. With a sophisticated security model, it offers built-in user authentication, access control, encryption, and auditing capabilities to protect data and applications from unauthorized access.

The AS/400 also supports multiple programming languages, including RPG, COBOL, Java, and PHP, giving organizations the flexibility to choose the development tools that best fit their needs. This diversity helps maintain legacy applications while also developing new ones that leverage modern technologies.

Moreover, the platform supports both traditional green-screen interfaces and modern graphical user interfaces, allowing organizations to transition smoothly into contemporary user experience paradigms.

Overall, the IBM AS/400 stands out as a resilient, flexible, and secure computing platform that enables organizations to effectively manage their business operations, streamline processes, and adapt to changing market demands. Its unique combination of integrated features and capabilities ensures that it remains relevant in today's fast-paced technology landscape.