3 9 Restore a Process from Backup Media

LANSA Open System Utilities

3.9 Restore a Process 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 specified process, in the specified partition, are copied from the temporary files in library QTEMP into the corresponding LANSA data library files.

This effectively redefines the process to LANSA.

Note: Only the definition is restored. The process (and its associated functions) will need to be recompiled before being used.

 

Name

OS@P0009

Type

Control Language Program

Source provided

Yes

 

  

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@F31

Process Additional Menu Options

DC@F32

Process Parameter Definition

DC@F40

Process / Function Field Definition

DC@F44

Process Attachments

DC@F63

Multilingual Extension of DC@F04

DC@F66

Multilingual Extension of DC@F20

DC@F67

Multilingual Extension of DC@F23

DC@F68

Multilingual Extension of DC@F31

DC@F69

Action Bar Definition

DC@F71

Action Bar Multilingual Definition

DC@F85

Miscellaneous Function Details

  

Warnings That Apply

  • <<osulib>> must be in the library list when running this job.
  • The partition specified must exist.
  • The process specified must not exist.
  • This routine does not do any security checking.
  • Job best run interactively.
  • Definition only - not compiled objects.

Parameters

No

Type

Len

Dec

Description

1

Alpha

4

 

Type of backup media (TAPE, SAVF).

2

Alpha

10

 

Name of device / save file name.

3

Alpha

10

 

Save file library.

4

Alpha

3

 

Name of partition where process resides.

5

Alpha

10

 

Name of process to be restored.

 

  

Examples

Restore process TEST01 from partition DEM from tape device TAP01:

CALL OS@P0009 (TAPE TAP01 ' ' DEM TEST01)

Restore process TEST01 from partition DEM from save file SAVEDATA in library <<comlib>>:

CALL OS@P0009 (SAVF SAVEDATA <<comlib>> DEM TEST01)