Ÿ Sort data automatically based on the hexadecimal value of a key

For more information about user index considerations, refer to “User I Considerations” on page 2-30. User index entries cannot contain a pointer can save and restore all the data in an index. You can also save and indexes to another system.

User

Space

APIs

 

 

You

can

use

these APIs to:

Ÿ

Create

and

delete

user spaces

Ÿ

Change

and

retrieve the contents of user spaces

Ÿ

Change

and

retrieve

information about user spaces

User

spaces

are

objects that consist of a collection of bytes used f

defined information. They are permanent

objects that are located in ei

system

domain

or

the user domain. They

have an object type of *USRSPC

maximum

size

of

16MB. You can save and

restore user spaces to other

However,

if

the

user spaces contain pointers, you cannot restore the

if

you

 

want

to

restore them to the

same system.

You can use the user space APIs to:

Ÿ Create user spaces to be used by list APIs to generate lists of

ŸStore pointers.

Ÿ

Store

large amounts of data. You can create a

user

space as larg

 

You

cannot create a data area larger than 2000 bytes.

Ÿ

Save

information in user space objects, and save and

restore the o

 

the

information

in it

using

CL commands.

 

 

Ÿ

Pass

data from

job

to job

or from system to

system.

Object APIs

Use of the object APIs is described as follows:

ŸChange Library List (QLICHGLL) API

This

API

provides

the

only way to change the product

libraries

in

The

only

other way to change the

product

libraries is

using the Cr

Command (CRTCMD)

or

the

Create Menu (CRTMNU) command. You can

 

also

use

this

API to

change the current library and the libraries

of

the

library

list

similar to the

Change

Library List

(CHGLIBL)

comm

ŸChange Object Description (QLICOBJD) API

Unlike

the Change Object Description (CHGOBJD) command, this can be

on all

external object types. This API supports changing more parts o

object descriptive information than are supported using the CHGOBJD command.

ŸConvert Type (QLICVTTP) API

This API is the only supported way to convert a symbolic type to format and vice versa.

ŸList Objects (QUSLOBJ) API

This API returns information similar to the Display Object Description (DSPOBJD) command. An advantage over the DSPOBJD command is that

you can perform authority checking on the objects and libraries. Yo

8-14System API Programming V4R1

Page 190
Image 190
IBM Version 4 manual Object APIs, Chglibl