I would like a rexx to remove a specific line from a file.
Posted: Fri May 20, 2016 8:46 am
Hello folks
I code a program that open a file than read the file and send all records for a STEM .
I use this array to verify which line has a specific string
So I would like know one way to remove a line from the file that had this specific string.
I thought manipulate the array then remove the variable that contains this line so after that make an EXECIO DISKW to write the lines into files however if I drop the variable the variable will be recorded but without a value .
Conclusion :
I am looking for a way using rexx to remove a line from a file , or using EXECIO or ISREDIT , please someone could give me a light ?
Thanks so much
I code a program that open a file than read the file and send all records for a STEM .
I use this array to verify which line has a specific string
So I would like know one way to remove a line from the file that had this specific string.
I thought manipulate the array then remove the variable that contains this line so after that make an EXECIO DISKW to write the lines into files however if I drop the variable the variable will be recorded but without a value .
Conclusion :
I am looking for a way using rexx to remove a line from a file , or using EXECIO or ISREDIT , please someone could give me a light ?
Thanks so much