Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
VSAM RLS=NRI while doing IDCAMS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: VSAM RLS=NRI while doing IDCAMS
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: 385
Location: Denmark

PostPosted: Tue Mar 07, 2017 2:21 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DFDSS msg ADR485E when restoring VSAM... Alan Playford JCL & VSAM 2 Sat Aug 29, 2020 9:33 pm
No new posts Sync logic between VSAM files and DB2... murali.andaluri COBOL Programming 9 Tue Aug 25, 2020 1:01 pm
No new posts VSAM I/O - Extended Addressability - ... amitsjcntl JCL & VSAM 13 Mon Jul 06, 2020 3:51 pm
No new posts VSAM Open During Copy-Excessive EXCP ... David Beckham JCL & VSAM 1 Sat Jun 27, 2020 5:23 pm
No new posts Unable to download the JDBC driver to... mrayandutta Java & MQSeries 1 Tue Apr 28, 2020 8:59 pm

Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us