Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
We have certain fields on forms designated with a 'Leave' event so that in once the user leaves the field the field is validated. In the event that the field is deemed to be in error focus is returned to the field and the user then re-enters the data. I have a problem in that the user wishes to leave the form by way of an Exit button. Clicking on the button when a field is in error though generates a 'leave' event for the incorrect field even though there is a 'Click' event attached to the Exit button which says 'Get Out of form' and we go round in a circle with the user continually being presented with the field in error in focus instead of the 'Exit button' event being done. How do I overide one event with another so that the Exit button 'Click' event supercedes the 'Leave' event of the data field on the form?
A jar file containing the run unit manager needed for the JSP Book demo.rununitmanager.zip
The source code for the BookJSP tutorial application.COBOL_JSP_DEMO_2_1_SRC.zip
This document describes the steps needed to configure Visual COBOL for Eclipse to work with the JVM servlet APIs and common Java Enterprise Edition (JEE) application servers. It will include the steps needed to configure both the IDE and the server. It will include the steps needed to make the Micro Focus JVM COBOL runtime environment available to deployed web applications. Finally it will include appropriate setup steps for various third party APIs and frameworks that can be used with JVM COBOL. Contents 1 Setting up the Servlet Container 1.1 Setting up Tomcat 2 Installing the Eclipse Web Tools Platform 3 Setup of the Server Runtime for Eclipse Web Projects 3.1 Setting up the Tomcat Runtime 4 Installing Eclipse Web Tools Platform Adapters 4.1 Installing the WASDev adapter for WebSphere 4.2 Installing the Oracle Enterprise Pack for Eclipse 5 Additional Configuration Details 5.1 Installing the Eclipse Marketplace Setting up the Servlet Container The servlet container ca
Does anyone know how can i embbed skype utility in an extend programm?
I'm modifying an old program that makes use of W$MESSAGEBOX, and I'm not able to find any documentation on it. I'd specifically like to know if the string containing the message to be shown needs to be terminated with low-values. The fact that it's not documented or included in a list of AcuCOBOL library routines makes me wonder if we should be using something else instead. Is anyone familiar with W$MESSAGEBOX and know why it can't be found in the documentation? Is it deprecated and there's something else we should use instead? Thanks.
I tried to install the trial versions (visual cobol eclipse and visual cobol visual studio) After installation (which seems to work properly) i will alwas be asked for a license key after programm startup. It is possible to cancel the license key window, but doing this both versions will not allow to open a cobol project (there are no cobol projects listed to choose from ). Same for both versions (eclipse and visual studio) same behaviour on Win7 (64) and Vista (x86) both versions are german Please help Thank you das
Hi, We are using Cobol v4.x programs compiled into GNT files running on various Microsoft Windows platforms. On a current project we are using Windows 2010 server R2 and Windows 7 as client with Pervasive v11 Database engine. Everything works fine on the clients; but when trying to run the application directly on the server or thru Terminal Server, then we get the message: Execution Error: file 'TRIGGER' error code: 114, pc=0, call=1, seg=0 (Signal 11) Anone knows what it could be? Why is it saying "file" TRIGGER - is the RTS unable to find a TRIGGER file? Maybe the problem is related to Pervasive and BTRV/RTS from Microfocus? Thanks a lot for any hints! Max#triggererrorcode114btrievepervasive2010
Anyone know if is it possible add Ctrl C & Ctrl V function to an acucobol project? In entry field if i press right mouse i can copy and paste but Ctrl C and Ctrl-V don't work? Some environment problem?
Does anyone now how i can embbed ms charts in my application? Although i search through the forum, all of the code examples didnt work, i get the error UNDEFINED DATA ITEMS.#MSCHART10
Because our print standards use HP PCL5 escape sequences to control the printers, we have been using the SPOOLER-DIRECT facility to print all of our reports without going through the windows drivers. That has worked really well for several years. Recently we have run into a Windows ASP provider who only uses EMF Printer Drivers, and SPOOLER-DIRECT (so far) does not work with EMF Printer Drivers. I.e. When our programs print to one of the EMF printer drivers nothing appears anywhere. (There is nothing in the Windows Printer queue.) If we change SPOOLER-DIRECT to SPOOLER in our program, the text of the report appears along with our HP PCL5 escape sequences printing as character strings with no other effect on the printer. Has anyone else had this problem?#SPOOLERDIRECTEMFPrinterDriver
I haven't found a good solution for this on the Web. Project A in solution 1 wants to call a program in project B in solution 2. Because project B is in another solution I don't see it on the Project tab of the Add Reference dialog so I add a reference to project B's dll file from the Browse tab. Once I've done this I can call project B's programs from project A. The problem is that I'm doing this for the debug build and looking inside the cobol project file the reference is shown as "debug\\ProjectB.dll". All of our compiled programs are being output to this directory. When we later do a release build all programs will be output to the release directory and we will need to replace all references. Because we are keeping our solutions small this could require a lot of work. What is the best way to add references to projects in other solutions ?#VisualCOBOL
This is not a feature that is built into the MessageBox class and the message box is always centered over the desktop. I have found some examples written in C# on how to do this but they run for many lines of code and my C# training is not far enough along to where I can translate them into Visual COBOL. Has anyone written a routine for this in Visual COBOL ? Our other option would be to write our own message class or use a third-party control that allows positioning.#VisualCOBOL
Currently have this version of Visual Cobol: Micro Focus Visual COBOL 2.0 Version 2.0.00110.Serial number: Trial days left: 12Micro Focus Visual COBOL 2.0 Copyright (C) Micro Focus 1984-2012. All rights reserved. We used single program .APP in Net Express - I do not see a way to create a .SLN with the import. Also when I use NEW\\PROJECT\\COBOL\\NATIVE\\Console Application for native code I have a new dir created and then the .SLN in that dir - this occurs even when I have "create directory for solution" not checked. How can I bypass this issue ? If I compile from the command line and try to execute the exe it created I get a dos command window that apprears and disapprears in a flash. I cannot find any log or message file as to what is not correct. Any idea where to look ? I am currectly using c:\\VCSOURCE to do all my work and the new .exe is in this dir. What is the difference with my version listed above and the
Is this possible? I have searched around and can't seem to get a definitive answer. I know Relativity gives ODBC access to the cobol files, but I am wanting to know can I use MySQL (or any SQL RDBMS for that matter) as the database backend to an RMCobol app (and not using the ISAM files). I am relatively new to Cobol. Took it in college back in mid 80s. I inherited some clients that use this app written in RMCobol. Was exploring options. I know of but haven't studied Visual Cobol that much. I have also read that depending on what RM extensions were used, Open Cobol might be able to compile RMCobol source. I think it can CALL an RDBMS backend. If RMCobol can't, that would really surprise me in this day and age since it is still being sold. Thanks! Mark ________________________________________________________ Mark J. Bailey Jobsoft Design & Development, Inc. 104 Arlington Place, Suite 100 Franklin
What is the meaning of this message? What should I do to avoid it? The program never executed.
Does properties row-color and cell-color of grid control are inquirable? If so, from which runtime version? I saw that in versione 9.1.0 the inquire on these properties works, but i'd like to know if they are officially supported.#Grid#colors#inquire
Hi, Normally we use STOP RUN to end the COBOL program. When i compile and run the JCL i get the following error: Error executing service 'PGM#PAB001' Execution error : file 'C:\\IGATE\\LOADLIB\\PAB001.int' error code: 198, pc=20A0, call=1, seg=0 198 But when i replace "STOP RUN" with "EXIT PROGRAM" in COBOL, the JOB runs properly. Please help me in understanding the problem when using STOP RUN. Regards, Senthil#netexpress
While trying to execute the following code, call to javax.resource.Interaction.execute(iSpec, iRec, oRec) with its parameters depicted as the below raises java.lang.OutOfMemoryError: java heap space. What would be suggested by this error? ix = con.createInteraction(); iSpec.setArgument(0, com.microfocus.cobol.RuntimeProperties.By_REFERENCE); javax.resource.cci.IndexedRecord iRec = rf.createIndexedRecord("some_name"); javax.resource.cci.IndexedRecord oRec = rf.createIndexedRecord("some_name"); Pointer ptr = new Pointer("some text", "MS932"); iRec.add(ptr); ix.execute(iSpec, iRec, oRec); // -> java.lang.OutOfMemoryError: java heap space is thrown upon execution.
We have a C application that loads COBOL DLLs at runtime and makes calls into them. This is working, but the application is leaking memory. The reason for the leaks is because we are currently NOT calling the cobthreadtidy() method whenever a C created thread terminates. However, I am unable to successfully call into conthreadtidy() without receiving an Access Violation. I then added a call to cobinit() to our application, but that also results in an Access Violation. I have also written a very small console application that simply calls cobinit(), but that too throws an Access Violation! There must be something missing from what I’m doing. Here is the source code for the sample console application: #include "stdafx.h" #include "../Microfocus/INCLUDE/cobmain.h" int _tmain(int argc, _TCHAR* argv[]) { HMODULE hModule = ::LoadLibrary(_T("CBLRTSM.dll")); &
Getting Started with Visual COBOL for Eclipse Creating web applications using JSPs and Tomcat Summary In this tutorial, we take you through the steps to create a web application using JSPs and Tomcat. To create web application in Eclipse we need install some new plugins, we’ll walk you through this step too. First of all, you need to install the Web Tools Platform for Eclipse. From the help menu, select Install New Software. Paste this URL into the Work With entry field: http://download.eclipse.org/webtools/repository/helios/ You also need to download Tomcat to host your JSP and COBOL JVM application. Install Tomcat here. Choose the most current version of Tomcat and take a note the version you installed. After installing Tomcat and WTP, switch back to Eclipse and create a new project. From the File menu, select new -> other and then browse for the Dynamic Web Project Click the next button, give the project a name Click the “New Runtime” button Select the
Hello, I'd like to use a standard .Net Windows Forms control in a COBOL program, but I'm running into .Net framework version issues. I only have the .Net version 4 System.Windows.Forms.dll, which can't be used with AcuCOBOL (at least not version 8.1.3). I see from other forum posts that people have successfully used controls from System.Windows.Forms.dll recently, so can anyone give me a hint what I need to do? Do newer versions of Acu work with newer versions of the .Net framework? Thanks, Claire
An ASP.NET web application using JQueryVS-JQuery-WebApp.zip
Getting Started with Visual COBOL for Visual Studio Creating Web Applications Summary In this tutorial, we task you through the steps to create an ASP.NET web application. Start Visual Studio and from the file menu, create a new project. Under the COBOL templates and select Web and ASP.NET Web Application. Give the project a name and location and click OK Click the design tab in the bottom left of the main window to switch to the HTML design view. Ensure the toolbox window is visible from the View menu And then drag a button from the toolbox on to the form. Add a textbox too. Your screen should look similar to this: Double-click the button to add an event handler. Add the following code: class-id WebApplication1._Default is partial inherits type System.Web.UI.Page public. working-storage section. method-id Page_Load protected. local-storage section. procedure division using by value sender as object by value e as type EventArgs. goback. end method. method-id Button1_Click
Getting Started with Visual COBOL for Visual Studio Hello World using .NET Summary This getting started tutorial shows how you can create a user interface using .NET and call a COBOL application to perform the backend processing. Start Visual Studio and create a new project from the File -> New menu Make sure the COBOL section is selected and from there choose Windows Forms Application Name the project and choose a location for it to be stored and then click OK. Your screen should look similar to this. We’re going to paint a very simple user interface with a single button. To add the button, make sure the toolbox is visible from the view menu: Now you can drag a button from toolbox to the WinForm Right click the button and choose properties In the properties window, change the value of the button’s Text property to “Click Me”. You can change other properties if you like, including color. Now double c
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.