Previous Topic: Converting Condition ValuesNext Topic: Enabling Execution Environments


Generating Your Field Reference File

CA 2E provides the option of using a field reference file, applicable only to DDS, when generating source for an access path and a display file. Because the internal files in CA 2E act as a field reference file, there is not really any need for this external field reference file for CA 2E-generated applications. However, it can be useful when a non-CA 2E application uses CA 2E-defined fields.

If the model uses a field reference file, the DDS for files are generated to use field referencing from this central definition of fields rather than specifying full field definitions in the source.

Before you can generate a field reference file:

To generate DDS source for a field reference file, from Display Fields, choose one the following:

Note: If you are adding a field reference file to an existing model, you must generate its source before submitting functions for generation/compilation.

Two other model values are available for generating a field reference file.

For more information on model values and the YCHGMDLVAL command, refer to the CA 2E Command Reference Guide.