Forum Post: default parameters
Is there a way to provide a default parameter in Visual Cobol like you can in C#? public void MyString( String passedString = " " )
View ArticleForum Post: RE: rm/cobol to visual cobol: application windows/dialogs using...
Hello Ali, can you contact me at scot.nielsen@microfocus.com to discuss this further. Thanks
View ArticleForum Post: Cancelling a thread
I want to send a message to a thread to close and am attempting to use the CBL_THREAD_IDDATA_ALLOC and CBL_THREAD_IDDATA_GET routines. I am am getting an exception error when calling...
View ArticleForum Post: RE: default parameters
Yes, this is possible using the 2.2 version of Visual COBOL, and the syntax is quite similar to the C# syntax. As an example: class-id a. method-id main static. invoke...
View ArticleForum Post: RE: default parameters
Thanks. I thought I tried that. I must have done something wrong.
View ArticleForum Post: VB to Cobol conversion
Hi, Can any one advise how to convert the following VB code to Cobol pls. Its for a fingerpint reader. Imports System.Threading Imports System.IO Imports DPUruNet Imports System.Drawing Imports...
View ArticleForum Post: RE: Cancelling a thread
This is the same bug that Robert pointed out on your previous post. It has to do with the usage thread-pointer not being mapped correctly to a .NET IntPtr data type which is required under the covers....
View ArticleForum Post: Visual COBOL on a TFS Build Controller
Hi, We are planning to use TFS to build & deploy our COBOL programs. As I understand it we need to install Visual COBOL on the TFS Build Controller (that will be a separate server) and have a...
View ArticleForum Post: RE: Visual COBOL on a TFS Build Controller
Visual Studio is a prerequisite for installing the Visual COBOL for Visual Studio product. If you have a full version of Visual Studio installed on your server then Visual COBOL will install into...
View ArticleForum Post: RE: VB to Cobol conversion
The following is about as close as I can come to a COBOL conversion without actually having the DPUruNet class available to me: I am sure there are some mistakes but it is a starting point for you...
View ArticleForum Post: RE: VB to Cobol conversion
Hi Chris, thanks and I can tell you were pretty dang close. Neil and I worked through this together and got this converted and running successfully - a COBOL application processing a fingerprint...
View ArticleForum Post: RE: Cancelling a thread
Thanks Chris I thought i had tried that in my program, but I guess I didn't. Thanks again fro your help. If you know of an easier way for two threads to communicate please let me know.
View ArticleForum Post: Would you like to learn OO COBOL?
Hello - we're considering a webinar series focusing on OO COBOL for use in .NET and JVM. We'd look to start from the ground up, covering basic concepts through to UI modernization. If you'd attend...
View ArticleForum Post: RE: Receiving Java custom record in procedural cobol
What version of Visual COBOL are you using? In the more recent versions of Visual COBOL it is not necessary to use the class repository. You could code as follows: 01 objLireTPrestInt type...
View ArticleForum Post: RE: rm/cobol to visual cobol: application windows/dialogs using...
RM/Panels is the main component required to get this application running under Visual COBOL. This is something we're considering adding into a subsequent release of Visual COBOL.
View ArticleForum Post: RE: Receiving Java custom record in procedural cobol
Mike, this looks like native OO COBOL rather than COBOL JVM. Guy, would compiling to COBOL JVM be an option for you? Integration between COBOL and Java is considerably easier if you can compile you...
View ArticleForum Post: Printer Redirection
I'm starting the progress of migrating RM Cobol (Linux) to RM Cobol/Visual Cobol(Linux) with Eclipse (Windows) The problem I've encountered is if the Cobol Code has the "ASSIGN TO PRINTER" clause the...
View ArticleForum Post: RE: Printer Redirection
There are several solutions: 1) The simple short term solution is to use a NET USE command to associate LPT1 with a network printer, such as: net use lpt1 \\usauv-print01\usaup-rndprinter The major...
View ArticleForum Post: RE: Printer Redirection
We are using a 3rd Party Spooler in Linux, and use ENV variables to allow our users to choose which of 64 printers they would like their reports on ... so most of your ideas really don't fit. I tried...
View ArticleForum Post: RE: Printer Redirection
Oh right. I read that you are using Linux but then forgot. The first thing that you should realize is that you can put the file name after the PRINTER in the SELECT: select filename-1 assign to...
View Article