Solved

Cannot find entry point with NetCobol for .NET

Posted on 2004-10-14
5
472 Views
Last Modified: 2008-01-09
I recently switched from using MicroFocus Personal Cobol to NetCobol for .NET. With .NET, I get an error code that states " JMN10026I-U  Cannot find entry point 'Lab2.2.Program1'. I am new to .NET, but this program compiles in Personal Cobol. Any ideas? I have my .cbl file and my resource file in the same folder, so I don't know why it can't find the entry point...

Thanks.
0
Comment
Question by:Pam_Baugh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 1

Expert Comment

by:jaguarul
ID: 12311973
I have no idea about COBOL, but how do you specify its entry point? its "main" function? it doesn't sound like a COBOL error, but rather an error of the .NET runtime which complains it cannot find your executable entry point.
0
 

Author Comment

by:Pam_Baugh
ID: 12312058
yes, exactly, but I don't know how .NET finds the entry point. The beginning of the program is in the Main function. Here's a little of the code. This is a classroom assignment....


       PROCEDURE DIVISION.
       Main.
           OPEN INPUT CookbookFile
           PERFORM PrintHeadings

           READ CookbookFile
               AT END move "Y" to EOFSwitch
               NOT AT END MOVE SPACES to CookbookDetailLine
                   MOVE CookbookGroupIn to CookbookGroupOut
                   MOVE CookbookGroupIn to DLCookbookGroup
           END-READ



         
0
 
LVL 1

Accepted Solution

by:
jaguarul earned 500 total points
ID: 12312386
I think you should try to find something like "Startup Object", somewhere in the Solution (Project) Properties. It should provide a list of possible entry points.
0
 

Author Comment

by:Pam_Baugh
ID: 12312426
BINGO! Thanks:-)
0
 
LVL 1

Expert Comment

by:jaguarul
ID: 12312564
thanks aswell. good luck ;)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
simplest php form 3 85
Beginner to Unreal Engine 4 5 107
Java pass by reference 3 25
Oracle programming for starter 14 37
This is an explanation of a simple data model to help parse a JSON feed
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question