Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 7936
Location: Bellevue, IA

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 Sort Card to Remove Duplicate records... raj4neo SYNCSORT 2 Wed Jan 25, 2017 4:44 am
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us