Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

deleting an external line

Status
Not open for further replies.

TimLeslie

Technical User
Jul 22, 2003
6
0
0
GB
Sorry everyone, but haven't touched REXX for a while and have forgotten this bit!
I need to cross reference a flat file which is appending when certain things happen. (i.e. Server1 has a problem)
The REXX I'm trying to code, checks the file to see if there is already an instance of the problem, if not ... append the file (Which works). If there IS an existing entry, do something else (Which works!) and delete the line from the flat file.
Currently I can only get it to delete the line AND everything after it.
I've been using linein and lineout, suspect my failing memory of stacks and queues may be the core of the problem!
I'm using Regina REXX.
 
Which platform? (I suspect this is UNIX and I'm going to get to sit on the side and watch...)

Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
Hi, no the platform isn't UNIX. It's Windows 2003.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top