NOTICE: Our Community is moving. Get more information.
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?
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.