View previous topic :: View next topic
|
Author |
Message |
poongs Warnings : 1 New User
Joined: 24 Jan 2007 Posts: 28 Location: pune
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
poongs,
Yes |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Or Read <old vsam file-record> into new-vsam-record and then Write.... |
|
Back to top |
|
|
poongs Warnings : 1 New User
Joined: 24 Jan 2007 Posts: 28 Location: pune
|
|
|
|
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 |
|
|
|