Analyzing

Your

Conversion

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5769RG1 V4R4M0

990521 RN

 

IBM ILE RPG

 

 

 

 

 

 

 

AS400S01

 

12/30/99 20:41:35

Page

2

From file . .

.

. . . .

.

. . . :

 

MYLIB/QRPGSRC(REPORT)

 

 

 

 

 

 

 

 

 

 

 

To file

. . . .

.

. . . .

.

. . . :

 

MYLIB/QRPGLESRC(REPORT)

 

 

 

 

 

 

 

 

 

 

 

Log file . . .

.

. . . .

.

. . . :

 

*NONE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C o n v e r s i o n

R e p o r t

 

 

 

 

 

 

 

 

 

 

 

 

Sequence

<-----------------------

 

 

Source Specifications ---------------------------

 

 

 

 

><

--------------

Comme￿nts --------------

> Page

 

Number

....1....

+

....2....

+

....3....

+

....4....

+....

5....

+....

6....

+....

7....

+....

8....

+....

9

....+...10

....+...11....

+...12 Line

 

000002

C

 

 

 

CALL

 

PROG1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*RNM0511

00 CALL operation code found.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

000003

C/COPY COPYCODE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*RNM0508

00 /COPY compiler directive found.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

000004

C

 

 

 

FREE

 

PROG2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*RNM0506

30 FREE operation code is not

 

supported in RPG IV.￿

 

 

 

 

 

 

 

 

 

 

 

* * * * *

 

E N D

O F S O U R C E

* * * * *

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure

197.

Sample Source Section of Conversion Report

 

 

 

 

 

 

 

 

 

The message summary of the listing shows you the different messages issued. If you specify SECLVL(*YES), second-level messages will appear message summary. Figure 198 shows the messages section for the sample version, including second-level messages.

5769RG1 V4R4M0

990521 RN

 

IBM ILE RPG

 

AS400S01

12/30/99 20:41:35

Page

2

 

 

M e s s a g e

S u m m a r y

 

 

 

 

Msg id

Sv Number Message text

 

 

 

 

 

 

 

*RNM0508 00

1 /COPY compiler directive found.

 

 

 

 

 

 

Cause . . . . . :

In order for this RPG IV source to

 

 

 

 

 

compile correctly, ensure that all /COPY source members

 

 

 

 

 

included in this source member have also been converted t￿o

 

 

 

 

 

RPG IV.

 

 

 

 

 

 

 

 

 

Recovery

. . . :

Ensure that all /COPY source

 

 

 

 

 

members are converted prior to compiling in RPG IV. In some￿

 

 

 

 

 

cases, problems may result when attempting to convert and￿

 

 

 

 

 

compile source members that make use of the /COPY compiler￿

 

 

 

 

 

directive. If this situation results, specify *YES for the

 

 

 

 

 

EXPCPY parameter on the CVTRPGSRC command to expand the

 

 

 

 

 

/COPY member(s) into the converted source. For further

 

 

 

 

 

information see the ILE RPG for AS/400 Programmers Guide.

 

 

 

*RNM0511 00

1 CALL operation code found.

 

 

 

 

 

 

 

Cause . . . . . :

RPG specifications that contain CALL

 

 

 

 

 

operation codes have been identified because the user may￿

 

 

 

 

 

wish to:

 

 

 

 

 

 

 

 

 

-- change the CALL operation code to CALLB to take

 

 

 

 

 

advantage of static binding

 

 

 

 

 

 

 

-- convert all programs in an application to RPG IV.

 

 

 

 

 

Recovery

. . . :

Convert the CALL

 

 

 

 

 

 

operation code to a CALLB if you wish to take advantage of

 

 

 

 

 

static binding or convert the called program to RPG IV if

 

 

 

 

 

you wish to convert all programs in an application.

 

 

 

*RNM0506 30

1 FREE operation code is not supported in RPG IV.

 

 

 

 

 

Cause . . . . . :

The RPG III or RPG/400 program contains

 

 

 

 

 

the FREE operation code which is not supported in RPG IV.

 

 

 

 

 

Recovery

. . . :

Remove the FREE operation and replace

 

 

 

 

 

it with alternative code so that the programming logic is￿

 

 

 

 

 

not affected prior to compiling the converted source.

 

 

 

 

* * * * *

E N D

O F

M E S S A G E

S U M M A R Y

* * * * *

 

 

 

 

 

 

 

 

 

Figure

198.

Sample Message Summary of Conversion Report

 

 

 

The final summary of the listing provides message and record statisti status message is also placed in the job log. Figure 199 on page 396 messages section for the sample conversion.

Appendix B. Using the RPG III to RPG IV395 Conversion Aid

Page 419
Image 419
IBM AS/400 manual Your, Call PROG1

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.