IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IDCAMS REPRO - default DISP ?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Wed Jul 09, 2008 8:15 pm
Reply with quote

Hi,

I was using a REPRO to copy one VSAM file to another. the INDATASET is used by CICS online. I am getting RC 12 with message:

IKJ56225I DATA SET XXXXX ALREADY IN USE, TRY LATER
IKJ56225I DATA SET IS ALLOCATED TO ANOTHER JOB OR USER

Does IDCAMS/REPRO try to open the INDATASET/OUTDATASET with default DISP of OLD?

Is there a way to override this?

Rahul.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jul 09, 2008 8:19 pm
Reply with quote

It could be CICS allocating with DISP=OLD ............. but ...........

Have you tried by allocating the input cluster to a DD with disp of SHR.
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Wed Jul 09, 2008 9:05 pm
Reply with quote

Yes, it worked that way. Thanks!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts Change Default Scroll Setting TSO/ISPF 1
No new posts how to keep unpaired records with REPRO. JCL & VSAM 9
No new posts Define default volume for DSN storage... JCL & VSAM 8
No new posts IDCAMS listcat service using cobol JCL & VSAM 1
Search our Forums:

Back to Top