Previous Topic: Testing Set MembershipNext Topic: Navigational Data Manipulation Language (DML)


Writing a Navigational DML Program

This chapter provides an overview of how to write a program to access a CA IDMS database using navigational DML. It first describes what is meant by DML and how it is used to request the execution of CA IDMS functions. It then discusses common considerations such as how to identify the operating mode in which the program will execute and the subschema it will use, how to copy data descriptions from the IDD, and how to check for and handle error conditions. The chapter then describes the DML statements used to initiate and terminate a run unit and perform other housekeeping functions. It also outlines considerations in the use of subschemas and in copying information from the dictionary into your program.

All examples in this chapter are based on the COBOL language. For full descriptions of the DML statements and for other languages, see the language-specific CA IDMS DML Reference Guide.

This section contains the following topics:

Navigational Data Manipulation Language (DML)

Common Considerations

Housekeeping Statements

Subschema Considerations

Copying Record Definitions and Their Synonyms