3 14 Lock and or Unlock a Complete LANSA System

LANSA Open System Utilities

3.14 Lock and/or Unlock a Complete LANSA System

Functional Description

This program receives a lock or unlock request. If the request is 'LOCK', an exclusive lock is placed on the data area DC@A01 in <<pgmlib>>. If the request is 'FREE', then the data area DC@A01 is de-allocated.

Name

OS@P8001

Type

Control Language Program

Source provided

Yes

 

 Warnings That Apply

  • The <<pgmlib>> must be in the library list
  • No one should be using the system at time of 'LOCK' request.
  • Once the system is locked, no LANSA jobs will execute successfully.
  • Do not call directly. This is a utility program for the OS@P00nn series programs in this OSU package.

Parameters

No

Type

Len

Dec

Description

1

Alpha

4

 

'LOCK' or 'FREE' the LANSA system