Quantcast
Channel: Visual COBOL
Browsing all 5819 articles
Browse latest View live

Forum Post: decimal to Cobol Numeric

Strange results occurring with the attached piece of code.  The CalcPerecntDotNet method is returning mixed results when you divide 100 by the following numbers 13 thru 15, 17 thru 19, 21 thru 24....

View Article


Forum Post: RE: decimal to Cobol Numeric

Please create a support incident for this problem and reference my name in the description so that it is assigned to me. I will create an rpi for this behavior so that we can get it fixed. I can...

View Article


Forum Post: RE: 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 Article

Forum Post: RE: 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 Article

Forum Post: RE: 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 Article


Forum Post: RE: Guide for Visual COBOL starter

This is your holly grail! www.youtube.com/playlist Best Regards

View Article

Forum Post: RE: 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 Article

Forum Post: RE: 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 Article


Forum Post: RE: 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 Article


Forum Post: How to compare to values range

Hi, Is it possible to compare to a range of values in COBOL? I'm thinking of something like this: if account-id between 1 and 7 then perform debit-internal-account else debit-customer-account end-if...

View Article

Forum Post: RE: How to compare to values range

I figured it out, I used the following syntax evaluate account-id when 1 thru 7 perform debit-internal-account when other perform debit-customer-account end-evaluate   ME ANSWERING MY SELF So Crazy of...

View Article

Wiki Page: Visual COBOL Checker: error COBCH1504 : I-O error : 9/181

Problem: A Visual COBOL solution can be built without issues on a Windows 7 64-bit box, using Visual Studio 2010. After having moved the solution directory to a shared location on the local intranet,...

View Article

Wiki Page: 2738 Error during installation of Visual COBOL for Eclipse

Problem: During the installation of Visual COBOL for Eclipse, the error code 2738 is reported. Resolution: The installer is giving this error code because the VBscript component is not installed...

View Article


Forum Post: RE: 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

Wiki Page: How to redirect Controls common client (MFCC) tracing to an output...

Problem: What is required to redirect Controls common client (MFCC) tracing to an output file? Resolution: To redirect Controls common client (MFCC) tracing to an output file, use the option:...

View Article


Forum Post: setting default parm - using MailPriority

Occasionally the compiler doesn't like this piece of code.  I then recompile it and the error goes away. method-id SetEmailPriority public procedure division using by value mailPriority as type...

View Article

Forum Post: RE: setting default parm - using MailPriority

Sorry here is the message. Error 48 COBCH0001 : Undefined error. Inform Technical Support

View Article


Forum Post: Comp-X behavior

We have a variable defined as Pic X(5) Comp-X. This is able to handle 13 digits, which it does. However, whenever we move this value to a alphanumeric field, which is defined as Pic X(13), the high...

View Article

Forum Post: RE: Comp-X behavior

This is not a bug.  PIC X(5) COMP-X only handles 12 digits fully; because it's binary, it partially handles the thirteenth digit, but cannot handle a number 9999999999999 (13 nines).  Its maximum...

View Article

Forum Post: RE: Comp-X behavior

The value 1099511627775 is 13 digits. There is no problem in moving the Pic X(05) Comp-X to a numeric 9(13) field. Also Acucobol has no problem with dealing with the field defined this way. Micro...

View Article
Browsing all 5819 articles
Browse latest View live


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