How to resolve "IDC3028I DATA SET IN USE" problem

Document ID : KB000010298
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

If a user's IMS session was terminated, e.g. due to timeout, and he does re-logon to CA File Master for IMS, there could be a problem with the log data set as follows:

ALTER DXX.FMILOGDS.userid.L0000004 - 
NEWNAME(DXX.FMISAVLG.userid.D17041.T114419) 
IDC3028I DATA SET IN USE 
IDC3009I ** VSAM CATALOG RETURN CODE IS 184 - REASON CODE IS IGG0CLEC-4 
IDC0532I **ENTRY DXX.FMILOGDS.userid.L0000004 NOT ALTERED 
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8 

...

Instructions:

The problem can be resolved by using %TIME instead of %LOGN in CAWKOPT. For instance, change:  

ONL_CLOGDSN=DXX.FMILOGDS.%USERID.%LOGN 
to 
ONL_CLOGDSN=DXX.FMILOGDS.%USERID.%TIME