Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Browsing all 4356 articles
Browse latest View live

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 thenperform debit-internal-accountelsedebit-customer-accountend-ifRegards

View Article


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-idSetEmailPrioritypublicproceduredivisionusingbyvaluemailPriorityastypeMailPriority =...

View Article


RE: setting default parm - using MailPriority

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

View Article

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 value...

View Article

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 Focus...

View Article


RE: Comp-X behavior

Yes, the value 1099511627775 is 13 digits, but the type of the data item described by Pic X(05) Comp-X is 12 digits, and that is what is relevant in a move from numeric to alphanumeric.  Micro Focus is...

View Article

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

RE: Comp-X behavior

Sorry I meant off by 1 digit. Acucobol is relevant since that is what we are trying to convert from. Another reason not to convert.

View Article


RE: setting default parm - using MailPriority

There does seem to be a bug here, though so far I have not been able to reproduce the error as you describe.  I extended the example to this:class-id a.01 EmailPriority type MailPriority...

View Article


RE: activating personal edition

I just tested the download of Visual COBOL PE from the Micro Focus site and I did not have a problem.I used the following linkwww.microfocus.com/.../index.aspxWhat was the problem that you had in...

View Article

RE: activating personal edition

Chris, I am running under  VMware from my mac does this make a difference? John

View Article

RE: Setting directory path in Visual Cobol for .NET

Hi Chris,You should be able to add the folder in which the copybook is actually located to the Dependency Path tab of the project properties and it should find the copybook even if it is referenced in...

View Article

activating personal edition

I could not download vs cobol pe from mf site went to cnet I did register, however, trying to down load from mf site.In the email I got there was no activation code. How can I activate. Also,  Visual...

View Article


RE: activating personal edition

It shouldn't make a difference as long as you have an internet connection available from the vmware machine.What version of Windows is running on the VM?The file that you should be downloading and...

View Article

RE: Setting directory path in Visual Cobol for .NET

Hey Chris,You are the man!  That worked like a charm.  Now, can something similar be done if we have data files in different directories for the same...

View Article


Setting directory path in Visual Cobol for .NET

Is there a way in Visual Cobol for .NET to specify a directory path somewhere in the project properties?As an example, we have a copybook in a program as follows:K:EMPESLCT.WSThe K: drive on our server...

View Article

OpenESQL Assistant with ADO.NET

Hi,Could anybody please help me in automating this task using the OpenESQL Assistant for ADO.NET mode, since I have to rewrite the same code every time with slight changes such a cursor name and the...

View Article


Procedural Multi-Output Project

Hi, What is this type of project "Procedural Multi-Output Project" is all about? When should I use it and how to? Regards

View Article

RE: Mapping COBOL Records in C#

In the runtime services they is a type called MarshallUtils that allows you to marshall a struct to a byte[] and back, alternatively use the ILSMARTLINKAGE directive and this will generate extra types...

View Article

RE: Mapping COBOL Records in C#

Thank you very much spgennard. I am gandalfing through the docs and it's amazing especially this part"Compiling with ILSMARTLINKAGE exposes the group item in the program as a new class, and the group...

View Article
Browsing all 4356 articles
Browse latest View live


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