IBM manual Ile Rpg, ILE RPG for AS/400 Programmers Guide, Differences Between OPM RPG/400

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 402
Image 402

Differences Between OPM RPG/400

and

ILE RPG

 

 

 

¹

The

user

has not specified that a transparency check should be

 

by

the

compiler

 

 

In

ILE

RPG,

if

there

are

two consecutive apostrophes enclosed with

and

shift-in control characters inside a character literal, the apos

be

considered

as a

single

apostrophe. A pair of apostrophes inside

literal

will

only

be

considered as a single apostrophe if

they

are

within shift-out and

shift-in control characters.

 

 

 

 

3. In ILE RPG, if you want

to

avoid the

checking

of

literals for

sh

(that

is,

you

do

not want a shift-out

character

to

be

interpreted

you

should

 

specify

the entire literal

as a hexadecimal

literal. For

you

have

a

literal

'AoB' where 'o' represents a shift-out

control

ch

should

code

this literal

as

X'C10EC2'.

 

 

 

 

 

378 ILE RPG for AS/400 Programmer's Guide

Page 402
Image 402
IBM manual Ile Rpg, ILE RPG for AS/400 Programmers Guide, Differences Between OPM RPG/400