Solved

Cannot find entry point with NetCobol for .NET

Posted on 2004-10-14
5
455 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now