Hello,
I have a file with lrecl = 952. I need replace the character X'25' by X'40' (value hexadecimal is 25 and i want replace with space)... I don't know which position is the character. Only know that the character must be between 13 and 925 position ( although I cant examine all position of record).
If it will help the key of file is at the first 1-12 position and It's not duplicate records
My output file must be LRECL = 952 position too. I only want replace a character by another
INPUT FILE (lrecl = 952)
0000000000001aaaaa.aaaaaaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
0000000000002aaaaaaaaaa.axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
0000000000025aaa.aaaaaaaaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OUTPUT FILE (lrecl = 952)
0000000000001aaaaa aaaaaaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
0000000000002aaaaaaaaaa axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
0000000000025aaa aaaaaaaaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
(in my example, the character X'25' is '.' I want replace this character by space
Thank you very much