How IDMSDMLC decides which SUBSCHEMA-CTRL to use
search cancel

How IDMSDMLC decides which SUBSCHEMA-CTRL to use

book

Article ID: 236001

calendar_today

Updated On:

Products

IDMS

Issue/Introduction

This article describes how IDMSDMLC, the IDMS cobol pre-compiler, decides which version of SUBSCHEMA-CTRL to copy from the dictionary into a program.

Environment

Release : All supported releases.
Component : IDMS

Cause

Precompiler-Directive Statements

Resolution

IDMSDMLC searches the SUBSCHEMA-CTRL records based on the MODE specified in the PROTOCOL statement of the IDMS-CONTROL SECTION of the program. If there is no mode, it searches for BATCH.

It searches the SUBSCHEMA-CTRL records in descending order of version number, and stops at the first version it finds that has the target MODE in it.

If it does not find one, it repeats the search but this time it stops at the first one that has no mode.

Additional Information

Precompiler-Directive Statements