>From the AMS manual under the REUSE keyword:

 

"When you create a reusable cluster, you cannot build an alternate index to
support it.  Also, you cannot create a reusable cluster with key ranges (see
the KEYRANGE parameter).  Reusable data sets may be multivolume and may have
up to 123 physical extents."

 

 

 

 

Larry Crilley

Dino Software Corp.

Home of REORGadon: The world's first REORG While-OPEN tool for HSM

http://www.dino-software.com/

412.366.3566

 

 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Rick Fochtman
Sent: Tuesday, August 07, 2007 11:55 AM
To: [email protected]
Subject: Re: VSAM REUSE with alternate index

 

------------------<snip>-------------------------

 

>I am posting this for a co-worker. 

> 

>Any hints are greatly appreciated.

>-Victor-

>========================================================

>I was wondering if you could help me out with a VSAM question.

> 

>I have a base cluster defined with an alternate index and a path. It's
modeled 

>on an existing file.

> 

>I'm able to define and load my test version of the file using IDCAMS. What
I 

>would really like to do is to be able to reload/refresh this file each
night using 

>IDCAMS REPRO with a REUSE.

> 

>I added REUSE to the base cluster but received an error on the repro. I
then 

>tried adding REUSE to the definition of the alternate index but also got
errors 

>during the repro. Can IDCAMS be used to get this done? I guess the 

>alternative is to delete/redefine the VSAM file each night which I would
prefer 

>not to do.

>  

> 

-----------------------------<unsnip>---------------------------

Doing this requires that the VSAM ACB be opened with the RESET (not sure 

of exact name) option, to reset last-used-RBA to zero. To my knowledge, 

IDCAMS will not do this. I have a trivial little Assembler program to do 

this, if you want it.

 

----------------------------------------------------------------------

For IBM-MAIN subscribe / signoff / archive access instructions,

send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO

Search the archives at http://bama.ua.edu/archives/ibm-main.html


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to