RE: Read file in COBOL
Oh, I did change the dialect to match that of the mainframe. That makes perfect sense then. Thanks!.. I'm a derp.Feature request: syntax validation, when describing an error, lets you know if...
View ArticleRE: Calling stored procedure
Hello,In Visual COBOL, you would invoke a Stored Procedure using a CALL statement in an EXEC SQL block. Please see this link for documentation of this statement, including examples of specifying which...
View ArticleCalling stored procedure
I have a SQL stored procedure that requires one input value and returns 2 output values. How do I code this in Visual Cobol?
View ArticleRE: How to Change Existing Program to Make it COM
Hi ChrisWe are trying to migrate the above 7 programs into Visual COBOL.5 Modules out of the 7 modules are Having Entry points defined and are called by .NET.Rest 2 are calling an Web service by...
View ArticleRE: How to Change Existing Program to Make it COM
You can take existing procedural COBOL programs and add them to a managed code Class Library project. When you build the project they will be compiled to .NET assemblies containing classes and methods...
View ArticleCOBOL.DIR Build error in Visual COBOL 2012
Hi When i try to build a solution in VC 2012. I am getting an error COBOL.DIR directive not found.Can any body help me to resolve that.
View ArticleRE: COBOL.DIR Build error in Visual COBOL 2012
I googled this:COBOL.DIR directive not found micro focus COBOLAnd got this link:documentation.microfocus.com/.../index.jspCOBOL.DIR is a System-wide Directives FileRead the info from the link above -...
View ArticleRE: How to Change Existing Program to Make it COM
Hi Chris,We have tried the methods mentioned by you. Following are some issues we are facing in doing so.1. Create the Managed Code Class Library project. - We have Added all the programs in an...
View ArticleRE: How to Change Existing Program to Make it COM
Hi Charan,Not all native COBOL programs can be moved to managed code as is. Most programs that use standard procedural COBOL language constructs can be moved without a problem.Programs that use...
View ArticleHow to Change Existing Program to Make it COM
HiIn our current project we are using 7 modules of Micro focus COBOL. There are 4 modules which are COM modules and having Compiler directive set as OOCTRL. Rest 3 modules are using Entry Points with...
View ArticleRE: Calling Managed OO COBOL from C#
Hi Chris,ILSMARTLINKAGE does remove hyphen from the Linkage variables. Also it creates the Class for the program (as Program Class), with all the methods/entry points as Methods of the class. It...
View ArticleRE: Calling Managed OO COBOL from C#
Try adding the directive NOILSMARTRESTRICT to the class. The default is set to ILSMARTRESTRICT which suppresses the generation of redefined elementary items.Thanks.
View ArticleCalling Managed OO COBOL from C#
Hi,In a nutshell, how can I call managed COBOL from C#. Is there any references I need to add or something ?? Best Regards
View ArticleRE: Calling Managed OO COBOL from C#
Actually, I just tested the NOILSMARTRESTRICT directive and it does not solve the problem as there appears to be a bug. I am creating an RPI for this and Development is currently researching the...
View ArticleRE: Migration Query from NET Express to Visual COBOL
The important information here would be the actual error messages that you are receiving and you left that part out.Can you please provide me with that information and show me the source line that...
View ArticleMigration Query from NET Express to Visual COBOL
Hi We have an ABC.EXE component build in Net Express 5.1.It contains 10 programs. Out of them 9 programs are Native Procedural program. They are reading files and updating the files.One...
View ArticleObject COBOL?
Hi,I have a need to use some object oriented facilities. For various reasons I cannot use .NET or JVM. I was looking into ISO2002 Object COBOL.First, is ISO2002 Object COBOL recommended? Is it...
View ArticleRE: Object COBOL?
Visual COBOL still contains support for the previous native OO syntax such as the Micro Focus syntax using the CLASS-CONTROL or the ISO2002 syntax but it has been deprecated and is included for...
View ArticleRE: Visual COBOL parameter mismatch
Can you please show us what the method signature looks like for the method that you are trying to invoke and also the actual invoke statement including the parameter definitions that you are using?Thanks.
View ArticleVisual COBOL parameter mismatch
Hi,I am working on visual cobol with below three components:1. cobol managed code.2. wrapper class program3. .net application.currently i am trying to invoke a method available in cobol from .NET with...
View Article