Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

suppress carriage return

Igor Vish
Occasional Visitor

suppress carriage return

I am writing program in fortran 77 on OpenVMS that writes file. At the end of each record I have carriage return (by default). However, the last record (footer) should not have carriage return. How can I write last record without carriage return (from fortran)? Is there is way to "remove" carriage return?
2 REPLIES
Steven Schweda
Honored Contributor

Re: suppress carriage return

HELP FORTRAN Format_Specifiers Carriage_Control

It might help if you showed some of your
current code and an example of the output you
desire. It can be difficult to suggest
changes to an enigma.
Jim_McKinney
Honored Contributor

Re: suppress carriage return

If you are useing Fortran carriage control then the "$" character in the 1st position will likely do as you want.