Hello,
There is an incredible amount of mis-communication from Dashimir. Almost everything posted is inconsistent.
I want to edit or resent the file with the format fb and lenght 150 but i dont know how
Only if the data matches these attributes.
How did you get the data into a file on the maniframe? What created the data on the remote system to be uploaded to the mainframe? Why do you believe deleting the file and resending it would help? You need to determine exactly what is in the input file and define the file accordingly in your code.
If you are sending the file via FTP, one thing that often helps is to pre-allocate the target file with the needed attributes on the mainframe and then upload knto this pre-allocated file.