Using a Compiler Listing

Using Additional-Diagnostic Messages

 

The

Additional

Diagnostic

Messages section

identifies errors

which

arise

 

or

more

lines

of

code are viewed collectively. These messages are no

 

within the

code

where

the

problem

is; in general, the compiler

does

n

 

time

of

checking

that portion of the source that a problem exists. Ho

 

possible,

 

the

message

line

includes

either the listing Line Number

and

 

sequence

number,

or

the Statement

Number

of a source line

which

is

r

 

message.

 

 

 

 

 

 

 

 

 

 

 

 

Browsing a Compiler Listing Using SEU

The SEU Split/Browse session (F15) allows you to browse a compiler listing output queue. You can review the results of a previous compilation whi the required changes to your source code.

While browsing the compiler listing, you can

scan

for

errors

and

correc

source

statements

that

have

errors.

To

scanF *ERRfor

onerrors,the SEUtype

 

command

line

of

the browse

session.

The

line

with

the

first

(or

next)

lighted,

and the first-level

text

of

the same message appears at the

screen.

You can see the second-level

text by placing your cursor on

at

the

bottom

and

then

pressing

F1

(Help).

 

 

 

 

 

When

possible,

the

error messages

in

the listing identify the SEU seq

of

the

line

in

error.

The

sequence

number

is found

just before

the

For complete information on browsing a compilerADTSlisting,for AS/400:see

Source Entry Utility.

Correcting Run-time Errors

The source section of the listing is also useful for correcting run-tim run-time error messages identify a statement number where the error in occurred.

If

OPTION(*NOSRCSTMT)

 

is

specified, the Line Numblerftsideontheof

the

 

 

 

 

compiler listing corresponds to the statement number in the

run-time

erro

 

message.

The

source

ID

number

and

the

SEU

sequencerightnumberside on

the

 

 

of the compiler listing identify the source member and record. You c

 

together,

especially

if

you

are editing

the

source

using

SEU,

to

de

 

needs

to

be

examined.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If

OPTION(*SRCSTMT)

is

specified, the Statement Numberrightsideontheof

the

 

 

compiler

listing corresponds

to

the

statement

number in

 

the

run-time

err

message.

If

the

statement

is from the

main

source

member,

this

is

t

statement

on lefttheside

of

the

compiler

listing,

and

is

also

the

same

as

sequence

number.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If

you

have

a

/COPY

member,

you

can

find

the

source

ID

number

of

 

in the /COPY Member table at the

end

of the

listing.

For

an example

o

 

Member

table,

see

“/COPY

Member

Table”

on

page 432.

 

 

 

 

 

 

 

68 ILE RPG for AS/400 Programmer's Guide

Page 92
Image 92
IBM AS/400 manual Correcting Run-time Errors, Using Additional-Diagnostic Messages, Browsing a Compiler Listing Using SEU

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.