[Prev] [Next] [Top] [Bottom] [Contents] (5 out of 9)

FILE Objects

A Flat File Data Object is known as a FILE Data Object Type. FILE Objects are used to manipulate Flat Files stored on the Unix file system. A FILE Object can be of type Read or Append.

How FILE Objects are Managed

FILE objects are saved on your hard disk using a naming convention described below. Sapphire/Web needs to know where to read and write FILE Objects at start-up. If the environment variable DSQLDIR is set to point to a directory path, Sapphire/Web will look in that path. The DSQLDIR environment variable is useful for sharing FILE Objects between multiple developers.

If the DSQLDIR environment variable is not set, Sapphire/Web will look in the project's directory.

FILE Object Naming Convention

FILE Objects are saved using the following naming conventions:

FILE,FILE,object_name,F
where

object_name
is the name of the FILE Object
F
Data Object Type

How to Create FILE Objects

To create a FILE Object, use the Object Editor. See the section on the Object Editor for more information.

Components of a FILE Object

A FILE Object describes the flat file that is to be manipulated. Several things must be specified in order to define a FILE Object:

FILE Object Options

When creating FILE Objects, Options can be specified in the Options Editor. These Options fine tune the behavior of the FILE Object. The following is a table of FILE Object Options.


[Prev] [Next] [Top] [Bottom] [Contents] (5 out of 9)