To create an RMS table entry manually (CDD)

  1. Click the Add button in the CONNX Data Dictionary Manager window.

    image\UserRef_53.jpg
     

  2. Type the SQL Object Name.

  1. Must be unique.

  2. Valid CONNX table names cannot contain spaces or begin with a number.

  3. Maximum length is 50 characters.

  1. Select Table as the type of object to create in the Object type list box. This option determines whether the object is a view or a table definition.

  2. Select RMS as the type of database in which to create an object in the Database list box. The option specifies the type of database in which the table is located. Valid database types for manual entry are RMS and DataFlex.

  3. Click the OK button.

  4. In the RMS Filename text box in the CONNX Data Dictionary Manager window, type the physical VMS path for the RMS data file. The maximum length of the filename is 255 characters. The RMS file name may also include VAX logicals. If a logical is used in the file name, it is important that the logical is still defined when logging onto the VMS system as a network process.

  5. In the Comment text box, type up to 64 characters of descriptive text.

  6. In the SQL View Clause text box, you may type any valid SQL expression. This text box is used to limit the type of records returned from the table. Maximum length is 128 characters. See SQL View Clause Text Box.

  7. Record Length is automatically pulled from the data file.

  8. Select the Show CNXROWID check box to use the RFA (Record File Address) of its RMS files as the primary key. Use this with RMS files that do not have a unique key.

  9. In RMS files, the RFA is represented by the pseudo-field CNXROWID.

  10. Under Large Rotated Array Information, select Rotated Array to convert columnar arrays into rows. (See the section on Rotated Arrays.)

  11. The Priority Count text box displays a comparison of the relative size of the tables used in join optimization. The numbers may not match the actual number of records in the RMS file. This value is automatically pulled from the data file.
    Note:
    If a reserved keyword is used as a field or table name in a database object, CONNX automatically appends the name with the characters _col.
    Note:
    If CONNX detects more than one record layout when importing, multiple data dictionary entries are created.
    Note:
    Any RMS text import file can contain both views and tables to be imported. They do not need to be stored in separate files.

Related Topics

CHICLET.JPG Reserved Keywords and Symbols

CHICLET.JPG SQL View Clause Text Box