Creating User-Defined Files

Use the File Definition Maintenance screen to create and integrate new database files with the standard system.

You can create the following:

For example, if you are a music buff and want to catalog your collection of recordings, you can create a MUSIC.CATALOG file.

For example, if your company wants to record additional information about each customer, such as the owner’s favorite sport, you can create a user-defined file that is subsidiary to the Customer file.

To create a user-defined file:

  1. From the System > System Files menu, select File Definition Maintenance to display the File Definition Maintenance screen.

Note: If prompted, log on to the character-based system.

You can also display this screen by selecting File Definition Maintenance from the Tools menu.

  1. In the File Name field, enter the name of the user-defined file.

Note: An exclamation point (!) cannot be the first character of a file name. We recommend appending a unique prefix such as UD to all user-defined file names to clearly distinguish them from standard file names. For example, name a user-defined mail file UD.MAIL.

The system prompts you to confirm that it is a new file name.

  1. Press Enter to create the file.

The system populates the Physical, Parent, and Dictionary File fields with the same name.

  1. In the Description field, identify the contents or purpose of the file. For example, you might type Subsidiary to the Customer file.

  2. Change the values in the Physical, Parent, and Dictionary File fields to designate the type of file you are creating as follows:

If the new file is to be...

Then...

a stand-alone file

leave the Physical, Parent, and Dictionary File names the same as the file name.

subsidiary to an parent file

leave the Physical File name the same as the File Name, but change the Parent File and the Dictionary File names to that of the parent file.

a synonym for an parent file

change the Physical File, Parent File, and the Dictionary File names to that of the parent file.

 

Note: Use the Dict Maint hot key to display the Dictionary Maintenance screen, where you can view or create dictionary items for this file.

  1. In the Type field, press F10 and select the type of file you are creating.

  2. Set the maintenance logging parameters for this file.

  3. Set the file definition parameters for this file.

  4. To make this file branch-specific, use the Branch Specific hot key. At the prompt, enter the attribute number where the branches to which the file applies are stored. The attribute number must be a numeric positive integer.

When a file definition is branch-specific, this hot key highlights.

  1. When all entries are complete, press Esc to create the file and exit the screen.

Note: To delete the displayed file, use the Delete hot key. The system prompts you to confirm the deletion.

To view additional details about a file:

  1. From the System > System Files menu, select File Definition Maintenance to display the File Definition Maintenance screen.

Note: If prompted, log on to the character-based system.

You can also display this screen by selecting File Definition Maintenance from the Tools menu.

  1. In the File Name field, enter the name of the user-defined file or press F10 and select the file from the displayed list.

  2. Use the File Info hot key to display the File Information screen, which contains information such as the size, type, and last modified time of both the data file and the dictionary associated with the file.

  3. Press Esc to return to the File Definition Maintenance screen.

See Also:

Setting Maintenance Logging Parameters

Editing File Definition Parameters

File Definition Maintenance Overview

Eclipse Dictionary Overview

Tasks Not Available in Solar