Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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
Getting Started with Visual COBOL for Eclipse Hello World using COBOL JVM Summary: This getting started tutorial shows how you can create a Java user interface and call a COBOL application to perform the backend processing. We’re using the Google Window Toolkit to design the user interface. The walkthrough will guide you through the process of setting this up. Before creating your application, we need to add some new extensions to your Eclipse IDE. Install Google Window Builder Google Window Builder provides a UI designer within Eclipse that allows you to create graphical applications for Java using drag and drop. Help-> Install new software Add the following URL for Eclipse 3.7 Window Builder support to the Work With field – you don’t need to click Add. http://dl.google.com/eclipse/inst/d2wbpro/latest/3.7 Select all components and click next and then complete the installation. Once Eclipse has installed the software, restart with a fresh wor
Hello all, We have problems with our vitual memory growing up when we close and open a subwindow in our program. I mean, when the window is closed, not all the virtual memory is unloaded, if the window is opened initially 100 kb are added to the virtual memory, but when is closed only 80 kb are unloaded. Test deactivating/activating copy resource option in the images are done, but the memory leak is still there. Actually, we don't manage the memory usage of our program, because acubench ( extend 8.0) do it itself and my question is if someone knows of any option (at runtime or design) that can be the answer to the problem. Note: another subwindows in the program unload the memory correctly, and we are looking for the differences but... nothing at the moment. Thanks for the tips!
Hi, I'm using <LinkMultiDlls> set to true in the project definition for a Visual COBOL 2.1 project and I would like to create an installer to include all the DLL's for that project. Now this would appear to not be possible as the installer project (be it WIX, Installshield LE or a VS2010 .vdprof project) assume that the project build output has name ProjectName.dll and won't look for the multiple DLL's... I'm still researching MSBUILD but does any ideas on this? I know that I can specify each individual file manually from the project in the setup project, but if I add a new source file to the project and forget to add the associated DLL to the setup project it won't be included. Thanks, Michael#Setup#msbuild#LinkMultiDlls
tictac sample for oriontictac.txt#tictac#orion
Webinar 9 - Best practices for native and managed code - Question and Answer transcript The following question was asked and answered during the latest webinar in the Visual COBOL webinar series calendar. If you have any more, please post them here. If you missed the webinar, you can catch up here: http://online.microfocus.com/visualcobolwebinar9 Q: We are currently using NetExpress 3.1 with several senior members having worked with COBOL for over 30 years. What is the best way to start implementing Visual COBOL? Mainly, how do you convince them that the Visual Cobol would be a benefit? A: Convincing internal staff that it’s time to upgrade and pursue new technology is not always easy. Many times this requires an investment in product training, continued communications, as well as ongoing (internal marketing) awareness and education. Investments in product training for your IT team will help empower and enable them to take on the new tasks required during the upg
Hello, I am using ACUBENCH 7.3. I am changing a copybook which is used in many CBL programs. Is there a way to re-compile all the programs using the copy book without me having to copy all sources into the sources folder. Thanks for your assistance. Regards, Kumar#COBOL#copybook#compile#acubench
Hi, Anyone know if a document exist explaining the requirement sin order to migrate a running MFC 5 application into using Visual Cobol instead? I would be interesting in something that describe what to expect in the effort of replacing the Cobol compiler and runtime. The obvious consist in installing the new visual Cobol and its license and recompile the source, but should we expect to have to modify any data file (KSAM for example) or should some compilation/runtime flags be used to emulate the old version behaviour. Thanks in advance -Pierre PS: Principally on Unix.
Hi All, Could Anyone please help me in type casting in JVM COBOL ?? best regards#COBOL#JVMCOBOL
Hi I am using Eclipse Version!!! the problem is there is an error ==> Multiple markers at this line - COBCH0972S Linkage item 'CUSTOMER-MOBILE' is referenced but has no addressability. - COBCH0972S Linkage item 'CUSTOMER-NAME' is referenced but has no addressability. - COBCH0972S Linkage item 'CUSTOMER-ADDRESS' is referenced but has no addressability. - COBCH0972S Linkage item 'CUSTOMER-PHONE' is referenced but has no addressability. the code is : #Eclipse#JVMCOBOL#VisualCOBOLautoscalemodescreenresolution#COBOL
Good morning,I wonder if it's possible to change the default Builder that appears for a Cobol Remote Project in VisualCobol Eclipse 2.1, and as it should be The idea would be to set up the project so that when you perform a Build, will run a script located on the remote server for each of the programs that were part of the project. Currently we can accomplish this task by setting the following code in the Events tab; but the idea would be to set up the environment to not perform the default Buider, and only execute this code lines ... We also want to see the output produced by each of the lines in the script in the console tab. Thank you
I need write a program can use tapi32.dll. I use acucobol compiler. my problem is understand how transform code in cobol. I call Tapi32.dll. : SET ENVIRONMENT "DLL_CONVENTION" TO "1" : CALL "TapI32.dll" : ON EXCEPTION : DISPLAY MESSAGE BOX : "Message: Tapi32.dll not found" : SET ENVIRONMENT "DLL_CONVENTION" TO "0" : END-CALL. and now i had to call for example "lineInitialize" function ex. LONG lineInitialize( LPHLINEAPP lphLineApp, HINSTANCE hInstance, LINECALLBACK lpfnCallback, LPCWSTR lpszAppName, LPDWORD lpdwNumDevs ); Anyone can help me?
I'm looking for a definitive way to solve a problem with String values which get garbled when they are passed to COBOL via CCI IndexedRecord. Is Pointer the only class with which we can have the String values passed to COBOL programs encoded during the process performed by the implementation of CCI? Pointer does not seem to be able to handle a large string value as per Documentation. The length of the strings we are deling with are very large and PIC X(99) is not suffice. Does anybody have clue?
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.