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: 8165
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Addition of two records on 2 fields amar143 SYNCSORT 8 Tue Oct 03, 2017 11:14 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am

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