The Retrieve File Override Information (QDMRTVFO) API retrieves the name file that will be referenced after file overrides have been applied A user program can retrieve the actual name of the file that will be specified file is referenced.

SQL-related APIs process SQL extended dynamic statements in an SQL packag object and call the DB2 SQL for OS/400 parser to check the syntax of statement.

Hardware Resource APIs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The

hardware

resource

APIs

allow

you

 

to

work

with

hardware-

resources.

ware

resource

is

an

addressable

piece

of

hardware

on

the

system. A

ha

resource

is

known

to

the

systemresource byname

its.

A resource

entry

 

is

the

 

 

 

 

reference to

 

the

hardware

resource

 

in

the

hardware

resource

informa

can

be thought

 

of

as

a

list

of

the

hardware

resources

 

on

the

syst

The hardware resource APIs offer a more convenient means of accessing

resource information than its output file alternative. The

output

file

m

great amount of information that is not needed by

your application. The

however,

are

a

means

 

of

getting

specific bits

of

information. For

exam

an

application

handles

 

licensing

of

AS/400

information,

and

the

application

 

know

the

type

number

of

the

system

processor

card. This

type

number

 

the feature code of the system. To get this information

 

previously,

t

created

an output file through a CL

program,

read

each

record

of

th

found the system processor card

record,

and

then

read

the

type fie

With the

APIs,

the

 

type

field

can

be

returned

directly.

 

 

 

 

Hierarchical File System

(HFS)

APIs

 

 

 

 

 

 

 

 

The HFS APIs provide applications with a single,

consistent

interface

to

systems registered with

the

hierarchical

file

system on

your

AS/400

sy

APIs

automatically

support

the

document library

services

(QDLS)

file

syst

the

optical

file

system

(QOPT), and they

can

support user-written file

The HFS APIs allow you to work with nonrelational data stored in objects directories and files in existing file systems. Using these APIs, you such tasks as creating and deleting directories and files, reading fr files, and changing the directory entry attributes of files and dire

High-Level

Language APIs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The

high-level

language

part

consists of

the Application

Development

Manage

 

APIs and the COBOL APIs.

 

 

 

 

 

 

 

 

 

 

 

 

 

Application

Development

Manager APIs

 

 

 

 

 

 

 

 

 

 

 

 

The

Application

Development

Manager

APIs

allow

a

control

language

(CL)

 

 

command

such as

the

Build Part (BLDPART)

command

to

determine,

for

exampl

 

the

includes

and external references that were used by certain

proc

 

pilers

or

preprocessors)

when

processing

a

source

member.

 

 

 

In

terms

of

Application Development Manager, a part can be either

a so

 

member

or

an

object,

such

as

a

file.

 

 

 

 

 

 

 

 

If

you

have

an

application

that

can

use

the

information provided

by

 

can

call

these APIs

from

any

high-level

 

programming

language. The Applicati

8-6System

API Programming

V4R1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Page 182
Image 182
IBM Version 4 manual Hierarchical File System, Hardware Resource APIs, Qdls