Information Technology Reference
In-Depth Information
• GetNext(GN)
This command retrieves the next segment based on the preorder traversal algo-
rithm from the current location. The clause for the record identifier and retrieval
conditions is optional. If the clause is not given, GET NEXT would retrieve the
next sequential segment from the current location. For example, the following
command is to retrieve the next Loan Contract record after the current Loan
Contract record occurrence.
LOAN_CONTRACT.
• GetNextWITHINPARENT(GNP)
This command retrieves segments from the set of children sharing the same par-
ent as the current segment of the given type. The parent segment is visited by a
previous GET command, i.e., it establishes parentage of a segment type accord-
ing to the current pointer of its parent segment type. For example, the following
command retrieves the next in a hierarchical sequence of a Loan Interest seg-
ment under the Loan Contract segment type with a loan_contract# of “277988”.
CALL “CBLTDLI” USING GNP
LOAN_CONTRACT# = 277988.
Hierarchical Modification Commands:
• INSERT(ISRT)
This command stores a new segment and connects it to a parent segment. The
parent segment must be selected by the previous GET command. For example,
the following commands are to insert a balance segment of $ 1,000,000 under the
Loan_contract number 277988 on July 22, 1996.
Search WWH ::




Custom Search