RE: Example of Enumeration
For the parse, you will need something like: set domainExt to type Enum::Parse(type of DomainExtensions, domainString, true) as type DomainExtensionsNote that the first parameter is a Type...
View ArticleRE: Example of Enumeration
The following appears to work for the simple example where you want to validate if a string exists within a specified e-num and then to return true or false for this.The second parameter "true"...
View ArticleExample of Enumeration
Trying to figure out how to use enumerations. Can anybody help?I also noticed that visual Cobol doesn't support the Enumeration TryParse? The goal is to edit the domain extension and ignoring the...
View ArticleRE: COBOL Server
Micro Focus does provide another option for running native Visual COBOL programs on IIS and Apache: Xcentrisity Business Information Server. This web server was originally part of the Liant RM/COBOL...
View ArticleRE: OpenESQL and EXEC ADO
Hi Ahmet,I am assuming that the code posted here is the version that works correctly because the cursor names are different in each paragraph, is that correct?Cursor names must be unique within a...
View ArticleOpenESQL and EXEC ADO
Hi, I'm facing this thing I don't know what to call it -a bug or whatsoever- I have this code which is self explanatory! I am receiving rows form the database using the EXEC ADO statements in order to...
View ArticleOut Of Memory Issue
Hi,Ive got a project that uses the MDI feature a lot and Im having memory problems where it just goes up and up until the application runs out of memory. Then have to close app and restart it...
View ArticleRE: COBOL Server
My company's application has been using Xcentrisity BIS (the RM/COBOL variant) for over a decade with great success. Not only do we use it in a 'direct to browser' mode for the application's user...
View ArticleRE: Example of Enumeration
I wasn't able to get this piece of code to work. When I copied what you had I got the below error.Error 1 COBCH0829 : Could not find method 'TryParse' with this signature
View ArticleRE: Example of Enumeration
I wasn't able to get Chris Glazier's code to work, but I was able to get this to work. Thanks
View ArticleRE: Example of Enumeration
Are you using Visual COBOL 2.2 or an earlier release?The following full program compiles fine for me in Visual COBOL 2.2: program-id. Program1 as "testenum.Program1". data division. working-storage...
View ArticleRE: OpenESQL and EXEC ADO
Thank you very much this pretty much answers my question, nevertheless, would this code work as is on the same project properties? i.e. do I need any config changes?
View ArticleRE: Guide for Visual COBOL starter
This is your holly grail! www.youtube.com/playlistBest Regards
View ArticleGuide for Visual COBOL starter
Where can I find Guide for Visual COBOL starter for self study.Thanks
View ArticleRE: OpenESQL and EXEC ADO
Yes, you do not have to do anything special to support dynamic SQL.Please see the docs that cover this here:There is also a recording that covers using dynamic SQL with OpenESQL here:Thanks.
View ArticleRE: New to visual cobol
Hi Hugo,You state that you have Visual COBOL installed on your Linux server.I assume that you are referring to the Visual COBOL Development Hub product?If you have Visual COBOL Dev Hub installed on...
View ArticleNew to visual cobol
Hi,I'm new in the visual cobol story.Today we are working in Multi-edit to develop our cobol code server side. Compilations are directed from within Multi-edit also server side (Server Express).Now I'm...
View ArticleRE: Example of Enumeration
The framework was the issue. I was using 3.5 and this isn't available until 4.0+.Thanks for your help with this.
View ArticleRE: How to compare to values range
I figured it out, I used the following syntaxevaluate account-idwhen 1 thru 7perform debit-internal-accountwhen otherperform debit-customer-accountend-evaluate ME ANSWERING MY SELF So Crazy of Me!
View ArticleRE: How to compare to values range
Here's another technique, a little closer to your original request:01 account-id pic 9. 88 account-id-valid values are 1 through 7.if account-id-valid then perform...
View Article