SCL PS locked by Endevor webservices STC
search cancel

SCL PS locked by Endevor webservices STC

book

Article ID: 202160

calendar_today

Updated On:

Products

Endevor Endevor - ECLIPSE Plugin

Issue/Introduction

Create Endevor package using SCL in sequential dataset,  trying to delete SCL PS after Package creation and the PS is locked by ENDWSCCI webservices. 

Getting the following error: 

ENTER DSNAME: 
iprfx.iqual.xxxxxx.time.sclout
    ENDWSCCI has data set allocated SHR
Listing finisheD
 
In the dataset list (3.4) on TSO when attempted to Delete the dataset a message "DATASET IN USE" is issued. 

 

 

Environment

Release : 18.1

Component : CA Endevor Software Change Manager

Resolution

Web Services has STC pooling enabled. 

And PoolReapTime and AgedTimeout set to zero in Endevor.cfg, this settilg allows active STCs to remain in the pool indefinitely, that is why the SCL dataset is locked by Web Services STC. 

Solution:

Option 1: Disable STC pooling, that is to set PoolMaxSize to zero in Endevor.cfg, STC gets shutdown once web services finish processing the request. Every STC corresponding to one particular Endevor request. 

Option 2: With STC pooling enabled, set None zero value to PoolReapTime and AgedTimeout in Endevor.cfg

<STC HostName="hostname"           
           JobName="jobname"           
           ProgramName="BC1PAPI0"
           Comments="Welcome to Endevor"
           PoolInitSize="1"
           PoolIncrsize="1"
           PoolMaxSize="2"
           PoolReapTime="180"
           UnusedTimeout="0"
           AgedTimeout="1200"
           ConnectionTimeout="0"
           TypeCacheTimeout="0">
 
In the above example,  STC pool maintenance monitoring thread.runs every 180 seconds,  STC remains in existence for at most 1020 seconds (1200-180=1020) before being shut down. And move SCL PS can be deleted once STC is no longer active. 

Set ResponseTimeout to none zero value, if STC process time is longer than (AgedTimeout-PoolReapTime), this will allow server waits (wait time is the value of ResponseTimeout) for an STC to process a request before cancelling that request.



Additional Information