I have tried to create a file where every record is 80 characters long. Every record should be filled with spaces if the record is shorter than 80 char. In my program I use cpytopcd and this command seems to cut every record if there aren't any more characters. If you look at it in hexadec there are no values. I then tride to write a space (by using hexadec 20) in position 80. If I do this and look at it in hexadec the file contains 20 for every space except for the last one. Positon 80 contains C4. Does anyone have a clue why? What can I do to solve this?