The signal options

specify an

additional set of attributes for the si

The primary use of these

options

is

to

specify

an

additional

set

taken

by

the system

when

a signal-catching function is called.

 

A signal

is

generated

by

sending

a

request

to

a

signal

monitor.

 

The process to receive the signal

is identifiedprocessby

IDa

processis

ID.

used

to

indicate

whether

the

signal

should

be

sent

to

an

individual

group

of

processes (known

as a process

group). The process

ID

is u

an entry in the system-managed process table. A process

table entry

following

information

relating

to

the

process:

 

 

 

 

 

 

 

ŸParent process ID

ŸProcess group ID

ŸStatus information

The parent process is the logical creator of theprocess processgroup .repreA-

sents a collection of processes that are bound together for some c

The process sending a signal must have the appropriate authority to process.

The OS/400 support for signals does differ from the usual behavior o UNIX systems.

For

additional information about signal concepts, OS/400

management

support

how

signals differ

on OS/400 from UNIX systems, see

the “Signal

Concep

in

the bookSystem API

Reference.

 

 

Simple

 

Network

Management

Protocol

 

(SNMP)

APIs

 

 

 

 

 

 

 

 

 

 

 

 

The

Simple

Network

Management

 

 

Protocol

(SNMP)

 

APIs

comprise

the

SNMP sub-

 

agent

APIs

and the

SNMP

manager

APIs.

 

 

 

 

 

 

 

 

 

 

 

 

SNMP

Subagent

APIs:

 

The

SNMP

subagent

APIs

 

can be used to dynamically

 

extend the management information base

(MIB) that the system SNMP agent

aware of. The MIB is extended

without

any

change

to

the

SNMP

agent

the

AS/400

is

running. Dynamically

added

MIB

subtrees (as

supported

a

by

a

program

known

as

a

subagent)

provide

this

capability. You

may

n

the

remote

and

automated

 

system

management

capabilities

of

the

AS/400

the SNMP framework. So, for

 

example,

you

 

could

define

an

SNMP

MIB

group

your

RPG

and

SQL

application.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The Distributed

Protocol

Interface

(DPI)

 

 

 

is

an extension

to

SNMP

agents. DPI

 

permits

users

to

dynamically add, delete, or replace management varia

local

MIB

without

requiring

 

recompilation

 

of

the

SNMP

agent.

 

 

 

 

SNMP

Manager

APIs:

 

 

SNMP

managing

applications

typically use

APIs

to

estab-

lish

communication

with local or remote SNMP agents, and then call

other

 

retrieve or modify MIB objects managed by those agents. The

OS/400

 

manager APIs accomplish both of these

tasks

within

the

same

API. Thre

manager

APIs

 

are

provided

 

to

perform

the SNMP GET, GETNEXT, and SET oper-

ations. In general, all three APIs are

 

blocked,

that

is,

once

the

a

these

APIs,

 

the

API constructs a proper SNMP message, delivers it to

SNMP

agent,

waits,

decodes

 

the

response

 

from the agent, and delivers

mation

to

the

application. No

processing

 

occurs in the application until

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Chapter

8.

Use

of

OS/400

8APIs-25

 

 

 

Page 201
Image 201
IBM Version 4 manual IDa, Mib