From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,a1ece9ffdee9cde5,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,a1ece9ffdee9cde5,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1990-04-27 17:25:32 PST Path: gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ucsd!usc!apple!vsi1!teda!bob From: bob@teda.UUCP (Bob Armstrong) Newsgroups: comp.os.vms,comp.sys.dec Subject: Desperately seeking help with VAXCRTL fopen Keywords: VAXC fopen Message-ID: <2816@teda.UUCP> Date: 28 Apr 90 00:25:32 GMT Organization: Teradyne EDA Inc., Santa Clara, Calif. Xref: gmdzi comp.os.vms:23051 comp.sys.dec:2340 Posted: Sat Apr 28 01:25:32 1990 I have a C program in which calls to fopen are failing. The errno ends up set to EVMSERR, and the vaxc$errno is RMS$_CHN, which says that the $ASSIGN service failed. In a real (aka VMS) program, I would simply look at the STV field in the FAB to find out why the $OPEN failed, but of course this is a Un*x program. The question is, how do I find the FAB that fopen is using so that I can determine the cause of the error ? Is there another way to find the STV field from the last fopen ? Thanks much (they really want this program running) ---------------------------------------------------------------------------- | Bob Armstrong | I'm sitting here on the LCG SIG bench, 'cause | | Teradyne/EDA West | you want to know if I'm braindamaged enough to | | {decwrl,sun}!teda!bob | trade my PDP-10 for partial credit on a system | | Phone: (408) 980-5263 | that doesn't even handle filename completion ? | ----------------------------------------------------------------------------