Highlighted
Absent Member.
Absent Member.
2004 views

Run Project or Program without Visual Cobol

Jump to solution

[Migrated content. Thread originally posted on 09 November 2011]

Hi,
i create a simples project with nativa Cobol caracters in Visual Cobol.
Can i run this project without Visual Cobol?

Thanks.

Cláudio Miguel Müller

claudiomiguelmuller@hotmail.com

www.meugibi.com

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Run Project or Program without Visual Cobol

Jump to solution
You can do one of two things:

1. In your Project open up the Properties and then the COBOL Link tab.
Under Runtime Model select Dynamic and rebuild.
When you run your application it will look in the registry in order to find the location of the runtime files.

2. You need to set your PATH environment variable to include the Visual COBOL or COBOL Runtime bin folder:

Example: PATH=C:\Program Files (x86)\Micro Focus\Visual COBOL 2010\bin;%PATH%

You can do this at the system level using Control Panel->System->Advanced->Environment Variables or in a .bat file that starts your application using the SET command.

View solution in original post

0 Likes
5 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Run Project or Program without Visual Cobol

Jump to solution
You can run the .EXE that is produced outside of the Visual Studio or Eclipse IDE by clickinmg on it or running it from a Visual COBOL command prompt if you are running on the same computer where Visual COBOL is installed.

If you wish to bring the .EXE that you developed to a computer which does not have Visual COBOL installed on it then you will need to install the COBOL Runtime product and install a valid license before you can run the application.

The developed applications will only run on a computer that either has Visual COBOL installed or that has the COBOL Runtime product installed with a valid user license.

Is this what you are asking?
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: Run Project or Program without Visual Cobol

Jump to solution
Yes, this is what i ask.
But when i run clicking in .exe display message: dont find cblrtsm.dll

If i copy cblrtsm.dll to directory in .exe, dont find cblviom.dll,

If i copy cblviom.dll to directory in .exe, and run: load error cblintm.dll...

Many errors,
what do i do to run without errors?

Thanks.

Cláudio Miguel Müller

claudiomiguelmuller@hotmail.com

www.meugibi.com

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Run Project or Program without Visual Cobol

Jump to solution
You can do one of two things:

1. In your Project open up the Properties and then the COBOL Link tab.
Under Runtime Model select Dynamic and rebuild.
When you run your application it will look in the registry in order to find the location of the runtime files.

2. You need to set your PATH environment variable to include the Visual COBOL or COBOL Runtime bin folder:

Example: PATH=C:\Program Files (x86)\Micro Focus\Visual COBOL 2010\bin;%PATH%

You can do this at the system level using Control Panel->System->Advanced->Environment Variables or in a .bat file that starts your application using the SET command.

View solution in original post

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: Run Project or Program without Visual Cobol

Jump to solution
Great, i will try this.

Thanks.

Cláudio Miguel Müller

claudiomiguelmuller@hotmail.com

www.meugibi.com

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Run Project or Program without Visual Cobol

Jump to solution
At the top level of your product install you should find a .bat file called CreateEnv.bat and a simular one exists in the runtime product too... this setups the environment space for you.
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.