Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Browsing all 4356 articles
Browse latest View live

RE: Thread

This was just a simple example of one way that you can use the .NET Threading syntax which happened to use a static method. If you need to use an instance method with threading you can do this as...

View Article


RE: Dialog error 18

That makes sense, Chris, but my output path for the  cobol projects is .\bin\x86\Debug\ - I haven't changed them, but for some reason, the always copy is not recognizing that.  Do the corressponding...

View Article


RE: Dialog error 18

Each project has its own build structure and Output Folder. You can set each project to point to the same Output Folder if you wanted all output to go to the same directory. If you are using a...

View Article

Dialog error 18

I have imported a Net Express project that uses Dialog System into Visual COBOL, and I changed all the screen properties to 'Always copy' so they would could to the debug dir.  However, instead of...

View Article

RE: Dialog error 18

Ok, will do that in am.  Thanks.

View Article


RE: COBCH0837S Procedural code not allowed here

Hi Warren, Can you please be more specific? What type of statements are you trying to put in working-storage? The only statements that should go into working-storage are data definition clauses.All...

View Article

RE: COBCH0837S Procedural code not allowed here

I meant to say Procedure Division  Later today I will sent you the code.Thanks,Warren Mundy

View Article

RE: Thread

Muito obrigado Chris, funcionou perfeitamente.

View Article


RE: COBCH0837S Procedural code not allowed here

Chris,Here is the little class in question.class-id consoleApplication24.Prog2b public.      working-storage section.      01  myobj1 type consoleApplication24.Prog2b                  value new type...

View Article


RE: Select the first line in a data grid

I did upload a simple solution with a datagrid. I can select the first line. Werner Lanter

View Article

RE: COBCH0837S Procedural code not allowed here

You need a method to contain procedural code in managed code.  Add a method-id/end method around the first procedure division, or include the working-storage if that isn't class working-storage.

View Article

RE: COBCH0837S Procedural code not allowed here

I thought that the class had it's own copy of working-storage section.  It is my intent that the first working-storage section and the procedure division be at class level and not a method level.  What...

View Article

RE: COBCH0837S Procedural code not allowed here

Yes, the class can have working-storage that is global to the class.  I wasn't sure if that's what you intended.  Procedural code (statements) must be in methods.  A class does not have its own...

View Article


RE: Cobol Copybook

Are the two 01 records the same length (in bytes)?  If so then putting the copybook in the FD for either the input or output files will cause no problem.  Separate 01 levels in an FD are treated as...

View Article

RE: COBCH0837S Procedural code not allowed here

This might help Here is a simple class below, VCList with main static method for testing, yes the 0d0a could be improved but this show a class with a main method for testing and constructors. This is...

View Article


RE: COBCH0837S Procedural code not allowed here

Thanks to all of you that answered my question and cleared up my misunderstanding of class vs method procedure divisions.Thanks again.Warren Mundy

View Article

COBCH0837S Procedural code not allowed here

I am writing an Eclipse  managed cobol program.Whenever I try to put statements in the Class Working-Storage Section, my first statement gives meerror COBCH0837S Procedural code not allowed here.Am...

View Article


Image may be NSFW.
Clik here to view.

#COBOLasks - Questions for the #COBOLrocks TechCasts

This thread is to support any Q&A coming from the upcoming #COBOLrocks TechCast. If you have any questions, please post them as a reply to this thread, or tweet them to @MicroFocus using the...

View Article

Courseware

Does anyone know how I can get the Visual Cobol Academic Courseware CobolClass.zip file?   I had it just recently and accidentally deleted the tutorial.  I have all of the files.  I just need the book...

View Article

RE: Courseware

I'll be waiting.Thanks,Warren Mundy

View Article
Browsing all 4356 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>