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: 8117
Location: East Dubuque, Illinois, 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 Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm


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