About

System

API

 

Programming

(SC41-5800)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

This

book

provides

introductory,

conceptual,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

and

 

and

Related

 

 

 

 

 

 

 

 

 

 

guidance

information about

how

to use

 

Prerequisite

 

 

 

 

 

 

 

 

 

 

OS/400

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Information

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

application programming interfaces (APIs) with

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

your application programs. It includes

examples

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

and

 

discusses

the

following:

 

 

 

 

 

 

For information about other AS/400 publications

Ÿ

Benefits

of

using

APIs

 

 

 

 

 

 

 

(except

Advanced

36),

see

either

of

the fo

 

 

 

 

 

 

 

Ÿ

The Publications

Referencebook,

SC41-5003,

 

 

 

Ÿ

When

 

to

use

APIs

versus

CL

commands

 

 

 

 

Ÿ

How

to

 

locate

an

API Systemin theAPI

Ref-

Ÿ

in

the

AS/400

Softcopy

Library.

 

 

 

 

 

 

erence book,

SC41-5801

 

 

 

 

 

 

 

 

The AS/400

Information

Directory, a

unique,

 

 

Ÿ

Which

high-level

language

(HLL)

to

 

use

 

multimedia

interface

 

to

a

searchable

datab

 

for

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

APIs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

that

contains

 

descriptions

of

titles

availab

Ÿ

Various

 

API

environments

 

 

 

 

 

 

 

 

from

IBM

or

from selected other

publishers

Ÿ Common

 

information

across

object

program

 

The

AS/400

Information

Directoryis shipped

 

 

 

model (OPM) APIs and Integrated

Language with

the OS/400 operating system at no

 

 

Environment

(ILE)

 

APIs

 

 

 

 

 

 

 

 

 

charge.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ÿ

Characteristics and use of list

APIs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ÿ

Differences between OPM and ILE

 

APIs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Information

Available

on

the

 

 

 

 

 

 

 

 

Ÿ

Machine

interface

(MI)

programming

 

 

 

 

 

 

 

 

 

 

 

Ÿ

Why

 

you

might

 

want

to

make

use

of

 

World

Wide

 

Web

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

various

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OS/400

APIs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ÿ

Tips

 

for

common

 

API

programming

errors

More

AS/400

information is available on the

World

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Wide Web. You can access this information fr

This

book

provides

introductory

and

guidance

AS/400

home

page,

which is

at

the

followin

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the

information

only;

it

does

not

contain

 

API

reference

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

uniform resource locator (URL) address:

 

information. For

reference

information, see

the

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

System

API

 

Referencebook.

 

 

 

 

 

 

 

 

http://www.as4ðð.ibm.com

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

For

 

a

list

 

of

related

publications,

 

see

Select

the

Information

Desk,

and

you

will

be

 

 

 

the

 

 

a

variety

of

AS/400

information

topi

“Bibliography” on

page H-1.

 

 

 

 

 

 

to

 

access

 

 

 

 

 

 

from

that

page.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Who

 

Should

 

Use

This

 

Book

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

This book is intended for experienced application

 

 

 

 

 

 

 

 

 

 

 

 

 

 

programmers

 

who

are

developing

system-level

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

and

 

other

 

OS/400

applications.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright IBM Corp. 1997

xiii

Page 15
Image 15
IBM Version 4 manual Use, Xiii, Prerequisite, Hll, This