Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to Selectively copy VSAM records to another VSAM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sunny_io

New User


Joined: 11 Jul 2007
Posts: 68
Location: noida

PostPosted: Tue Apr 28, 2009 5:24 pm    Post subject: How to Selectively copy VSAM records to another VSAM
Reply with quote

Hi All.

I am new to VSAM and want to seletively copy data from One VSAM to another one.
The requirement is -- gather records from VSAM1 which have XXXX anywhere in the record ( not essentially in KEY ) and copy it to another VSAM2 ... VSAM2 should have same layout etc as VSAM1 .. and VSAM2 would be used for further processing..

Sunny
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Tue Apr 28, 2009 5:28 pm    Post subject: Re: How to Selectively copy VSAM members to another VSAM
Reply with quote

sunny_io wrote:
I am new to VSAM and want to seletively copy data from One VSAM to another one.
The requirement is -- gather records from VSAM1 which have XXXX anywhere in the record ( not essentially in KEY ) and copy it to another VSAM2 ... VSAM2 should have same layout etc as VSAM1 .. and VSAM2 would be used for further processing..
How about sort?
Quote:
Pls guide me step by step.
No thanks.....
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8280
Location: Dubuque, Iowa, USA

PostPosted: Tue Apr 28, 2009 5:36 pm    Post subject:
Reply with quote

Is VSAM2 already defined? If not, you'll need to define it before attempting to use it.
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 IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts VSAM - Accessing beyond record size Benchwarmer JCL & VSAM 6 Wed Apr 11, 2018 9:20 pm
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts VSAM File free space sancraig16 JCL & VSAM 13 Fri Mar 30, 2018 1:02 am

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