Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
IDCAMS REPRO - default DISP ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
genesis786

New User


Joined: 28 Sep 2005
Posts: 36
Location: London

PostPosted: Wed Jul 09, 2008 8:15 pm    Post subject: IDCAMS REPRO - default DISP ?
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
References
PostPosted: Wed Jul 09, 2008 8:15 pm    Post subject: Re: IDCAMS REPRO - default DISP ? Reply with quote

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 2959
Location: Brussels once more ...

PostPosted: Wed Jul 09, 2008 8:19 pm    Post subject:
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

New User


Joined: 28 Sep 2005
Posts: 36
Location: London

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

Yes, it worked that way. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1