IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to delete a record from sequential file


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ksmvali

New User


Joined: 05 Apr 2005
Posts: 4

PostPosted: Fri Jun 15, 2007 11:29 am
Reply with quote

How to delete a record from sequential file
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Jun 15, 2007 12:19 pm
Reply with quote

Here is a related posted, please look at this ... might help you.

www.ibmmainframes.com/viewtopic.php?t=21803
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jun 15, 2007 12:27 pm
Reply with quote

Hello,

If you only have one input file, you can read it and copy the record omitting the unneeded record(s).

You could do this with a COBOL program or possibly the sort, depending on the requirement.
Back to top
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 177
Location: Seattle, WA

PostPosted: Fri Jun 15, 2007 11:01 pm
Reply with quote

If it is an infrequent thing, the various edit options in TSO work great.

Or File-Aid.

Heck, if it's a large file, you could use a utility - maybe even File-Aid!

You could write a program, but it seems a lot of work for one record.

Yeah, I'm lazy. I look for the quickest, easiest route. icon_lol.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top