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: 8798
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
Search our Forums:


Back to Top