[comp.sys.ibm.pc.programmer] SOLVED!!

ericd@ms.uky.edu (Eric B. Durbin) (05/30/90)

In article <15337@s.ms.uky.edu> I write:
>I've just encountered a very strange problem that I can't figure out.
>I've written a program in Turbo-C that runs on my PS/2 Model 55 SX
>under MS-DOS 4.0.  The pgm uses fopen("filename","w") to create a file,
>writes some stuff to it with fprintf(), and fclose()'s.
>
>It runs fine on my machine, runs fine on a clone under DOS 3.3 but
>when run on a PS/2 Model 30 under MS-DOS 3.30 the target file does not
>exist after the program executes.  It's an interactive program that
>reads other files, all of which is obviously working.
>...

Turns out there was no "FILES=" statement in the Model 30's CONFIG.SYS
and the program opens three files simultaneously.  After inserting
"FILES=30" the program runs fine.

Thanks to everyone who responded.  Special thanks to Frank Whaley,
John P. Nelson, and Duane M. Butler who each suggested checking "FILES="
in CONFIG.SYS.

Eric
-- 
[]  Eric B. Durbin  (606) 257-4581      []                 ericd@ms.uky.edu  []
[]  University of Kentucky              []                ericd@UKMA.BITNET  []
[]  165 Markey Cancer Center            []      {rutgers, uunet}!ukma!ericd  []
[]  Lexington, KY      40536-0093       []       eric.durbin@ukwang.uky.edu  []