using these APIs range from dedicated point-to-point file transfer to network client/server applications.

OptiConnect APIs

The OptiConnect APIs are used to move user data between two or mor systems that are connected by the OptiConnect fiber-optic bus. The APIs require that the OptiConnect hardware and software products hav

installed

on

all

of

the

systems

that

will

be

used

for

communications.

32KB

(where

KB equals 1024 bytes) of data may be transferred in

receive

function.

 

 

 

 

 

 

 

 

 

 

 

Note:

To

use

these

APIs, you

need the OptiConnect for OS/400 feature

The

 

OptiConnect

APIs

 

provide

the

following

functions:

 

 

Ÿ

Open

and

close

an

OptiConnect

path

 

 

 

 

 

Ÿ

Open

and

close

an

OptiConnect

stream

 

 

 

 

Ÿ

Send

and

receive a control message on an OptiConnect stream

Ÿ

Send

and

receive

a

request

or a

message

over

an

OptiConnect path

Ÿ

Wait

for

a

message

on

an

OptiConnect

stream

 

 

Configuration APIs

The configuration APIs can be used for the following functions:

ŸChange Configuration Description (QDCCCFGD) API

This API allows a user to modify the values of parameters on exi

configuration

descriptions. The

primary purpose of this API is to

of

new parameters or values as required, with their addition to

CL

configuration command deferred to a later time. A primary user

of

information

would

be user

applications using new configuration ca

not

yet available

through CL

commands.

ŸList Configuration Descriptions (QDCLCFGD) API

This

API

returns a list of configuration descriptions, based on a

set

of

criteria.

ŸRetrieve Configuration Status (QDCRCFGS) API

This API returns the current operational status of a specific con description on an AS/400.

Several APIs also provide feedback of information for any controller d device description, and line description on an AS/400. The primary user APIs would be user applications performing system or network management tions on an AS/400. Separate formats are provided for each type of device, and line.

Debugger APIs

The

debugger

APIs can be

used for

program

debugging on the AS/400 s

The

APIs are

divided into

separate

sets of

APIs, as follows:

Ÿ Integrated Language Environment (ILE) APIs

Source debugger APIs

Create view APIs

Dump Module Variable API

Chapter 8. Use of OS/400 8APIs-3

Page 179
Image 179
IBM Version 4 manual Configuration APIs, Debugger APIs, OptiConnect APIs