Subject: | |
From: | |
Reply To: | |
Date: | Fri, 26 Apr 1996 12:17:12 PST |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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]
|
|
|