Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can i run Microsoft Cobol optimizing compiler 5.0 on win7 ??! 2

Status
Not open for further replies.

dexy86

Programmer
Feb 10, 2011
9
How can i run Microsoft Cobol optimizing compiler 5.0 on win7 ??!
It compiles but the linker doesnt link files ?
Does anyone know how can that be done?
Thanks
 
- Use paths without spaces in them
- Use project files (if any) without spaces in their paths
- Start the IDE using the short pathname (C:\PROGRA~1\...)

A combination of these steps helped me to get MF NetExpress (and previously VisOC) working properly. The last one made the linker work again :)
 
Thanks but this is command line linker
i dont have IDE.
And all of my files are short and without spaces.
Thanks anyway any other ideas ?
 
Thanks but this is command line linker
i dont have IDE.
And all of my files are short and without spaces.
Thanks anyway any other ideas ?
 
Microsoft COBOL 5.0? As far as I know, there is no such thing. Are you sure of the vendor?
 
webrabbit said:
Microsoft COBOL 5.0? As far as I know, there is no such thing.
There is - I have it too. It's very old softvare. My COBOL.EXE is dated from 27.10.1992 and when I run it I get this prompt:
Code:
Microsoft (R) COBOL Optimizing Compiler Version 5.0
COBOL software by Micro Focus                     
Copyright (C) Microsoft Corporation 1984,1993.  All rights reserved.
Copyright (C) Micro Focus Ltd. 1984,1993.  All rights reserved.

Source file-name [.CBL]:
 
MS COBOL 5.0 comes with IDE called Programmer's Workbench
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\MSCOBOL\BIN>pwb -?
Microsoft (R) Programmer's WorkBench  Version 2.1.49
Copyright (c) Microsoft Corp 1992. All rights reserved.

Usage: PWB [<options>] [<files>]

       [<options>]

           [/D[S|T|A]...]      Disable CURRENT.STS, TOOLS.INI, Autoload
           [/P{P|F} <file>]    Set PWB or Foreign Program List
           [/PL]               Set Last Program List
           [/E <cmd-string>]   Execute commands
           [/M <mark>]         Start at mark
           [/R]                Read-only mode

       [<files>]

           [[/T] <file>]...    (Temporary) file to open
 
Wow. They were still repackaging MF COBOL that Late! I was using the original MS COBOL in 1982 (on an Apple IIe using a MS CPM-80 card), then switched to the repackaged MF version later on an IBM-PC clone. But now I am using MF 3.5 on Windows XP. I have had very few problems with that combinaion, one reason I have been reluctant to upgrade my O/S.
 
Mikrom, amazing effort on that previous post for which you never received an acknowledgement, let alone a star. Have a belated one now.
Marc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top