Previous Topic: DBOMP Process Indicators and Corresponding DMLNext Topic: Sequence of Logic in Converted Programs


DBOMP Commands and Corresponding DML

Replacing DBOMP commands with equivalent CA IDMS DML statements is part of program conversion (see the previous list of guidelines for conversion). On the following pages DBOMP commands are shown with their equivalent DML statements (and associated logic, where appropriate). DML statements are shown in this order:

CHA$E BMPCHASE

See associated logic

Associated Logic

FIND CALC set owner record; OBTAIN NEXT record (member) within set; check for the end of the set; repeat OBTAIN NEXT and check error status until the end of the set.

GE$T BMPGET

►►─── @OBTAIN NEXT, ─┬─ SET= ──┬──────────────────────────────────────────────►◄
                     └─ AREA= ─┘
►►─── OBTAIN NEXT WITHIN ─────────────────────────────────────────────────────►◄
►►─── OBTAIN NEXT ─┬─ SET ──┬─ ; ─────────────────────────────────────────────►◄
                   └─ AREA ─┘

PU$T BMPPUT

►►─── @MODIFY REC= ───────────────────────────────────────────────────────────►◄
►►─── MODIFY ─────────────────────────────────────────────────────────────────►◄
►►─── MODIFY RECORD; ─────────────────────────────────────────────────────────►◄

ST$KY BMPSTKY

►►─── @OBTAIN,REC=,SET=,USING= ───────────────────────────────────────────────►◄
►►─── OBTAIN WITHIN USING ────────────────────────────────────────────────────►◄
►►─── OBTAIN RECORD SET USING; ───────────────────────────────────────────────►◄

Associated Logic

Obtains a record in an indexed set using a symbolic key.

ST$DA BMPSTDA

►►─── @OBTAIN DBKEY=DIRCTKY,REC= ─────────────────────────────────────────────►◄
►►─── OBTAIN DB-KEY IS DIRECTKY ──────────────────────────────────────────────►◄
►►─── OBTAIN DBKEY DIRCTKY; ──────────────────────────────────────────────────►◄

Associated Logic

Record retrieved in physical sequential order by symbolic key. (DIRCTKY)

CA$LL BMPCALL

See process indicator equivalents

Commands having no equivalents

These DBOMP commands have no CA IDMS/DB equivalents: