Menu

vDOS freezing

General
Anonymous
2014-08-25
2014-08-25
  • Anonymous

    Anonymous - 2014-08-25

    I've just discovered vDOS and am very impressed with it. Sorry the title of this thread is misleading. However I can't get my old Microsoft COBOL working. Here are the contents of my autoexec.txt:

    @ECHO OFF

    USE C: ..

    rem Switch from Z: to C:
    C:

    rem Select the COBOL folder
    CD MSCOBOL5

    IDE

    rem Close the vDos window as program is ended
    rem EXIT

    IDE is a batch file (IDE.BAT) which contains the following:

    PATH=C:\MSCOBOL5\BIN;C:\MSCOBOL5\LIB;C:\MSCOBOL5\SOURCE;C:\MSCOBOL5
    \HELP;C:\MSCOBOL5\INIT;
    SET COBDIR=C:\MSCOBOL5\BIN;C:\MSCOBOL5\LIB;C:\MSCOBOL5\SOURCE;C:\MSCOBOL5
    \HELP;C:\MSCOBOL5\INIT;
    SET LIB=C:\MSCOBOL5\LIB;
    SET INCLUDE=C:\MSCOBOL5\SOURCE;
    SET HELPFILES=C:\MSCOBOL5\HELP;
    SET INIT=C:\MSCOBOL5\INIT;
    CD c:\mscobol5\BIN
    PWB.EXE

    PWB.EXE is the main user interface. The interface does not load from the batch file. I'm left in C:\MSCOBOL5\BIN and I need to manually type in PWB to load the interface. It's not a mojor problem but I thought PWB.EXE would run automatically.

    Probably a simple solution?

     

    Last edit: Anonymous 2014-08-25
    • Anonymous

      Anonymous - 2014-08-25

      No obvious reason why PWB wouldn’t start from the batch file.
      You type in PWB and it works, can it be that you have a PWB.COM and a PWB.EXE and the first is to start PWB?

      If PWB doesn’t need any files outside the C:\MSCOBOL5 folder, your could consider USE C: C:\MSCOBOL5 and drop all those \MSCOBOL5 references.
      But that’s just to clean up the batch file.

      Jos

       
  • Gnips

    Gnips - 2014-08-25

    Do you have a line feed on last (PWB.EXE) line? Just a thought.

     
    • Anonymous

      Anonymous - 2014-08-25

      Gnips: well, I went back into IDE.BAT and specifically inserted a line-feed and ran vDOS again - this time the user interface was loaded. So thanks for the suggestion.

       
MongoDB Logo MongoDB