HP3000-L Archives

June 2008, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Keven Miller (rtt)" <[log in to unmask]>
Reply To:
Keven Miller (rtt)
Date:
Tue, 17 Jun 2008 09:32:59 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
Brian Donaldson wrote:
> Then the program FOPEN's the above file and the FOPEN fails --
> 
> FOPEN FAILED=>+0000> (file number = zeroes)
> 
> /SYS/PUB/SNTINL010042         
> 
> Error code returned by FCHECK = zeroes
> 
> Anyone know why the FOPEN is failing?

Not that this applies here. More of a heads up.
I'd also see what CCODE or C-C is after the FOPEN.

File number 0, is a valid file number, and is usually $STDIN
to all programs.

But you can close it:
    FCLOSE ( 0, 0, 0 )
and the next FOPEN will be assigned file number 0
(or the next socket number will be 0 -- for network programmers)

Keven

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2