Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Vsam Data Set in USE

929 views
Skip to first unread message

Sergio Lima

unread,
May 3, 2010, 11:51:18 AM5/3/10
to
 
Hello List,
 
This problem under VSE, for us, is a old problem, and We want know if anybody can help please,
We have this problem :
 
// JOB SAFTEST                                                      DATE 05/03/2
// EXEC IDCAMS,SIZE=AUTO                                                       
1S54I  PHASE IDCAMS   IS TO BE FETCHED FROM IJSYSRS.SYSLIB                     
IDCAMS  SYSTEM SERVICES                                           TIME: 12:40:17
                                                                               
 DELETE SUPORTE.SUPDSABC.DELTAFL CL PRG CAT(VSESP.USER.CATALOG)                
IDC3028I DATA SET IN USE                                                       
IDC3009I ** VSAM CATALOG RETURN CODE IS 184 - REASON CODE IS IGG0CLCX-4        
IDC0551I **ENTRY SUPORTE.SUPDSABC.DELTAFL NOT DELETED                          
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8                      
 
And this file, is not from CICS, don't have none batch job running, and We don't understand who are using this file.
 
This file was included on a EXIT named IESVSCAP of REDIRECTOR product.
 
We remove this file from this EXIT, recompile this, and the problem continue.
 
Under TSO, We can see who is "holding" the dataset, but under VSE have some thing to do ?
 
Thanks very much,
 

 

 

Sérgio Lima Costa

sergio.costa@grvsolutions.com.br            

Arquitetura e Suporte                                            

GRV Solutions                                     

Tel.: +55 (11) 4152-9398

www.grvsolutions.com.br

 



Transforme-se em personagens engraçados e coloque no Messenger. Clique e veja como.

Mario Izaguirre

unread,
May 3, 2010, 11:59:57 AM5/3/10
to

Hello.

Maybe you should try to have closed the VSAM Redirector on the computer, and check that is not defined in CICS.

 

 

Best Regards,

 

 

Mario Izaguirre

Mainframe System Programmer

Barcelona, Spain

Frank M. Ramaekers

unread,
May 3, 2010, 12:07:37 PM5/3/10
to

What version of VSE/ESA or z/VSE do you run.   From what I understand the latest version (at least) is suppose to show what TID/PID is holding the lock on the dataset.

 

 

Frank M. Ramaekers Jr.

 

 


_____________________________________________________ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at Priva...@ailife.com.

Sergio Lima

unread,
May 3, 2010, 1:36:44 PM5/3/10
to
Hello Frank,
 
Our system is :
 
sir                                                                       
AR 0015 CPUID  VM = 0000533420988000            VSE = FF11111120988000    
AR 0015 PROCESSOR = IBM 2098-L01 82 (9533482)  LPAR = PROD1     No. = 0000
AR 0015 VM-SYSTEM = z/VM    5.4.0   (0903)   USERID = MEGATEST VMCF = ON  
AR 0015      CPUs = 0002                       Cap. = 100%                
AR 0015 PROC-MODE = z/Arch(64-BIT)  IPL(240)    15:22:47 BRT  04/27/2010  
AR 0015 SYSTEM    = z/VSE           4.2.0 GA                  08/13/2008  
AR 0015             VSE/AF          8.2.0       GA-LEVEL      07/10/2008  
AR 0015             VSE/POWER       8.2.0       GA            07/10/2008  
AR 0015 IPL-PROC  = $IPLESA         JCL-PROC  = $$JCLESA                  
AR 0015 SUPVR     = $$A$SUPI        TURBO-DISPATCHER (66) ACTIVE          
AR 0015                             HARDWARE COMPRESSION ENABLED          
AR 0015 SEC. MGR. = BASIC           SECURITY  = ONLINE    

 
Do you know, if have a place that we can found this "hold" ?
 
Thanks
 
Sergio                 
 

Date: Mon, 3 May 2010 11:06:44 -0500
From: FRama...@ailife.com
To: vs...@Lehigh.EDU
Subject: RE: Vsam Data Set in USE

