> -----Original Message----- > From: IBM Mainframe Discussion List On Behalf Of Robert A. Rosenberg > > At 11:31 -0600 on 11/29/2011, Phil Sidler wrote about Alternative to REPRO for VSAM RLS KSDS Merge: > > >Since IDCAMS REPRO does not support VSAM datasets in RLS mode (and > >neither does SORT), is there another utility that could be coaxed to > >perform the same function? I'd like to be able to copy/merge one KSDS > >to another replacing the records in the target dataset that have the > >same keys as the records in the source dataset (and leaving the other > >target dataset records) while the target dataset is being shared in RLS > >mode. > > > >TIA for suggestions > > Thinking outside the box, can you do an EXPORT of the dataset you want to copy from? If so, you can > then IMPORT while renaming it, use the copy to do the merge, and then delete the copy.
I think the OP's problem is that the dataset to be copied INTO ("target" dataset) is the one that's open in RLS mode. I didn't see explicit mention of the RLS characteristics of the dataset to be copied FROM ("source" dataset). -jc- ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html