3 2 High Speed Partition Import from Tape

LANSA Open System Utilities

3.2 High Speed Partition Import from Tape

Functional Description

An attempt to exclusively lock the LANSA system will be made by this job. If unsuccessful, the job will terminate at this point.

All objects saved in QTEMP are restored from the specified tape device to library QTEMP.

All libraries in OS@DIR are restored. (See OS@P0001 Technical Description for details regarding OS@DIR).

This program then copies the data in QTEMP to the LANSA data library, effectively recreating the previously deleted (and saved) partition.

If IFS objects were saved during the 3.1 High Speed Partition Export to Tape, the IFS objects are restored into the IFS as well.

Name

OS@P0002

Type

ILE Control Language Program

Source provided

Yes

 

  Files Used

All files in the <<dtalib>> are used by this job.

Warnings That Apply

  • You must backup <<dtalib>> before using this utility.
  • <<osulib>> must be in the library list when running this job.
  • The partition specified must not already exist in the target system.
  • Existing partitions must have different identifiers to the one about to be restored.
  • Partition to be imported must not have the same unique prefix as an existing partition (even if the partition identifiers are different).
  • This routine does not do any security checking.
  • No one should be using the system at the time of import.
  • This program is best run in batch.

Parameters

No

Type

Len

Dec

Description

1

Alpha

10

 

Name of tape device to be used for import.

 

  Examples

Import previously saved partition from TAP01.

CALL OS@P0002 (TAP01)