[daip] Re: answers about TP pb on Alpha

Eric Greisen egreisen at nrao.edu
Thu Aug 17 16:22:59 EDT 2000


I am simply confused - everything looks okay but the code gets an
error return.  If I were in front of your machine I would rebuild a
local AIPS.EXE in debug and stop in zmoun2 (with  or without an
underscore _).  It is this code:

        if (ioctl(tfd,MTIOCGET,&stat) != 0) {
            *ierr = 3;
            sprintf(msg, "ZMOUN2: error getting drive status");
            goto cleanup;
            }

that is failing.  It would be very interesting to know what errno is
after the failed ioctl - there may be a permissions problem but the
success of the mt status command suggests not.  

cp $AIPPGM/AIPS.FOR .
cp $APLDEC/ZMOUN2.C .
LIBS $AIPPGM DEBUG > AIPS.OPT
COMRPL ZMOUN2 DEBUG NOOPT
COMLNK AIPS AIPS.OPT DEBUG NOOPT

aips local debug=dbx:aips (if 31DEC99) 

stop in zmoun2
run

etc

I am sorry that I can't be of more help, Eric



More information about the Daip mailing list