------------------<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

Reply via email to