Chapter

8. Use

of

 

OS/400

APIs

 

 

 

 

 

 

 

 

 

This

chapter discusses the various

groups

of

OS/400

APIs and

how

the

 

 

use

to you. Some APIs are discussed as

a group,

similar

to

the par

 

 

System

API

Reference, while others are

discussed

individually.

 

 

 

 

 

The

API discussions in this chapter

are

presented

in the

same

orde

 

 

System

API

Reference.

 

 

 

 

 

 

 

Backup

and Recovery

APIs

 

 

 

 

 

 

 

 

 

Use of the backup and recovery APIs is described as follows:

ŸOperational-Assistant Backup APIs

The APIs

for

Operational

Assistant backup

have

been

provided

to

g

users

an

interface

into

the Operational-Assistant backup setup funct

having to go through the

normal

displays.

One

possible

use

of

the

would be to change the

way the backup runs from one

week

to

th

example,

the

user

could

write a CL program that could

run

on

 

thos

which

holidays occur to

change

the backup options

to

skip

the

 

ba

certain day. This CL program

could

be submitted to

run

the week

to change the backup options

to skip the backup on

the

holiday,

submitted to run again after

that week to set the options back

APIs could also be used to

retrieve backup history about certai

folders, and so forth, in order

to better tailor

the

backups to

cient backups.

 

 

 

 

ŸRetrieve Device Capabilities (QTARDCAP) API

This API is useful for a tape management system. The API returns about what capabilities your tape devices support.

Ÿ

Save

Object

List (QSRSAVO)

API

 

 

 

 

 

This

API

is

useful

to get a level of

granularity

from

your save

 

you

cannot

get

by

using the Save Object (SAVOBJ) command. The API

 

you

to

associate

specific object names with specific object ty

 

saving the cross-product of all object

names and

object

types ent

 

command.

 

 

 

 

 

 

 

 

 

Ÿ

List

Save

File

(QSRLSAVF) API

 

 

 

 

 

 

This

API

lists

the

contents of

a save

file into a user space. Th

 

those

who

develop

backup

and

recovery

applications.

 

Client Support

APIs

 

 

 

 

 

 

 

 

 

The client support

APIs include the client

software

management and

con

 

APIs

and

exit

programs.

 

 

 

 

 

The client software management and configuration section provides

APIs

 

remove, refresh, and update client information on the AS/400 database

 

information

stored at the client. The client

software

management

databa

 

are affected by these APIs. For information about

these formats,

s

 

about

client inventory management Simplein theNetwork

Management

Protocol

 

 

 

(SNMP) Support book, SC41-5412. The exit programs notify you when these

 

functions

have

been

completed.

 

 

 

 

Copyright IBM

Corp. 1997

 

 

 

 

 

8-1

 

 

Page 177
Image 177
IBM Version 4 manual APIs, Backup Recovery