Wiki Page: Problem getting RTS 173 error "Program name not found" when...
Problem: Customer has a .NET managed code solution in which he has two projects. The first project is a main console application that generates an assembly called mainprog.exe. The second project is a...
View ArticleForum Post: RE: Regarding exposing webservice
Hi Michael, Thanks for your help. I have modified the web service. % Set oXmlHTTP = CreateObject("MSXML2.ServerXMLHTTP") oXmlHTTP.Open "POST", "http://localhost/test/service.wsdl", False...
View ArticleForum Post: Error 163 - how to set F switch
I am getting "error 163 illegal character in numeric field" messages. How do I set the F switch to suppress these messages in Visual COBOL? Thanks.
View ArticleForum Post: RE: Error 163 - how to set F switch
You can either set the COBSW environment variable to COBSW=-F prior to the execution of your program or you can start the program passing (-F) on the command line: myprog (-F) Thanks.
View ArticleForum Post: How wide in bytes is PIC S9(12) -- 12 or 13 bytes ?
My confusion over this could be causing my bug. I'll be grately deepful for the correct answer.
View ArticleForum Post: RE: How wide in bytes is PIC S9(12) -- 12 or 13 bytes ?
It would be 12 as S takes up no data. Although when displayed, the + or - will be trailing. For example S9(3) would display 123- given that the value you declare is negative. Hope this helps. I myself...
View ArticleForum Post: RE: Error 163 - how to set F switch
Thank you Chris. I've opened my .CONFIG file, to see an "Application Settings" window with 2 tabs "Environment" and "COBOL switches" and added an environment variable with name COBSW and value -F but...
View ArticleForum Post: RE: How wide in bytes is PIC S9(12) -- 12 or 13 bytes ?
Yes, Moto - it's 12. Cobol has a "length of" operator you can use to find the length of any field - see below. For group items, the Editor tooltips also include the length of the item - though...
View ArticleForum Post: Winforms: calling 2nd form
I am working through "Tutorial: Developing .NET Managed COBOL", trying to learn Visual COBOL. I developed Form1, then Menu1 and made it my startup program - all fine and working. Then to extend the...
View ArticleForum Post: RE: Winforms: calling 2nd form
The call statement is used to execute COBOL procedural programs as subprograms. When you want to call a method in a COBOL class such as a Windows Forms class you need to instantiate the class as an...
View ArticleForum Post: RE: Winforms: calling 2nd form
Thank you - that works, and I understand more, so a double win!
View ArticleForum Post: RE: Error 163 - how to set F switch
You cannot place the COBSW environment variable in the app.config file because the app.config file is processed after the run-time is initialized and COBSW needs to be processed during the run-time...
View ArticleForum Post: RE: Regarding exposing webservice
The value of the Content-length header has to be the length of the message-body, not the string "length", which doesn't mean anything. Look, I'll say this once more: Trying to create a SOAP request by...
View ArticleForum Post: RE: Regarding exposing webservice
Senthil, please take another look at my original response to this question. You can use the WSDL file generated by Net Express during deployment as input to create a .NET client automatically, which...
View ArticleForum Post: RE: How wide in bytes is PIC S9(12) -- 12 or 13 bytes ?
For more information as to how the sign character is actually stoired in numeric display type fields, please see the documentation in the COBOL Language Reference guide here:
View ArticleForum Post: RE: How wide in bytes is PIC S9(12) -- 12 or 13 bytes ?
Yes, as previously posted, the size is 12. Another way to confirm this is with a datamap in the listing, that is, when the LIST() and DATAMAP directives are specified for the compilation. Here's the...
View ArticleForum Post: Licensing Visual Cobol Personal Edition under Linux?
Trying out the Personal Edition looking to find the right COBOL to do a project with, but for the life of me, I cannot get the Linux version with eclipse to license. Anyone else succeeded with this...
View ArticleForum Post: RE: Licensing Visual Cobol Personal Edition under Linux?
You do not use an autthorization code with the Personal Edition product anymore. When you start Eclipse it should present you with a Licensing dialog screen on which there should be an option to...
View ArticleForum Post: RE: Licensing Visual Cobol Personal Edition under Linux?
Hi Chris- thanks for such a great answer, that is very appreciated. Unfortunately, when I start Eclipse, it comes straight up without asking for license information. It does not present or see a Cobol...
View ArticleForum Post: RE: Licensing Visual Cobol Personal Edition under Linux?
Are you starting Eclipse thruogh the Visual COBOL icon installed on your desktop or are you starting a different version of Eclipse that may have already been installed on your computer? Visual COBOL...
View Article