Converting Your Source

In addition to object-authority requirements, there may be additional requirements. Each converted source program is, on average, about 25 p larger than the size of the program before conversion. To use the Co you need sufficient storage to store the converted source files.

What the Conversion

Aid

Won't Do

 

 

 

¹

The

Conversion

Aid

does

not

support conversion from the RPG IV format

 

to

the RPG

III

or

RPG/400

format.

¹The RPG IV compiler does not support automatic conversion of RPG II

RPG/400 source members to the RPG IV sourceat compileformat.time

¹ The

Conversion

Aid

does not

support

converting

RPG

II

source

programs

the

RPG

IV

source

format.

However, youRPG

IIcanto useRPG IIItheCon-

 

version

Aid

first

and

then the RPG

III

to

RPG

IV

Conversion

Aid.

¹The Conversion Aid does not re-engineer source code, except where

(for example, the number of conditioning indicators.)

¹The Conversion Aid does not create files. The log file and the out exist prior to running it.

Converting Your Source

This section explains how to convert source programs to the RPG IV fo discusses the command CVTRPGSRC, which starts the Conversion Aid, and how to use it.

To convert your source code to the RPG IV format, follow these gene

1. If

you

use

a

data area

as a control specification, you must cr

area

in

the

RPG

IV

format.

Refer to the chapter ILEon

control

spec

RPG

for

AS/400

Referencefor

more

information.

 

 

 

 

 

2. Create a log file, if necessary.

 

 

 

 

 

 

Unless

you specify

LOGFILE(*NONE),

there

must

be

a log file for the

sion Aid to access. If you

do

not

have

one,

then

you

can

create

the CRTDUPOBJ command. For more information,

see

“The

Log

File”

on

page 381

and

“Using

the

Log

File” on

page 396.

 

 

 

 

3. Create the file for the converted source members.

The

Conversion Aid will not create any files. You must create

the

o

the

converted source prior

to running the CVTRPGSRC command. The

recom-

mended name and record length for the

output

file is

QRPGLESRC

and 1

characters respectively. For

additional

file

information

see “File

Cons

on

page 380.

 

 

 

 

 

 

4. Convert your source using the CVTRPGSRC command.

You need to enter the name of the file and member to be convert accept the defaults, you will get a converted member in the file The name of the member will correspond to the name of the unconvert source member. /COPY members will not be expanded in the converted member, unless it is of type RPT or RPT38. A conversion report will ated.

See “The CVTRPGSRC Command” on page 383 for more information.

382 ILE RPG for AS/400 Programmer's Guide

Page 406
Image 406
IBM AS/400 manual Wont Do, Converting Your Source, Aid

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.