Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

RECL difference between programs

rogerl
Beginner
341 Views
(Fortran 6.5) One program writes a direct access file. Another program (dll) reads the direct access file. Found I have to make RECL = 2802 in first program in order for it to be read properly in second program where RECL = 2800. The project settings apprear to be same.

Any idea as to what I'm missing??
0 Kudos
3 Replies
Steven_L_Intel1
Employee
341 Views
Look to see if the /fpscomp:general settings are the same. This can affect whether or not a CRLF is written to a direct-access record.

Steve
0 Kudos
rogerl
Beginner
341 Views
Yes!! Steve that was it. Thanks for your help.

The only way I could get at /fscomp:general was through the Power Station Compatibility Options. I assume there was no more direct way?
0 Kudos
Steven_L_Intel1
Employee
341 Views
That IS the direct way. /fpscomp is Fortran PowerStation Compatibility.

Steve
0 Kudos
Reply