HP3000-L Archives

April 1996, Week 4

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:
"Paul H. Christidis" <[log in to unmask]>
Reply To:
Date:
Fri, 26 Apr 1996 12:17:12 PST
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
To All,
 
The following code fragment produces a different result in batch vs.
on-line when executed on a 5.0 system. (The file name returned by FFILEINFO
is 'OUTPUT' for on-line execution and '$STDLIST' for batch.  In MPE/iX 4.0
it was 'OUTPUT' for both cases).
 
C
   20 CONTINUE
      FILENAME  = "OUTPUT; "
      FNUM  =  FOPEN(FILENAME,%15L,%10340L)
               IF (.CC.)130,30,130
C
   30 CALL FFILEINFO(FNUM,1,FILENAME)
           IF (.CC.)130,40,130
C
   40 CONTINUE
      DISPLAY "FULL NAME = ",FILENAME
      CALL FCLOSE(FNUM,0,0)
      GO TO 120
C
  130 CALL PRINTFILEINFO(FNUM)
C
  120 CONTINUE
      STOP
C
      END
 
We were using something similar to the above code (Using REX for the
HP3000) in order to determine the file number used by the REX report writer
and use it for some additional processing.  Needless to say our code failed
in our production job when the machine was upgraded to MPE/iX 5.0.
 
Can anyone shed some light on the above behavior?
 
Thanks
 
Paul H. Christidis
 
[log in to unmask]

ATOM RSS1 RSS2