IBM AS/400 manual What, s New This, Release?

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 19
Image 19
What

What

's New This

 

Release?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The

major

 

enhancements

to

RPG

IV

since V4R2 are the support for

RPG

modules

safely

in

a

 

threaded

environment,

the new 3-digit and

2

and

unsigned

integer

 

data

types,

and

support

 

for

a

new

Universal

Ch

Version 2 (UCS-2)

data

type

and

for

conversion

between

 

UCS-2

fields

or single-byte character fields.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The

following

list

describes

these

 

enhancements:

 

 

 

 

 

 

 

 

 

 

¹

Support

for

calling ILE RPG procedures from

a

threaded

application,

 

 

Domino

or

Java.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The

new control specification keyword THREAD(*SERIALIZE) identifies

 

 

 

modules that are enabled to run in a multithreaded environment.

 

 

 

procedures

in

the

 

module

is

serialized.

 

 

 

 

 

 

 

 

 

 

¹

Support

for

new 1-byte and 8-byte integer data types: 3I and 2

 

 

integer,

and

3U

and

 

20U

unsigned

integer

 

 

 

 

 

 

 

 

 

 

 

 

 

These new integer data types provide

 

you

with

a

 

greater

ra

 

 

 

values

and

 

can

also

improve

performance

 

of

integer

computations,

 

 

 

full

 

advantage

of

the

64-bit

 

AS/400

RISC

processor.

 

 

 

 

 

 

 

The

new 3U type allows you

to more easily communicate with I

 

 

 

dures

that have single-byte

character

 

(char)

return types

and

 

 

 

passed

by

value.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The

new INTPREC

 

control

specification

keyword

allows

 

you

to

spec

 

 

 

20-digit precision for intermediate values of integer and unsign

 

 

 

arithmetic

operations

in

expressions.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Built-in

functions

%DIV

and

%REM

have

been

added

to

support

int

 

 

 

division

and

remainder

operations.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

¹

Support

for

new

Universal

Character Set

Version

2

(UCS-2)

or

Unico

 

 

type

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The

UCS-2 (Unicode) character set can encode the characters

 

 

 

written

languages.

The

field

is

a

character

field

whose

char

 

 

 

bytes

long.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

By

adding support for

Unicode,

a

single

application

can

now

b

 

 

 

for

 

a

multinational

 

corporation,

minimizing

 

the

 

necessity

to

perfo

 

 

 

page

conversion.

The

use of

Unicode

permits

the

processing

of

 

 

 

in

multiple

scripts

 

without

loss

of

integrity.

 

 

 

 

 

 

 

 

 

 

Support for conversions between UCS-2 fields and graphic or sin

 

 

 

character

fields

using

the

MOVE and MOVEL operations, and

the

 

 

 

%UCS2

and

%GRAPH

built-in

functions.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Support

for conversions between UCS-2 fields

 

or

graphic

fields

 

 

 

ferent

Coded

Character

Set

Identifiers

(CCSIDs)

using

the EVAL,

 

 

 

and MOVEL operations, and the

 

new

%UCS2

 

built-in

function.

 

 

Other

enhancements

have

been

made

to

this

release

as

 

well.

These

¹

New

parameters for the OPTION control specification

keyword and

on

 

 

create

commands:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

About This Guidexvii

Page 19
Image 19
IBM AS/400 manual What, s New This, Release?