Jon Davidson
asked on
embed carriage control objects in FORTAN output
I am porting a legacy f77 FORTRAN application from Tru64 UNIX to LINUX 64 bit OS and compiling with an f90 Intel compiler. When running the application on the Linux platform, there is no FORTRAN CARRIAGE CONTROL in the output files, so the files are not readable in notepad. We have a VB program that parses the plot data from the output and exports to excel for plotting. The VB also complains of "Input past end of file." So I believe the output is missing the EOF for the file as well as the CC objects.
Do I need to suck it up and recode the VB and start opening the file with notepad++ to view? Or is there a compiling option I can use to embed the CC into the output? Is there anything else I may have overlooked?
This worked before with the UNIX Tru64 DEC-Alpha platform.
Do I need to suck it up and recode the VB and start opening the file with notepad++ to view? Or is there a compiling option I can use to embed the CC into the output? Is there anything else I may have overlooked?
This worked before with the UNIX Tru64 DEC-Alpha platform.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The problem arose from using the wrong method to copy file from LINUX to Windows. I used binary instead of Text. This prevented a CR(OD) from being added to the LF(OA). I am no longer having problems importing the output to a spreadsheet. I apologize for not answering your response earlier. I did not see the response come through my email. Thanks for your time.