Hi:
This is really the kind of question that is better answered by Tech Support -- it's not really an EG question. Since you are writing a DATA step program and have very specific data requirements, your best bet for a quick response is to try Tech Support, where they have access to a mainframe on which to test opening the created output file.
They can take a sample data set from you and test the program from creation to output file open on the other system, if they need to. If your output needs a CRLF character, they can help you find out which is the correct CRLF or End-of-Record marker or translation table to use. To find out how to contact Tech Support, refer to:
http://support.sas.com/techsup/contact/index.html
Good luck!
cynthia