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

Refresh a vsam file which is created with reuse option as NO


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

New User


Joined: 19 Jun 2007
Posts: 11
Location: bangalore

PostPosted: Tue Jul 10, 2007 12:17 pm
Reply with quote

Hi,

How do I refresh a vsam file which is created with reuse option as NO.
I am trying to refresh data in vsam created with resuse option as "N".
using IDCAMS REPRO with REUSE command.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Tue Jul 10, 2007 2:40 pm
Reply with quote

Neha,

Quote:
I am trying to refresh data in vsam created with resuse option as "N".
using IDCAMS REPRO with REUSE command.

You cannot use REPRO with REUSE for a non-empty VSAM cluster defined with NO REUSE option.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Jul 10, 2007 3:30 pm
Reply with quote

You can either DELETE DEFINE and reload the cluster, or use ALTER to make it a reusable cluster, reload it, and then ALTER back to NOREUSE.
Back to top
View user's profile Send private message
nehadixit25

New User


Joined: 19 Jun 2007
Posts: 11
Location: bangalore

PostPosted: Thu Jul 12, 2007 7:21 pm
Reply with quote

thanks a lot for the reply!!
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 FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top