IBM AS/400 manual Setting and Removing Job, Using, Statement

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 209
Image 209

 

 

 

 

 

 

 

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 Setting and Removing Job, Using, Statement