I am writing 1000 character records to an output file using a format statement which works perfectly in my mainframe version but my VF compiled version has a problem. There are a several T descriptors in the format statement. All records after the first record are written to the file perfectly. The first record ends up being split into many lines and each of these split lines begines with the same strange characters. If I use an X descriptor to replace the T descriptor at the position where the problem occurs, the line does not split there but still ends up getting split at some later point. I could replace all T descriptors with X descriptors but it would be nice to know why this problem occurs.
For more complete information about compiler optimizations, see our Optimization Notice.