Forum Post: RE: Consuming a WCF Service Created in .NET 4.5 in Visual COBOL.
Yes Chris, It seems there is some problem with the WSDL for TCP/IP Hosted WCF. I will see if that can be corrected. Apart from using Generate the Client using WSDL option, Is there any other way to...
View ArticleForum Post: Record Size Adjustment Question
I'm currently working in an RM Cobol environment, and working my way into Visual COBOL. I have a question concerning adjusting the file/record size of existing systems. For example if a record is 1024...
View ArticleForum Post: Consuming WCF in NAtive Code via Managed Code in Visual COBOL
Hi Chris, The objective is to Consume the WCF Created in .NET 4.5 in Visual COBOL.(In Native Code VIA Managed Code) To Do this I have followed following Steps: 1. Created an Managed Project in Visual...
View ArticleForum Post: RE: Record Size Adjustment Question
Hello Eric, A suggestion about locating the programs that reference a given file. In Visual COBOL for Eclipse, you can search for a string that appears in files in all open projects. This is done...
View ArticleForum Post: How to convert C# function to Visual Cobol for .NET
private void limparTextBoxes(Control.ControlCollection controles) { foreach (Control ctrl in controles) { if (ctrl is TextBox) { ((TextBox)(ctrl)).Text =...
View ArticleForum Post: RE: Record Size Adjustment Question
Cool thanks! That worked perfectly. Is a cobol file conversion program needed or is there a tool to increase the Record Size of an existing file?
View ArticleForum Post: RE: Record Size Adjustment Question
Hi Eric, There is a utility provided with Visual COBOL that includes the ability to expand a file. The utility is named "rebuild". The rebuild utility has many different capabilities, but one of...
View ArticleForum Post: RE: Record Size Adjustment Question
Wow, that is exactly what I was hoping for ... Its a shame we don't use copybooks, or it would be a simple 5 minute fix for all programs/systems that require a record size adjustment. Thanks for...
View ArticleForum Post: RE: How to convert C# function to Visual Cobol for .NET
You don't say what version of Visual COBOL for .NET you're using. With recent dialects, it would be something like the following: method-id. limparTextBoxes. procedure division using by value...
View ArticleForum Post: RE: Dialog System
I have a solution for converting the screens dialog system for VS2013, look at mmsis.com.br/converter.htm
View ArticleForum Post: Move part of textfield to itself
We are running Microfocus Cobol in a Linux Environment and recently upgraded to VisulCobol 2 2 1. We have discovered a couple of things where this version is acting in a different way compared to our...
View ArticleForum Post: RE: How to convert C# function to Visual Cobol for .NET
Thank you for your help. Your example works to forms without containers and in this post I forgot to specify this. I got as follows, do not know if it's the best way, but it works. method-id...
View ArticleForum Post: RE: Move part of textfield to itself
I think the result of the MOVE is correct. 40 years ago I used this with assembler programming. Effectively it is a loop of moving 1 character 10 times. Position 10 to 11, 11 to 12 etc. Freundliche...
View ArticleForum Post: RE: Move part of textfield to itself
The compiler directive BYTE-MODE-MOVE controls this behavior. You seem to be depending on NOBYTE-MODE-MOVE, which is documented as the default. The behavior you describe is BYTE-MODE-MOVE, as done...
View ArticleForum Post: RE: Move part of textfield to itself
Hi Guys Thanks for your incredibly fast answers. Bruce, I figured there could be some compilers declaratives issues so I was reading them through when your answer arrived. I tried to set the...
View ArticleForum Post: RE: Move part of textfield to itself
Hi Micro focus class overlapping moves as undefined....
View ArticleForum Post: Record Locking in Visual Cobol
We have just converted to Visual Cobol from RM. Since we've gone live about a week ago we have users calling to complain that they are locked up in programs. We're finding if one user is in a...
View ArticleForum Post: RE: Record Locking in Visual Cobol
You may need to specify NO LOCK in the READ statement. RM/COBOL doesn't try to lock a record when a file is only open INPUT, but Visual COBOL might. Several details are missing from your description...
View ArticleForum Post: RE: Move part of textfield to itself
Hi again, Thanks for your input. I have tested to compile with NOBYTEMODEMOVE och BYTEMODEMOVE but there is no difference. I get exactly the same result. I managed to finf our old environment and...
View ArticleForum Post: RE: Record Locking in Visual Cobol
In the Read statement on the maintenance program that is doing the I-O read? 1. With MF's help, our programs were converted using their modernization tool & then editing by our staff - we are NOT...
View Article