IBM manual Nodebugio, Numbers, Evalr, xviii ILE RPG for AS/400 Programmers Guide

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 20
Image 20

 

 

*SRCSTMT

allows

you

to

assign

statement

numbers

for

debugging

from

 

 

 

 

 

the source IDs and SEU sequence numbers in

 

the

compiler listing.

 

 

 

statement number is used to identify errors in the compiler list

 

 

 

debugger, and to identify the statement where a

run-time

error

 

 

 

*NOSRCSTMT

specifies

that

statement numbers

are

associated

with

the

 

 

 

Line

Numbers

 

of the listing and the

numbers

 

are

assigned

sequent

 

 

– Now

you

can

choose

not

to

generate

breakpoints for input

and

ou

 

 

 

ifications

 

in

the

debug

view

with

 

*NODEBUGIO.

If

this

option

 

i

 

 

 

STEP

on a

READ

statement

in

the

debugger

will

step to the next c

 

 

 

lation, rather than stepping through the input

specifications.

 

 

¹

 

New

special words for the INZ definition specification

keyword:

 

 

 

 

INZ(*EXTDFT)

 

allows

you to

use

the

default

values in

the

DDS

for

 

 

 

izing externally described data structure subfields.

 

 

 

 

 

 

 

Character

variables

initialized

by

INZ(*USER)

are

initialized

to

 

 

 

the

current

user

profile.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

¹

The new %XFOOT built-in function sums all elements of a specified arra

 

 

expression.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

¹

 

The

new

EVALR

operation

code

evaluates

 

expressions

and

assigns

the

r

 

 

to

a fixed-length character or graphic result.

 

The

assignment

right-

 

 

data

within

the

result.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

¹

The new FOR operation code performs an iterative loop and allows fr

 

 

expressions for

the

initial,

increment,

and

limit

values.

 

 

 

 

 

 

¹

The new LEAVESR operation code can be used to exit from any point

 

 

 

subroutine.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

¹

 

The

new

*NEXT parameter on the OVERLAY(name:*NEXT) keyword

indicates

 

 

 

 

that

a

subfield overlays another subfield at

 

the

next

available

p

¹

 

The

ability to use hexadecimal literals with integer

and

unsigned

 

in

 

 

in

initialization

and

free-form

operations,

such

as

EVAL,

IF,

etc.

 

 

¹

New control specification keyword OPENOPT{(*NOINZOFL

 

*INZOFL)} to indi-

 

 

 

cate whether the overflow indicators should be reset

to *OFF

when

 

 

opened.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

¹

 

Ability

to tolerate pointers in teraspace — a

 

memory

model

that

allo

 

 

than

16

megabytes of

contiguous

storage

in

one

 

allocation.

 

 

 

 

The following

tables

summarize

the

changed

and

new

language

 

elements,

 

b

on

the

part

of

the

language

affected.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

xviii ILE RPG for AS/400 Programmer's Guide

Page 20
Image 20
IBM manual Nodebugio, Numbers, Evalr, xviii ILE RPG for AS/400 Programmers Guide