Both commands are capable of editing data in a file. Of course permissions to the file you intend to edit is required otherwise you would just be viewing the data.
Link to IBM manual for STRDFU – click here
Link to IBM manual for STRSQL – click here
I agree with the comments below that you’ll need to expand a bit more concerning your inquiry.