Previous Topic: Multi-Programmer EnvironmentsNext Topic: Implementing Your Application


Retaining Data When You Recreate Physical Files

You can compile a physical file that contains data without losing the data.CA 2E provides model values to name the libraries.

Note: Usually, these two model values are the same because you store data in a library and then copy the data back from the same library.

To compile, retaining the data in a physical file:

  1. Before you compile the physical file, designate library names for model values, YOLDLIB and YCPYLIB, using the YCHGMDLVAL command. Type the following command strings, pressing Enter to execute each one:
    1. YCHGMDLVAL MDLVAL(YOLDLIB) +
       VAL(old-library-name)
    2. YCHGMDLVAL MDLVAL(YCPYLIB) +
       VAL(copy-library-name)
  2. When you execute the YSBMMDLCRT, specify the libraries for OLDLIB and CPYLIB parameters.CA 2E will use your library names as defaults. The respective values are:

Note: When you execute the YSBMMDLCRT command from the Display Services Menu, the default for both *OLDLIB and *CPYLIB is *NONE.