Version 6.3.8 für Windows
 —  Editors  —

Saving and Cataloging a DDM

You can save a DDM as a source object and/or a cataloged object (generated program) in the specified Natural library (if applicable) in the current Natural system file (see also Storing DDMs - FDDM System File).

In a remote environment on a mainframe platform, you can only save a DDM as a cataloged object.

For the naming conventions that apply to an object, refer to Object Naming Conventions in the Using Natural Studio documentation.

Start of instruction setTo save a DDM

Start of instruction setTo save and catalog a DDM

The additional information you can specify for a DDM generated from a VSAM file are described in the following section:


Additional Options for VSAM Files

Only applies to a remote environment.

The DDM editor provides the option to specify additional information for DDMs generated from VSAM files.

The additional options for VSAM files can be specified when saving a DDM source as a cataloged object. The additional options consist of two parts: VSAM file information and VSAM file organization.

Start of instruction setTo specify additional options for DDMs from VSAM files

  1. Catalog a DDM source generated from a VSAM file.

    The Additional Options for VSAM Files dialog box appears as shown in the example below:

  2. In the VSAM file name text box, enter the DDNAME/FCT entry as defined to the TP monitor or when using batch mode.

  3. If the VSAM view check box is set, this DDM represents a logical DDM. If the check box is not set, it represents a physical DDM.

    If the VSAM view check box is set:

  4. In the VSAM file organization section, set the type of the VSAM file by selecting one of the option buttons.

  5. Set the Compress file check box if the file is to be compressed.

  6. From the Zones combo box, select the zone for the VSAM file. F indicates that all packed data is written to the VSAM file with the zone X'0F'. C indicates that all packed values are written to the VSAM file with the zone X'0C'.

For details on the options displayed in the Additional Options for VSAM Files dialog box, refer to Natural File Access in the Natural for VSAM documentation.

Top of page