I have an system written in Microfocus Cobol v 3.2.46. My second largest customer has pole displays attached to a serial port. I am writing the the displays using the following code:
SELECT POLE-DISPLAY ASSIGN TO "COM1:".
.
.
.
OPEN OUTPUT POLE-DISPLAY.
MOVE display-data TO POLE-RECORD.
WRITE POLE-RECORD.
CLOSE POLE-RECORD.
This originally worked fine. But now the customer has moved the system to a Windows 2000 system and it now gets the following error:
X#0C, SC=02EF IP=0000F7BB. THE NTVDM CPU HAS ENCOUNTERED AN UNHANDLED EXCEPTION
Does anyone have any idea what is happening or how I can get around it. Could I write a subroutine in QBASIC or some other language? If QBASIC, how do I pass parameters to it?
SELECT POLE-DISPLAY ASSIGN TO "COM1:".
.
.
.
OPEN OUTPUT POLE-DISPLAY.
MOVE display-data TO POLE-RECORD.
WRITE POLE-RECORD.
CLOSE POLE-RECORD.
This originally worked fine. But now the customer has moved the system to a Windows 2000 system and it now gets the following error:
X#0C, SC=02EF IP=0000F7BB. THE NTVDM CPU HAS ENCOUNTERED AN UNHANDLED EXCEPTION
Does anyone have any idea what is happening or how I can get around it. Could I write a subroutine in QBASIC or some other language? If QBASIC, how do I pass parameters to it?