Computing.Net > Forums > OpenVMS > ASCII -1 character

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

ASCII -1 character

Reply to Message Icon

Name: R Wiley
Date: October 4, 2002 at 14:50:00 Pacific
OS: OpenVMS 7.2
CPU/Ram: Alpha
Comment:

Many of the files we have on our OpenVMS platform get terminated with series of non-printable ASCII "-1" characters with look like the letter y with a colon hovering above it on it's side. I'm not sure but it appears the OS automatically places that in the file. However, it could be some of the C programming we are using to open, write and close the file. It doesn't appear to be related to OpenVMS file attributes though. Is there any way to get rid of them using C source code?

Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: ME
Date: October 6, 2002 at 15:48:28 Pacific
Reply:

Maybe some program writes the EOF literal (defined as -1 in stdio.h) to the file ?

Or are you reading beyond EOF and the remaining part of the allocated blocks are filled with EOF's ?


0
Reply to Message Icon

Related Posts

See More


Node name decnet monitor modes/cpu



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to OpenVMS Forum Home


Sponsored links

Ads by Google


Results for: ASCII -1 character

sort/specification file problem www.computing.net/answers/openvms/sortspecification-file-problem/200.html

Non-Printable Characters www.computing.net/answers/openvms/nonprintable-characters/358.html

Automatically adding date to text f www.computing.net/answers/openvms/automatically-adding-date-to-text-f/204.html