Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: Customer is developing a Windows Forms application in Visual COBOL for Visual Studio and they are looking for a way to start a non-COBOL executable like a text editor directly from within their application. How can this be done? Resolution You can use the .NET framework Process class to execute all types of programs including .EXEs or to launch an application such as an editor by specifying just a filename to associate with it. Look at the following link which provides some good examples: http://www.dotnetperls.com/process-start The following example will execute the text editor such as notepad that is associated with the .txt extension on your system and open up the file example.txt. $set ilusing"System.Diagnostics" class-id execprogram.Form1 is partial inherits type System.Windows.Forms.Form.  
I am having trouble installing Visual COBOL Personal Edition (Serial #: 600000515418) on a PC running Vista. I used the automated web install for Visual Studio 2010, and it says it installs correctly. When I try to create a new project I get the screen which asks if I have the full version or the trial version, when I say I want to activate the trial version and enter the email address and close the dialog window, the I get an error. Error 18 says it can't find a license at an IP address 127. something. Any assistance would be greatly appreciated, thank you.
I thought HttpPost is supposed to be a part of 9.2 but I was experimenting with it and get "HttpPost: Program missing or inaccessible". What am I missing?
Here's the scenario: Using NetExpress 5.0, I have a program that I'll call A. It is compiled as a .DLL. It is basically a driver program that runs a number of other COBOL programs that have been compiled as GNTs. We want to kick off this process from a .Net service. This all works fine until one of the GNTs runs the function X"AF". (For those of you living in the present, X"AF" enables enhanced Accept and Display, which is fine if you are using a native COBOL user interface.) Then the whole process crashes. Now, the obvious solution is to get rid of the X"AF" calls because the program isn't really using the user interface, they're just "batch" processing programs. However, the process that program A runs could potentially call any of over 1000 different programs and we'd like to implement this process next week. Also, my service shares these GNTs with a process that does run with the Native COBOL interface. Is there a way to tell CO
Hello friends, I would like to know what would be the procedures to install Net Express on another machine, when one possesses a single license? Do i need to revoke the license key on the currently installed machine? Or do i need to email the request key generated by the installation on the new machine? #install#windows7#netexpress
Hi, Can you please tell me if it is possible to create my own database using SQL Server Express database. I use the free version of visual cobol personal edition. If its possible please tell me step for step how to do this. Thanks / Hans
When debugging a program, how can I look at the value in a data item that is in a copybook. If you go to the definition in debug mode, it opens the copybook and if you try to do a quick watch it says unable to evaluate the express. The item is an record layout for a file I just read. Thanks
Or would I have to export data from Excel as ascii? Please advise.
I need some help in figuring out why the use of “Before Advancing” is working differently in Visual Cobol vs Net Express 3.1. I looked in the documentation and the online community, but did not find anything. I found the project “BeforePositioning” under Net Express 3.1 and used that to test under Visual Cobol 2.1. I got the same results with the sample program OSVSBA.CBL program that I was having with our programs. Starting with Page 2 the before advancing stays on the same line instead of being on the next line. I have attached the code and sample report. Is there something I need to add for VC? If you view the .dat files with Notepad you can get a better picture of what is happening. If you use Word then you get the actual Page Breaks.
Hello All I have SP 10.5 Version Am to simulate the traffic of a WCF based web service.Do any one can provide an insight or sample script Thank You Jyothis jyothismj@gmail.com
I was wondering if anyone could help. I am trying to add a Global.asax file to a visual cobol web application but I'm not seeing an option to Add Global classes. Has anyone managed to do this? If I create a Web Application, the global file is present but I can't see a way of adding one to an empty web application? (Visual Studio 2010) Thanks Paul.#VisualStudio#VisualCOBOL
Hi, Is there a database packaged in the free version of visual cobol personal edition or must I buy db2, oracle or something else. /Hans
I develop a program with VC 2.1 and have an unsolvable problem: everytime I come to a build/rebuild, I get this error message: ' COBCH0912: internal error - dictionary invalid r/w'. - Can anyone tell me how I get rid of this error? Stefan from Germany
Dear Sirs, Do you have a simples example of a Cobol Program using a Web Interfase in Visual Cobol with Eclipse...??? Regards,
I have trouble configuring XODBC to view vision files via-AcuServer, Someone can tell me how to configure FILE-PREFIX variabile in AcuXdbc.cfg correctly? Thanks in advance...
Hi, I am working on PeopleSoft upgrade and need to install MF Cobol SE 5.1 WP6 on HP UX Itenium 11.31 64 bit. Is there any steps guide on this site. Also need link to check compatibility too. Appreciate your help . #HPUXItenium11.3164bit#installMFCobolSE5.1WP6
Hi guys, i'm trying to call a cobol program from java using the mfcobol.jar, but i'm geting this error below. Let me explain my situation, my cobol is under Linux server, my Eclipse is on Windows, so I copy the mfcobol.jar from my Linux and i'm trying to execute jsp project. My setup: Windows XP, Eclipe Kepler, JDK 1.6 Linux Red hat, Server for Cobol 5.1 I linked my project updating the buidpath like Microfocus's documment, but does not help. My code, error on RuntimeSystem.cobload import com.microfocus.cobol.RuntimeSystem;import com.microfocus.cobol.lang.ParameterList;import com.microfocus.cobol.lang.Pointer;public class showbytes{ public void inicializa() throws Exception { String myString = new String("Hello to COBOL"); RuntimeSystem.cobload("C:/temp/passarray.dll"); System.out.println("myString=" myString); }
Need help with a link to the correct version of JAVA. I ran visual cobol from icon on Linux server desktop and got the message "visual cobol for eclipse - java is the wrong version. A 32 bit Java 1.6 or above runtime is required to run eclipse. Update the java on your PATH and retry." How do I find the correct PATH?. Also I have no mention of environment variables that are required. I intend to evaluate (compile ) programs currently running server express with character mode dialog. My server is a HP prolient ML150 (64 bit) Thanks Bob
The source code for the BookJSP tutorial application for Visual COBOL 2.2 and later.COBOL_JSP_DEMO_2_2_SRC.zip
We are attempting to use at "hot-key" statement in the cobol config file to allow a user to press a specific key (ctrl-q) from any where in the application to start a help screen. The use of the 'hot-key' to start the program is working perfectly except for one thing....we would like this program to be independent of the current application running. We would like the user to be able to have both screens up and be able to work in either, then be able to close the help screen when done. The 'hot-key' statement we use to kick off the help screen is "KEYSTROKE HOT-KEY=[program name] ^Q". Does anyone have advice on how this can be accomplished?
Hi, I have just installed Cobol VS 2012 on W7. Debugging and compilation process of an Cobol program was error free and the .exe file has been generated correctly (run time model is also dynamically linked). I know that the cobol source code is working correctly on other systems but when I started the program within VS2012 nothing happened. Also when I started the .exe file directly nothing happened. As I mentioned the run time modules are dynamically linked and I do not get any error messages. Absolutely nothing happens. Any idea what I can do to get my programs running on my system? Thx Richard
We have a web service written using Extend 9.1.1,running on a local server, with several methods. We can access the methods locally using SoapUI with no problem, using the convention: servername/.../method.srf We have forwarded port 80 on our router to the server inside the network,and we can access a web page resident on that server, from outside the network through the internet. However, we are unable to access any methods of the web service, using either: publicurl/.../method.srf or publicurl/.../method.srf The latter seems the one we should use; and SoapUI does take longer to return an error. Is there another port we need forwarded through the router, or is there a different naming convention we need to use? Or might this be related to the security? the BIS server is set up as "Run as the interactive user"; I was not able to get BIS working using the "Run using this account" option. Thanks Tony
How do I deal with dynamic filenames in Net Express running on Windows? I have a MFEXTMAP.DAT that works fine for the static filenames, but ran into a program that I need to debug and it has some dynamic filenaming going on. When it builds the filename it has a Unix path hardcoded into the name building logic. For example it would create a name like: /usr2/spool/somefile.index#.job#.customer_id.dat I'm getting an error saying directory not found (and it shows the dynamic filename), and I can't debug any further. I tried putting the directories in my project directory hoping that would work, but no luck. I also tried putting the directories in the same place the MFEXTMAP.DAT pointed the other files to, and again no luck. I tried this in my root directory too, no luck. My goal is to not mess up the filenaming in the COBOL program as it works properly in the Unix environment. Surely there is a way to deal with this--at least I hope. Thanks,
What will, or is likely to cause the following error condition: "AcuCOBOL-GT 32 bit Runtime has stopped working"? A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. I am running AcuCOBOL version 5.2 and am in the process of converting to version 9. This problem has cropped up within the last four weeks. At present, all other users appear to be using the programs without any problems. My fellow programmers also appear to be OK. If I use my laptop accessing the network and using my work logon, my programs are failing with this message. When I use my laptop using the programs independent of the network, programs appear to work successfully. The program I am running crashes on a statement: CALL "WIN$PRINTER" USING WINPRINT-GET-PRINTER-INFO-EX, &n
I have added code to trap Runtime Errors like RC=32 but not sure how i can trap this during a test. I have an IDX file that is being read but once the program starts it locks the file so I cannot move it during execution as a test. (NX 5.1 WP6)
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.