Solved

Cannot find entry point with NetCobol for .NET

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
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.
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…

823 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