Question about auto clearing data in a variable
Basically the problem is this working-storage.01 data1 pic x(25).01 data2 pic x(25).procedure division.The current values of data1 and data2data1 = "A " data2 = "...
View Articlecobol server
I need the Cobol Server 2.3.2 (cs_232.exe) but when I sign in to support for the download, it is no where to be found. What am I missing?
View Article.Net Code
I was wondering if there is any advantage over one of these .net methods versus the other. In the second one, I modeled it after a C# method using .net Cobol syntax of course. They both function the...
View Articledivide with Remainder
1 ws-resto pic 9(5).1 ws-result pic 9(5).The sentence: divide 142 by 11 giving ws-result remainder ws-resto, Returns 10 in the ws-resto. The correct would not be 9? managed codeVisual cobol .net 2.3
View ArticleWpf Listview Sort Example
Reaching out and seeing if anybody has a simple Wpf Listview sort example that they could post.I have a Wpf app that contains a Listview, but would like to be able to click on the heading and sort the...
View ArticleNeed to convert mm/dd/yyyy or m/dd/yyyy or m/d/yyyy into YYYYMMDD
I'm reading a .csv file in COBOL and writing a fixed-length .txt file. I want all the dates in the .txt file to be YYYYMMDD format.The .csv has numerous dates, all formatted as month/day/year. I've...
View Article.net Cobol Property
What would the .net Cobol equivalent to this C# code be?public NewUser User { get; set; } = new NewUser();
View ArticleEXEC SQL error inserting extended ascii (£ etc)
Environment: VS2015, VC2.3, Win 10, MySQL 5.7, character set UTF8 (default)Hi,I'm getting an exec sql error inserting extended ascii into a mysql varchar field:"[MySQL][ODBC 5.3(w)...
View ArticleC# Conversion
Can someone convert this for me? When I convert this and try to use it, my var exception is always null and it shouldn't be as I am purposefully causing an exception to test this out. When it...
View Article.net Cobol String Interpolation
Is there an equivalent in .net Cobol to C#'s string interpolation? For example:int cats = 100; int dogs = 2;string animals = $"cats = {cats} and dogs = {dogs}";I know that I can use string::format but...
View ArticleSource Limit of 2200
I was very excited to learn .net Cobol using Visual Studio until I got the error message about the source limit. I am using the PE for learning purposes only. Is there a workaround or how much is it...
View ArticleVisual COBOL for Visual Studio 2017 - Developer Preview Now Available
Yesterday, Micro Focus announced the release of its developer preview for Visual COBOL for Visual Studio 2017. An except from our press release is provided below along with links to the product page...
View ArticleVisual COBOL for Visual Studio - WPF - DataGridView with Popup
Oi,Este é um exemplo de como você pode trabalhar com um DataGridView recebendo valores de um Popup em WPF.Abraços,CoralHiThis is a demo to show how you can work with DataGridView receiving parameters...
View ArticleGet HTTP header of SOAP Webservice
Hello. I have a question about how to get the HTTP header into a COBOL program (which is a Webservice). It is possible to do that? If yes, where can I found information about this? I have an example of...
View ArticleVisual COBOL for Visual Studio - WPF - How to Know Processes in Execution
Oi,Este é um exemplo de como você pode descobrir se um determinado processo está ou não em execução.Abraços,CoralHiThis is a demo to show how you can know if a specific process is being executed or...
View Articlecall PC_PRINTER_OPEN vs OPEN OUTPUT my-printer-FD?
Hi,Can I check something... is a call to mf routine 'PC_PRINTER_OPEN' equivalent to OPEN OUTPUT my-printer-FD where my-printer-fd is...SELECT my-printer-fd ASSIGN TO PRINTER organization is line...
View ArticleALTER DATABASE statement in ESQL gets "not allowed in multi-statement...
I am connecting to MSSQL 2012 from a managed console program using OpenESQL and ADO. I need to completely replace the data in several tables from some data files. I wrote a proof-of-concept that...
View ArticleVisual COBOL for MS Visual Studio 2017, what is step 3?
I am new to MS Visual Studio 2017 and to Micro Focus and its COBOL. I down loaded both but now what is step 3? I do see I can choose C# and Visual Basic. But COBOL does not come up as an...
View ArticlePersonal Edition Visual Cobol 2017
Is there a personal edition of Visual COBOL 2017 ???
View ArticleVisual Cobol for Visual Studio 2017 - Preview
When I create a new Cobol console Project I get a error message:Did anyone knows more?
View Article