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.
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.