3 8 Rename Partition Libraries

LANSA Open System Utilities

3.8 Rename Partition Libraries

Functional Description

This program receives two library names. The first name is the old partition data or module library, the second is the new name for this library.

Any occurrence of the old library specified in the files mentioned above, are changed to the new library.

Name

OS@P0008

Type

Control Language Program

Source provided

Yes

 

  

Files Used

DC@F02

System Security

DC@F05

Validation Check Directory

DC@F12

File Definition

DC@F14

File Definition List

DC@F15

Logical File Definition

DC@F17

Foreign Key Check Definition

DC@F18

Access Route Definition

DC@F19

Batch Control Logic Definition

DC@F21

Module File Usage

DC@F27

File Version Definition

DC@F45

Virtual Field RPGIII Code File

DC@F46

Partition Identifier

DC@F64

Multilingual Extension of DC@F27

DC@F65

Multilingual Extension of DC@F15

DC@F74

TTS Object Register

DC@F75

TTS Object Event Log

  

Warnings That Apply

  • <<osulib>> must be in the library list when running this job.
  • No one should be using the system at time of run.
  • This routine does not do any security checking.
  • This routine does not rename the actual library, only the references to it in LANSA internal database.
  • Renames any occurrences of this library name in the LANSA internal database.

Parameters

No

Type

Len

Dec

Description

1

Alpha

10

 

Old partition library

2

Alpha

10

 

New partition library

 

  

Examples

Rename partition library OLDPARTLIB to NEWPARTLIB

CALL OS@P0008 (OLDPARTLIB NEWPARTLIB)

Rename partition library DEVLANSA to DEVLANDATA

CALL OS@P0008 (DEVLANSA DEVLANDATA)

Rename partition library DEVLIB to PRODLIB

CALL OS@P0008 (DEVLIB PRODLIB)