Quer usar o Messenger sem precisar instalar nada? Veja como usar o Messenger Web.

Sergio Lima

unread,
May 3, 2010, 1:37:31 PM5/3/10
to
Hello Mario,
 
We already saw this, and this file in not Online.
 
Thanks
 
Sergui
 

Date: Mon, 3 May 2010 17:59:20 +0200
From: mizag...@circulo.es
To: vs...@Lehigh.EDU
Subject: RE: Vsam Data Set in USE

Edward M Martin

unread,
May 3, 2010, 1:49:27 PM5/3/10
to

Hello Sergio,

 

     There is a LOCK SHOW AR command.  Described in the Hints and Tips.

 

Ed Martin

Aultman Health Foundation

330-363-5050

ext 35050

David Stuart

unread,
May 3, 2010, 1:49:53 PM5/3/10
to
Mario,

I saw this once, pre-VSAM Redirector, at another site. This was about
15 years ago. And it happened every few months. We were never able to
determine why.

What we were able to do was a IDCAMS ALTER ... NEWNAME against the
index component, data component, and then the Cluster, in that order.
Then we were able to recreate the original file, with the original file
name.

We continued to receive the 184 File In Use error until the next
scheduled IPL, after which we were able to delete the renamed file.


Dave

Dave Stuart
Prin. Info. Systems Support Analyst
County of Ventura, CA
805-662-6731
David....@ventura.org>>> "Sergio Lima" <sergi...@hotmail.com>
5/3/2010 10:36 AM >>>

Hello Mario,

We already saw this, and this file in not Online.

Thanks

Sergui


Hello.

Sï¿œrgio Lima Costa
sergio...@grvsolutions.com.br

Arquitetura e Suporte
GRV Solutions
Tel.: +55 (11) 4152-9398
www.grvsolutions.com.br

Transforme-se em personagens engraï¿œados e coloque no Messenger. Clique
e veja como.
_________________________________________________________________
Mude seu visual no Messenger e divirta-se com seus amigos online.
Clique e veja como
http://ilm.windowslive.com.br/?ocid=ILM:ILM:Hotmail:Tagline:1x1:Tagline

Mario Izaguirre

unread,
May 3, 2010, 2:09:01 PM5/3/10
to
I said, because recently the same thing happened to me, implementing VSAM Redirector (4 months ago), I wanted to delete a VSAM file was defined in RDCONFIG and gave me error "Data Set in use" then closed the VSAM Redirector(PC) and then I would go home the same message, then as he had defined the file entry in the RDO, first remove it with CEDF and then delete the file in the program group. I try with IDCAMS to delete the file and delete it.

Best Regards,


Mario Izaguirre
Mainframe System Programmer
Barcelona, Spain

-----Mensaje original-----
De: owner...@Lehigh.EDU [mailto:owner...@Lehigh.EDU] En nombre de David Stuart
Enviado el: lunes, 03 de mayo de 2010 19:49
Para: VSE Discussion List
Asunto: RE: Vsam Data Set in USE

Mario,


Dave

Hello Mario,

Thanks

Sergui

Hello.

S�rgio Lima Costa

Transforme-se em personagens engra�ados e coloque no Messenger. Clique

Sergio Lima

unread,
May 3, 2010, 2:20:19 PM5/3/10
to
Hello Mr. Martin,
 
Thanks very much, from you help.
We found the command here, look please :
 
 
 
