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

How to Selectively copy VSAM records to another VSAM


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 2146
Location: At my coffee table

PostPosted: Tue Apr 28, 2009 5:28 pm
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Apr 28, 2009 5:36 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top