General discussion

Locked

Win2000 and DOS

By jdwilson ·
I am running Win2000 connecting to a Netware 3.21 server running DOS 3.2 applications. All files are on the server.
The program ran fine till we installed service pack 4 for Windows 2000.

My problem is the application
opens file 1 output,
reads file 2,
writes records fron file 2
to file 1
then closes both files.

Then application calls a DOS command which copies file 1 over top of file 2.

MOVE "COPY HOLDCOPY.ISM HOLDPICK.ISM>NUL" TO FILENAME.
DISPLAY FILENAME UPON COMMAND-LINE.
CALL X"91" USING RESULT,FUNKTION,PARAMETER.
IF RESULT NOT = 0
PERFORM ERR-RTN.

It appears that the application failes during the copy and falls out of the program.
The file is 6 mb. Could this be a buffer or files issue.
I am using the default config.nt file which only has files=40. I am not using any custom PIF file.

dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=40

This started happening after we installed the windows update 'Service pack 4'. The application runs fine on a pc that has not been updated.

Can anyone please share any information on WIN2000 and DOS, why this might be happening.

Thanks,
Jim

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by rspohlmann In reply to Win2000 and DOS

Why do you need SP4? We only use SP1 on our Win2K machines at my shop. I'll pass this on to our NT guru tomorrow and see what he thinks.
Also, see my question "TCP/IP Stack Function Calls" on this Q&A main page (a couple dozen below yours). Any ideas???

Collapse -

by jdwilson In reply to

Poster rated this answer.

Collapse -

by theohkm In reply to Win2000 and DOS

What are these codes ???

MOVE "COPY HOLDCOPY.ISM HOLDPICK.ISM>NUL" TO FILENAME.
DISPLAY FILENAME UPON COMMAND-LINE.
CALL X"91" USING RESULT,FUNKTION,PARAMETER.
IF RESULT NOT = 0
PERFORM ERR-RTN.

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums