IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

VSAM RLS=NRI while doing IDCAMS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sheersh

New User


Joined: 24 May 2008
Posts: 17
Location: Gurgaon

PostPosted: Tue Mar 07, 2017 1:55 pm
Reply with quote

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
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 416
Location: Denmark

PostPosted: Tue Mar 07, 2017 2:21 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FILE STATUS - 39 ON VARIABLE LENGTH V... COBOL Programming 2
No new posts VSAM Alter Command - Cylinder Extent ... JCL & VSAM 3
No new posts RPLDDDD field for extended VSAM - ESDS JCL & VSAM 0
No new posts DFDSS msg ADR485E when restoring VSAM... JCL & VSAM 5
No new posts Sync logic between VSAM files and DB2... COBOL Programming 9
Search our Forums:

Back to Top