It is possible to access native VSAM files from within IDMS applications using either network or SQL DML. This document describes the steps for accessing this data using SQL DML.
To use native VSAM files in an IDMS environment, VSAM structures must be defined in the Schema, Segment, and DMCL. Definitions for each of these are addressed in detail in the IDMS Database Administration Guide.
To access a native VSAM file using IDMS SQL the steps below are required. If the native VSAM file is already accessible using network DML, then steps 1 to 3 have already been done.
As long as the IDMS SQL option and IDMS Server are installed, the native VSAM files can be accessed without the need to purchase or install any additional software. Only the few additional set-up steps outlined above will be required. At run-time, the SQL optimizer will determine the physical path to the VSAM file on the IDMS side and the server will allow web access using either ODBC or JDBC. Set access to the VSAM record will be based on either the primary index key, or an alternate index, depending on how the definition is specified in the DMCL and how the SQL DML is coded.