View previous topic :: View next topic
|
Author |
Message |
sheersh
New User
Joined: 24 May 2008 Posts: 17 Location: Gurgaon
|
|
|
|
Hi,
I am copying a QSAM file to VSAM via IDCAMS REPRO. I want that this vsam file is not exclusively held for the idcams job. Can I do this via using RLS=NRI option for VSAM file or this wouldn't work?
I know a cobol program can be written to achieve this by inserting each record in vsam by looping sequential read on QSAM file. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
Allocating the VSAM cluster in the JCL with DISP=SHR and using the OUTFILE statemet for the REPRO should do it. You might have to look at the SHAREOPTIONS for the VSAM cluster. |
|
Back to top |
|
|
|