Display Facility
To allow faster diagnosis in case of resources being in use or deadlock situations it
is now possible to display the actual locking status of
the entire lock table
all locks held by a specified partition (PIK)
a given resource name
a set of resource names, specified with name*
a set of resource names held by a given partition
This feature is available via a new Attention Routine command LOCK SHOW.
Examples for the usage of the command are
LOCK SHOW shows all currently held locks (resources) of this
z/VSE system.
LOCK SHOW=F4 shows all currently held locks (resources) of
partition F4.
LOCK SHOW,RESOURCE-E10 shows who is currently holding resource
RESOURCE-E10 (if held at all).
LOCK SHOW,VSYSOPEN'00000001
shows who is currently holding resource
VSYSOPEN0000001 (if held at all), where
VSYSOPEN is interpreted as characters and
00000001 as hex value.
LOCK SHOW,RESOURC* shows who is currently holding resources, starting
with the character string RESOURC.
LOCK SHOW=F6,RES* shows, if partition F6 is currently holding
resources, starting with the character string RES

 
 
Best Regards,

 

Sérgio Lima Costa

sergio.costa@grvsolutions.com.br            

Arquitetura e Suporte                                            

GRV Solutions                                     

Tel.: +55 (11) 4152-9398

www.grvsolutions.com.br

 


 

Date: Mon, 3 May 2010 13:48:35 -0400
From: EMa...@aultman.com

Cansado de entrar em todas as suas diferentes contas de email? Veja como juntar todas

mick poil

unread,
May 4, 2010, 4:51:00 AM5/4/10
to
The problem with using the LOCK display is that you only get the
internal Lock table entries. The lock names are 12-bytes long, and a
VSAM cluster lock contains "V" followed by the volume serial number of
the disk that contains the VSAM catalog followed by the CI number in
the catalog that is the start point for the file definition. You do
not get a dataset name as most of the IBM lock names are cryptic. It
makes it unique for VSAM but unintelligible to mere mortals like me. 

I tried a delete/define in BG on a file that I knew was already open
and in a catalog on volume VSET23. I used LOCK TRACE=BG,VVSET23* and
got a LOT of console output, including the one (I hope) that was
relevant before the VSAM message:

BG 0025 DTL
V00520A30 001E1248 E5E5E2C5 E3F2F300 008D0000 * çVVSET23 ò *
V00520A40 E5E2C5E3 F2F30004 00000000 0000 *VSET23 *
BG 0025 LOCKTAB ENTRY
V06FC0420 06FC0310 00000000 E5E5E2C5 E3F2F300 * Ü VVSET23 *
V06FC0430 008D0000 12D00001 06FC0350 06FC0460 * ò } Ü & Ü -*
BG 0025 OWNER ELEMENT
V06FC0310 00000000 002E0000 00011000 00000000 * *
BG 0000 4228I FILE FILEA OPEN ERROR X'A8'(168) CAT=CICSUCT
(OPNH1-45) FILE ALREADY OPEN IN ANOTHER PARTITION

See the Supervisor DRM for the control block layouts. The DTL is the
control block that defines the request. The LOCKTAB entry maps the
resource. The Lock Owner element says which task owns the resource, in
this case we have task 2E.     

Use the STATUS command to identify the partitions by their task ids:

. . .
AR 0015 S62 -W1 82 WAITING FOR I/O, OR ECB POSTING
AR 0015 S61 -W1 82 WAITING FOR I/O, OR ECB POSTING
AR 0015 S64 -W1 82 WAITING FOR I/O, OR ECB POSTING
AR 0015 S63 -W1 82 WAITING FOR I/O, OR ECB POSTING
AR 0015 S66 -W1 82 WAITING FOR I/O, OR ECB POSTING
AR 0015 S67 -W1 82 WAITING FOR I/O, OR ECB POSTING
AR 0015 S68 -W1 82 WAITING FOR I/O, OR ECB POSTING
AR 0015 S65 -W1 82 WAITING FOR I/O, OR ECB POSTING
AR 0015 M2D W1 82 WAITING FOR I/O, OR ECB POSTING
AR 0015 M2E Y1 82 WAITING FOR I/O, OR ECB POSTING

d rdr,cdisp=*
AR 0015 1C39I COMMAND PASSED TO VSE/POWER
. . .
F1 0001 1R46I DITEPOIL 35716 3 * Y 7 PART=Y1 FROM=(POIL)    
                   

Hope this helps.

Mike


0 new messages