deleting a particular record in rexx
-
- Posts: 1
- Joined: Thu Aug 30, 2007 7:47 pm
- Skillset: mvs(z/os),jcl,cobol,cics,rexx
- Referer: through the internet
deleting a particular record in rexx
how to delete a particular record in dataset without copying it to another dataset by eliminating that single record...
- MrSpock
- Global moderator
- Posts: 809
- Joined: Wed Jun 06, 2007 9:37 pm
- Skillset: REXX, JCL, DFSORT, Syncsort, Axway MFT, Connect:Direct, FTP, SFTP
- Referer: ibmmainframes.com
- Location: Raleigh NC USA
- Contact:
Re: deleting a particular record in rexx
You can't do that in QSAM processing. The entire dataset has to be read and then re-written with the deleted record omitted. It's not a good idea to read and write to the same dataset.
Just use an editor and delete the required record instead.
Just use an editor and delete the required record instead.