Vice Admiral
Vice Admiral
366 views

Upgrading Net Express program

Jump to solution

Several years ago I developed an application using a network database and which accessed a 3rd party library. At the time I was compiling and linking using batch files thus:

compile bat:  cobol bomp.cbl anim case litlink makesyn "comp-5"="comp" omf(obj)

link.bat:  cbllink bomp.obj image3kc.lib

I now want to update the application using Visual Cobol. How can I set up VC to replicate these various commands?

Thanks

Paul

0 Likes
1 Solution

Accepted Solutions
Micro Focus Expert
Micro Focus Expert

If you are still compiling to native code in Visual COBOL then the two .bat files could remain exactly as they are as the commands to compile and link have not changed. If you open up a Visual COBOL command prompt and run the .commands from there then your environment will be set up properly and the commands should just work.

To see a list of differences or problems you might encounter, please see the following:

Cumulative Changes from Net Express to Visual COBOL for Visual Studio
Upgrading to Visual COBOL for Visual Studio

Cumulative Changes from Net Express to Visual COBOL for Eclipse
Upgrading to Visual COBOL for Eclipse

View solution in original post

0 Likes
2 Replies
Micro Focus Expert
Micro Focus Expert

If you are still compiling to native code in Visual COBOL then the two .bat files could remain exactly as they are as the commands to compile and link have not changed. If you open up a Visual COBOL command prompt and run the .commands from there then your environment will be set up properly and the commands should just work.

To see a list of differences or problems you might encounter, please see the following:

Cumulative Changes from Net Express to Visual COBOL for Visual Studio
Upgrading to Visual COBOL for Visual Studio

Cumulative Changes from Net Express to Visual COBOL for Eclipse
Upgrading to Visual COBOL for Eclipse

View solution in original post

0 Likes
Vice Admiral
Vice Admiral

Thanks, Chris. I need to go through some preliminary steps setting up the database then I can recompile my programs as per the batch files shown.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.