Setting

and

 

Removing

Breakpoints

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table

14. Non-numeric Conditional Breakpoint Expressions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Type

 

Possible

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Char-8

 

¹

Character

field

compared

to character

field

 

 

 

 

¹

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

Character field compared to character literal

 

 

 

 

¹

Character

field

compared

to2 hex

literal

 

 

 

 

¹

Character

1

 

 

 

 

to

character

field

 

 

 

 

literalcompared

 

 

 

 

 

¹

Character

1

 

 

 

 

to

 

 

 

1

literal

 

 

 

 

literalcompared

 

character

 

 

 

 

¹

Character

1

 

 

 

 

to

2

literal

 

 

 

 

 

 

literalcompared

 

hex

 

 

 

 

 

 

 

¹

Hex

 

2

 

 

 

to

 

 

1

 

 

field

 

 

 

 

 

literalcompared

 

character

 

 

 

 

 

¹

Hex

 

2

 

 

 

to

 

 

1

 

literal

 

 

 

 

 

literalcompared

 

character

 

 

 

 

 

¹

 

 

2

 

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

Hex literalcompared to hex literal

 

 

 

 

 

Char-16

 

¹

Graphic

field

compared

to graphic field

 

 

 

 

¹

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

Graphic field compared to graphic literal

 

 

 

 

¹

Graphic

field

compared

to 2 hex literal

 

 

 

 

 

¹

Graphic

 

3

 

 

 

to

graphic

field

 

 

 

 

 

literalcompared

 

 

 

 

 

¹

Graphic

 

3

 

 

 

to

 

 

3

literal

 

 

 

 

literalcompared

graphic

 

 

 

 

¹

Graphic

 

3

 

 

 

to

2

literal

 

 

 

 

 

 

literalcompared

hex

 

 

 

 

 

 

¹

Hex

 

2

 

 

 

to

 

graphic

 

field

 

 

 

 

 

 

literalcompared

 

 

 

 

 

 

 

 

¹

Hex

 

2

 

 

 

to

 

 

3

 

literal

 

 

 

 

 

 

literalcompared

 

graphic

 

 

 

 

 

Notes:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1. Character literal is

'ofabc'the. form

 

 

 

 

 

 

 

 

 

 

 

2. Hexadecimal

literal

is of'hexthedigitsform'. X

 

 

 

 

 

 

 

 

 

 

3. Graphic literal

is of'oK1K2ithe'.formShiftG -out

 

is

represented

as o

and shift-i

 

represented

as

i.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Setting and Removing Job

Breakpoints

Using

Statement

 

Numbers

 

 

 

 

 

 

 

 

 

You set and remove conditional or ment numbers found in the compiler essary if you want to debug a

unconditional job breakpoints using th listing for the module in question. module which was created with DBGV

 

To set an unconditional job

breakpoint using

the

 

BREAK debug

command,

t

 

BREAK procedure-name/statement-number

 

 

 

 

 

 

 

 

 

 

 

 

 

on the debug command line.

Theprocedurvariable-name is

the

name of the pro-

 

cedure in which

you are

setting

the

breakpoint.

Since

ILE

RPG

allow

one procedure per module,procedurethe -namecan

be

either

the

name

of

the

 

main procedure or one of the subprocedures

in

astatemmodule.nt- The

varia

 

number

is

the statement

number from

the

compiler

listing

on which

you

 

a breakpoint.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note:

The

statement

number

in

the

source

listing

 

is

labeled

as the

Li

 

when

OPTION(*NOSRCSTMT)

is

specified,

and

as

the

Statement Number

 

 

when OPTION(*SRCSTMT) is specified. For example,

Figure 84

on

 

 

 

page 186 shows a sample section of a listing with

 

 

 

 

 

OPTION(*NOSRCSTMT). Figure 85 on

page 186

shows

the

same

section

 

 

 

with

OPTION(*SRCSTMT).

 

 

 

 

 

 

 

 

 

 

 

 

 

Chapter 11. Debugging Programs185

Page 209
Image 209
IBM AS/400 manual On the debug command line, One procedure per module,procedurethe -namecan Either, Varia, Number

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.