File handling in managed Cobol
I have made 2 console projects in Visual Studio 2012. One project is unmanaged, the other one is managed. In both projects I have basically the same program that writes a lot of lines to a line...
View ArticleCOBOL Source Format of invoked program when in Debug
In Visual Studio 2013, Visual COBOL 2.2. ...When you have Managed WinForms Program A invoking Managed WinForms Program B, and both are in variable source format as shown by the VS editor when editing...
View ArticleString handling; carriage return line feed (new line); 0d0a
Hello, I have a managed WinForms app (Visual Studio 2013, Visual COBOL 2.2) with a TextBox (Multline = True and AcceptsReturn = True) and it is sized to allow entry of multiple lines of text, which may...
View ArticleUndefined ECM error
I copied a solution with a .Net WPF project from one system to another. Now I get the following errors on the receiving system: COBCH0002 : Undefined ECM error. Inform Technical Support. Error code 12....
View ArticleErrors migrating from Netexpress 5.1 to Visual Cobol 2.3
Hi,Getting errors during compile time. The same code worked in Net Express 5.1 but having issues in Visual Cobol 2.3Error 6 COBCH0302 : IF....ELSE or scope-delimiter mismatchCOBES0112 :...
View ArticleError in a DataGrid
Hello:I have an event in datagrid (method-id dgridRubricas_MouseDoubleClick) that works perfectly when I click with the mouse in a cell.It turns out that when I click the mouse on the scroll bar to...
View ArticleError rewriting a datagrid
Hello,I have a datagrid with a sub-datagrid where the data of the sub-datagrid are displayed when I click on one of the main lines datagrid (Figure 1).When I change (for example) the type of document...
View ArticleC# to Visual Cobol Statement
Hi,i have this in c#: DataGrid grid = sender as DataGrid; DataGridRow selectedRow = grid.ItemContainerGenerator.ContainerFromItem(grid.SelectedItem) as DataGridRow;...
View ArticleSetting cobol tabs
Is there a way to set specific tabs is Visual Cobol? Such as at 7, 8, 12, and 72. Under Tools/Options/Text editor/Micro focus cobol, the tabs button does not seem to give choices like that.
View ArticleLevel 78 Hex Value Usage
The following code generated the CRLF and FFLF correctly as 2 bytes. However the TAB also generated 2 bytes with the first byte being set to <null>... Question is how do I generate a single byte...
View ArticleSingle File Compile
Hi , What are the compiler directives to create a .dll for the single program ? ( My code is a managed code , also unlike Native code we donot have option to create multiple executable in Managed code...
View ArticleVideos on Creating Web Services in Visual COBOL for Eclipse
There are 2 new Visual COBOL for Eclipse videos available on YouTube, related to creating Web Services from new or existing COBOL programs. The first demonstrates how to create a SOAP Web Service, and...
View Articlearithmetic statement and type decimal
Using an arithmetic statement with a variable of type decimal generates an error message ‘error COBCH0034 : Operand DECVALUE3 should be numeric’. Using the MOVE statement does not generate an error. I...
View ArticleVisual Studio Editor - Block Unindent
In Visual Studio 2013 (Version 12.0.40629.00 Update 5) editor, with [Micro Focus COBOL] Tabs set to 4 & 4 and Insert spaces on ....... you can highlight a block of code (that let's say starts in...
View ArticleLooking for a Micro Focus document/manual
I feel silly asking this but I think I remember seeing a current Micro focus document or manual (.pdf) referenced somewhere in Community or SupportLine via a link that described and gave examples of...
View ArticleVC for VS 2015
I have just recently downloaded visual studio 2015 and visual cobol. when I try to create a project it gives me the following error - the cobol checker currently installed does not match the cobol...
View ArticleCobol consuming webservice
Hello,I have seen documents on how to create a web service from a legacy cobol program in the MF docs.But is there a documentation on how to consume a webservice from a "standard" cobol application ?...
View ArticlePostgreSQL
Hello, We are in the context of Oracle to PostgreSQL migration testing, we are in the process to realise a POC with Cobol progs accessing PostgreSQL;We currently use Oracle's unix precompiler , does it...
View ArticleVisual COBOL not connecting to Sybase
We are migrating Workbench 4.3 COBOL to Visual COBOL 2.3 using Native Project. The programs have been in production since 2001. We are using the Sybase precompiler COBSQL/COBPRE and have the database...
View ArticleCompilation Error
Hello,I am trying to compile existing Server Express cobol code in Visual Cobol Development hub on Solaris platform. Having issues during compilation.1. Syntax error. GIVING not allowed.This is the...
View Article