Quantcast
Channel: Visual COBOL Knowledge Base
Viewing all articles
Browse latest Browse all 214

How to set the first program to run or debug in a Visual COBOL project containing multiple source files that compile to single executable target

$
0
0
Current Revision posted to Visual COBOL Knowledge Base by Kim.Hoskin on 1/9/2015 9:24:17 AM

Problem

What needs to be done to set the first program to run or debug, in a Visual COBOL project containing multiple source files that compile to single executable target?

 
Resolution:

Open the Project Properties, and navigate to the Application Tab.

In the Entry point Textbox type in the new program name e.g. "Program2".

Save everything and rebuild the whole project.

Trying to run or debug will show that the program "Program2" is started first.

 

Setting this option tells the Micro Focus runtime which program should be the starting program.


Viewing all articles
Browse latest Browse all 214

Trending Articles