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
 
Can we write to KSDS vsam file directly from another KSDS

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

New User


Joined: 24 Jan 2007
Posts: 28
Location: pune

PostPosted: Thu Sep 06, 2007 2:23 pm    Post subject: Can we write to KSDS vsam file directly from another KSDS
Reply with quote

HI ppl,

I have a doubt like can we write a record from a KSDS vsam file from another KSDS VSAM file directly without copying to a working-storage record.Like,two vsam files layouts are the same and the Keys are also same.In this case can i use the Write <new vsam file-record> from old-vsam-record?
will this command work
old-vsam-record is the record of the file which i'm copying from.
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Sep 06, 2007 2:34 pm    Post subject:
Reply with quote

poongs,

Yes
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Sep 06, 2007 2:41 pm    Post subject:
Reply with quote

Or Read <old vsam file-record> into new-vsam-record and then Write....
Back to top
View user's profile Send private message
poongs
Warnings : 1

New User


Joined: 24 Jan 2007
Posts: 28
Location: pune

PostPosted: Thu Sep 06, 2007 3:09 pm    Post subject: Reply to: Can we write to KSDS vsam file directly from anot
Reply with quote

Thnx for the reply....
Actually in my case,i'm reading from the file and checking in the second file if that record exists or not,if it is not existing(file status '23'),then only i';m writing it into the second file.

Jus needed confirmation whether i can go about 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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am

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