3.10 Restore a Function's Definition from Backup Media
Functional Description
The files listed below are restored into temporary files in QTEMP from the specified backup media.
The records relating to the user specified function, in the specified process and partition, are copied from the temporary files in library QTEMP into the corresponding LANSA data library files.
This effectively redefines the function to LANSA.
Note: Only the definition is restored. The function will need to be recompiled before it can be executed.
|
Files Used
DC@F02 |
System Security |
DC@F04 |
Help Text Storage |
DC@F20 |
Module Definition |
DC@F21 |
Module File Usage |
DC@F23 |
Module Format Definition |
DC@F25 |
Process Field Usage |
DC@F29 |
Function Control Commands |
DC@F30 |
Function Control Parameters |
DC@F40 |
Process / Function Field Definition |
DC@F63 |
Multilingual Extension of DC@F04 |
DC@F66 |
Multilingual Extension of DC@F20 |
DC@F67 |
Multilingual Extension of DC@F23 |
DC@F85 |
Miscellaneous Function Details |
Warnings That Apply
- Remember The Golden Rule.
- <<osulib>> must be in the library list when running this job.
- The partition specified must exist.
- The process specified must exist.
- The function specified must not exist.
- This routine does not do any security checking.
- Job best run interactively.
- Definition only - not compiled objects.
Parameters
|
Examples
Restore function FUNC001 from process TEST01 from partition DEM from tape device TAP01
CALL OS@P0010 (TAPE TAP01 ' ' DEM TEST01 FUNC001)
Restore function FUNC002 from process TEST01 from partition DEM from save file SAVEDATA in library <<comlib>>
CALL OS@P0010 (SAVF SAVEDATA <<comlib>> DEM TEST01 FUNC002)