I would like a rexx to remove a specific line from a file.
![Post Post](https://www.ibmmainframeforum.com/styles/prosilver/imageset/icon_post_target.gif)
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 ?![Wink ;)](https://www.ibmmainframeforum.com/images/smilies/icon_e_wink.gif)
Thanks so much![Very Happy :D](https://www.ibmmainframeforum.com/images/smilies/icon_e_biggrin.gif)
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 ?
![Wink ;)](https://www.ibmmainframeforum.com/images/smilies/icon_e_wink.gif)
Thanks so much
![Very Happy :D](https://www.ibmmainframeforum.com/images/smilies/icon_e_biggrin.gif)