3 3 High Speed Partition Deletion

LANSA Open System Utilities

3.3 High Speed Partition Deletion

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.

Job will end if the partition to be deleted is the SYS partition.

All data, excluding the data for the partition specified, from the LANSA data library is copied to temporary files in library QTEMP.

All data from QTEMP is then copied back to the <<dtalib>>, effectively removing the specified partition from the LANSA system.

LANSA system will be released.

Name

OS@P0003

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.
  • <<pgmlib>> and <<osulib>> must be in the library list when running this job.
  • Not to be used on partition SYS (this is checked).
  • The partition specified must exist.
  • This routine does not do any security checking.
  • No one should be using the system at the time of deletion.
  • This program is best run in batch.
  • Program failure will leave system in a corrupted state. To recover from corrupted state restore <<dtalib>>.
  • If the library is not used by another partition, it must be deleted after this process has been completed.

Parameters

No

Type

Len

Dec

Description

1

Alpha

3

 

Identifier of partition to be deleted.

 

  Examples

Delete partition DEM.

CALL OS@P0003 (DEM)