View previous topic :: View next topic |
Author |
Message |
shriya_reddy Beginner
Joined: 19 Oct 2005 Posts: 4 Topics: 2
|
Posted: Wed Oct 19, 2005 11:52 pm Post subject: How to delete a record from VSAM file |
|
|
Hi All,
I want to delete a record from VSAM file.Please send me jcl for deleting record from vsam file. |
|
Back to top |
|
|
Phantom Data Mgmt Moderator
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu Oct 20, 2005 12:18 am Post subject: |
|
|
Shriya_Reddy,
Quote: |
I want to delete a record from VSAM file.Please send me jcl for deleting record from vsam file.
|
The question is simple but not complete. You can delete records using COBOL or utilities like SORT or FILEAID or combination of SORT & REPRO etc. either as online or batch.
Let us know what you are trying to accomplish.
1. Do you have a particular key to be deleted or a range of keys ?
2. Is this just for some test purposes ? do you want to delete a record only one time ?
Thanks,
Phantom |
|
Back to top |
|
|
shriya_reddy Beginner
Joined: 19 Oct 2005 Posts: 4 Topics: 2
|
Posted: Thu Oct 20, 2005 12:49 am Post subject: |
|
|
Hi Phantom,
I want to delete only one record based on particular key.please give me solution for VSAM both KSDS and ESDS.
Regards,
shriya. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
|
|