The reuse option



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

The reuse option

Postby pcs2smf » Fri Sep 25, 2009 12:34 am

When using REUSE in the repro command, I know this sets the HRBA to 0 - emptying the dataset, but does this apply when there are multiple extents allocated? There is a weekly job running that repros data from a flatfile to a VSAM. Sometimes the first of the month run creates duplicates though nothing is changed in the JCL. At this time there is a complete month of data and multiple extents may be alloc.
pcs2smf
 
Posts: 7
Joined: Wed Aug 12, 2009 5:17 pm
Has thanked: 0 time
Been thanked: 0 time

Re: The reuse option

 

Re: The reuse option

Postby dick scherrer » Fri Sep 25, 2009 12:57 am

Hello,

The REPRO does not create the duplicates.

When/how are the duplicates detected?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: The reuse option

Postby pcs2smf » Fri Sep 25, 2009 1:08 am

The VSAM is a history file. Raw data indicates dups. I can compensate by using SAS in the reporting. Proc sort nodups. There are numerous steps in this job. One step is this repro, thinking perhaps this step is re-adding the data.
pcs2smf
 
Posts: 7
Joined: Wed Aug 12, 2009 5:17 pm
Has thanked: 0 time
Been thanked: 0 time


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post