

Generating and Compiling Your Application › Generating and Compiling After Changes › Retaining Data When You Recreate Physical Files
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.
- YOLDLIB—Name of the library into which you want old physical files archived.
- YCPYLIB—Name of the library from which you want physical file data copied during the generation process.
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:
- 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:
- YCHGMDLVAL MDLVAL(YOLDLIB) +
VAL(old-library-name)
- YCHGMDLVAL MDLVAL(YCPYLIB) +
VAL(copy-library-name)
- 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:
- *OLDLIB—Library name from YOLDLIB.
- *CPYLIB—Library name from YCPYLIB.
Note: When you execute the YSBMMDLCRT command from the Display Services Menu, the default for both *OLDLIB and *CPYLIB is *NONE.
Copyright © 2014 CA.
All rights reserved.
 
|
|