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
 

 

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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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