Previous Topic: Navigational DMLNext Topic: Use of Native VSAM Data Sets


Overview of Navigational Database Access

To use navigational DML commands effectively in a process, the application developer should be familiar with database programming concepts. These concepts are discussed in detail in the CA IDMS Navigational DML Programming Guide.

Considerations

The following special considerations apply to accessing the database in the CA ADS environment:

Record

Description

Current of run unit

The most recently accessed record occurrence

Current of record type

The most recently accessed occurrence of each record type

Current of set type

The most recently accessed record occurrence (owner or member) of each set

Current of area

The most recently accessed record occurrence in each area

Database command

 

Currency updated by successful execution

Successful execution

 

Run unit

Record

Set

Area

ACCEPT*

X X X X

None

IF*

X X

None

FIND/OBTAIN DB-KEY

 

All

FIND/OBTAIN CURRENT*

X X X X

All

FIND/OBTAIN WITHIN SET

X

All

FIND/OBTAIN WITHIN AREA

X2

All

FIND/OBTAIN

OWNER

X

All

FIND/OBTAIN CALC

 

All

FIND/OBTAIN DUPLICATE

X

All

FIND/OBTAIN USING SORT KEY

X

All

GET

X

None

STORE

X3

All

MODIFY

X

None4

ERASE

X

Nullifies of all record types and sets involved

CONNECT

X X

Run unit, set

DISCONNECT

X

Nullifies currency of object set; updates current of run unit and area

KEEP*

X X X X

None

COMMIT

 

None

COMMIT ALL

 

Nullifies all currencies

ROLLBACK

 

Nullifies all currencies

ROLLBACK CONTINUE

 

Nullifies all currencies

FINISH

 

Nullifies all currencies

Note:

* Uses only one currency as determined by command format.

2 Required for NEXT and PRIOR formats only.

3 All in which record type participates as an automatic member.

4 Except in the case of a sorted set.

More information:

Control Commands

Records and Tables Screen