How to release the PDS(E) library which is locked by CA ESP Workload Automation Workstation users?

book

Article ID: 52600

calendar_today

Updated On:

Products

CA Workload Automation Agents

Issue/Introduction

Description

One PDS(E) library is locked by CA ESP WA Workstation users, how do you release it?

Solution

The LISTLOCK and UNDOLOCK are the commands to use. They can be issued from CA ESP WA Workstation LMI or as command on "/F ESPWS,cmd".

Here are the examples:
The command sent to the server is: /F ESPWSS,listlock
ESPWSS4647I List of Currently Locked Files
ESPWSS4648I User ID Task Date-Time File
ESPWSS4649I USER02 2 00F810 20030801-141823 PROD.TEST.PROCLIB(TEST)
ESPWSS4650I Locks currently held = 1
ESPWSS000 -->

If you want to unlock the file, you then enter:
/F ESPWSS,UNDOLOCK ID(n) ------> where n is the ID number from the LISTLOCK command.
ESPWSS4644I 'UNDOLOCK ID(2)' submitted by user USER01 at 20030801-141934
ESPWSS4645I File PROD.TEST.PROCLIB(TEST) unlocked by USER01 at 20030801-141934; owner was USER02
ESPWSS4646I Locks released = 1
ESPWSS000 -->

Then PROD.TEST.PROCLIB(TEST) is no longer locked.

For recording purposes the LISTLOCK and UNDOLOCK are captured in the CA ESP Workstation Server STC log:
ESPWSS4638I File PROD.TEST.PROCLIB(TEST) locked
ESPWSS4644I 'UNDOLOCK ID(2)' submitted by user USER01 at 20030801-144124
ESPWSS4645I File PROD.TEST.PROCLIB(TEST) unlocked by USER01 at 20030801-1441
ESPWSS4646I Locks released = 1

Environment

Release: WKLASG00200-5.5-Workload Automation-Service Governor-EE
Component: