Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi. im new in visual Cobol, i would like to know how to connect to a database. And this program will just add, edit and delete. I can make it in Visual C#. Is it the same?? Help please. :(
Hi All, We are considering to buy the license and use Visual COBOL for our solution. However, first we need to be sure that it fits our requirements. If anyone can provide a code example (or link with this solution described) for the following that would be greatly appreciated: 1. Ability to allocate huge limits of RAM - we need a working example of creating 7 GB array and reading/writing data from its veryt last item. 2. Working example of calling a DLL written in Visual COBOL from the code written on C# - the matter is that we will be integrating the COBOL program into existing project, so we need to be sure we can do this. 3. A proof that Visual COBOL is easily integrated with could solutions (like Amazon EC2, MS Azure, etc.). Maybe examples of some existing solutions written in COBOL that are running in the clouds? We would love to use Visual COBOL for our development. If we are sure that it fits the above requirements - we would buy the license right away. Thanks, Artem#COBOL
I've added a check box to a dialog screen (with Net express cobol as backend). Question is, when a user clicks on the checkbox, I want the dialog system to immediately ask him if he really want to do this, as it will delete a record (in the Cobol code). How do I code dialog to do this? Do I have to wait until a button is pushed (ie Save) and then interrogate the checkbox? I could find no examples in any of the doc for this. Thanks, Fran #checkboxDialogSystemNetExpress
well I downloaded visual cobol 2012 used it for 30 days or however many days the trial version will let you and it expired so i got the micro focus personal cobol 2010 for a year supposedly and I tried to install it but it said my license expired and I hadn't even used it for a day it was referencing the 2012 cobol trial version I had I am so mad that I deleted everything and now I can't program in cobol so what can I do can anybody help me
Hi. I downloaded Visual Cobol for Visual Studio 2010, but my trial license of 365 days don´t work, my university passed the link of the product. When I put my activation key, the program don´t accept. I don´t know what happened, but I need this program. What can I do to fix that? Thanks
When I try to animate any Cobol program which contains a call to Dialog System, at the point where the call is made animator stops and displays a panel headed "Perform/Call Stack - view" . This indicates that DSCRUN is not animatable. There is also the error message: 191 Terminal type not defined - DSCRUN. I believe there is only one terminal type defined on our system, which is vt220. The programs run OK "normally". My problem is getting past the Dialog System calls when debugging. #ServerExpress
We've run the dirdemo.cbl program referenced in other knowledge base articles. It seems to run ok except that it not returning the the file/directory name as referenced in the program by name-text. We've run this both on hp-ux and linux with the same results. Any suggestions?
Hi Are there any good sample programs/systems that demonstrate how to implement a datagrid? I want to create a simple program that populates a grid then allows users to click on an entry to open a new form for amendment. I will have a button for 'Add' also. Standard stuff I would imagine, so why can't I find it? I'm going through the Visual COBOL training at the moment and can't find anything on this. Indeed, I can't find enough examples on how to deal with the new visual objects and controls. For example, setting and detecting checkboxes. It may well be that these do exist but I've just not come across them. Many thanks Ian
Problem: After installing AcuCobol V9.1.2.1 on Windows 8 and using AcuBench within the project you cannot change values in the Property Window. Every entry (Values/Items/Events) is grey. Resolution: This is fixed in V9.2 and cannot be patched into previous products. A simple workaround is to right-click AcuBench.exe, select Properties, select the Compatibility tab, and check the “Run this program in compatibility mode for:” checkbox. Once checked, the dropdown is enabled, and you can select Windows 7. Once you do that, AcuBench runs just fine. #acubenchWindows89.1.2.1
I am trying to use a cursor to read a stored procedure, but get "parse error at :ret-code" on the following declare: EXEC SQL DECLARE FpReportIdCursor CURSOR FOR :ret-code = exec CBM.dbo.FileProcessingReportDetail_SelectByReportID (:ws-report-id) END-EXEC I assume I am missing something on the exec line but the syntax above is just like the example in the manual.I use cursors in AcuSQL to read tables with no problem but this is my first attempt at a stored procedure. The manuals example gets the same parse error when I try to compile it. There are several similar questions on this forum but no answers. Any help would be appreciated. Thanks,Steve
Is anyone able to access the knowledge base? When I go to that page I cannot see anything. The only way that we can see any of the knowledge base information is to click on the RSS feed button and that only shows the last 30.
Hi, I need RM/COBOL Runtime - Version 12.07 for Linux Intel 64-Bit. and RM/COBOL Compiler - Version 12.07 for Linux Intel 64-Bit ¿It's posible? Thank's#COBOL
Hello everyone, I want use the Checkstyle plugin to check my COBOL source.I try to custom the xml file,but the plugin doesn't work. Can I use Checkstyle in the Visual Cobol(eclipse)? Thanks.#VisualCOBOL
Hi all,I have a file called dsts0001 that contains data on the stock of my store. When I go to add it to the system dsn did not appear in the database catalog of WinSql why? where am I wrong? all other files are read correctly, but this file was not, maybe I'm wrong to set the logical name? thanks
I have this book that explains you can suppress leading zeros in a variable like this 01 THE-NUMBER PIC ZZ99. but i get an error operand should be numeric error cobch0034 error It says you can put Z's in front and suppress them this i think came from a 85 cobol standard book
I am trying to migrate some indexed files from Object Cobol 4.1. Some of these files have records which are not aligned on a 4 byte boundary. Object Cobol 4.1 must have allowed these, but Server Express 5.1 is detecting them and preventing them from being opened, returning a file status of "39". While I can recreate these files so that they will open OK, there are hundreds of archives all of which will need to be recreated. This will also involve an outage to system users, as we would wish to correct on our present system rather than the one we will migrate to - so that the data and code will be portable. Is there any setting in Server Express 5.1 which would allow the files to be opened without having to recreate them?#ServerExpress
Dear Microfocus Why Personal Edition can't run any program without the team edition trial!! Best Regards
Created On: 25th September 2012 Problem: If an XML document contains empty elements such as the RemoveThis element in:- <?xml version="1.0"?><customer> <first_name>Joe</first_name> <last_name>Smith</last_name> <RemoveThis></RemoveThis></customer> then how can you remove then from the XML Document whne running COBOL under the .Net Framework. Resolution: One approach to doing this would be to apply a XSLT Transformation to the XML Document. Attached to this document is a demo showing how you can do this in managed .Net Visual COBOL The .Net Framework provides a number of classes for XML and allows a developer to apply XSLT transformations to XML. The XSLT Transform being applied is:- <xsl:sylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xs:template match="@*|node()"> <sl:if test=". != '' or ./@* != ''"
Created On: 01/30/2013 Problem: Customer has a Windows Forms application that uses a dataGridView control.They need to know how they can load the dataGridView control with data directly from a COBOL data table (OCCURS).They do not want to use Data Binding but would like to directly load the table with data and be able to read the data back into the COBOL table after editing. The data is in a COBOL table that looks like the following:01 my-Table. 03 my-Items occurs 10. 05 Table-Code pic x(3). 05 Table-Desc pic x(20). 05 Table-Value pic S9(7)V99.Essentially what they need to do is transfer the content of the table to the DataGridView object, edit the data, validate it & finally return DataGridView values back to the table elements. How can this be done? Resolution: You can certainly
Created On: 01/30/2013 Problem: It is possible to set the ReadOnly property of a specific dataGridView column at design time.Is it also possible to set the ReadOnly property of an individual cell of a dataGridView dynamically with code? Resolution: Yes, you can set the ReadOnly property of an individual cell of a dataGridView control dynamically through code.Example: set dataGridView1::Rows[sub-1]::Cells["Amount"]::ReadOnly to true Old KB# 36769
Customer is using Visual COBOL 2.1 to create a native application that uses embedded SQL and Oracles Pro*COBOL precompiler to generate the executable as an .EXE. This requires that the LITLINK compiler directive be used so that the calls to the Oracle libraries will be resolved at link time. When specifying the TESTCOVER directive in order to generate a test coverage report, the link step reports an unresolved external on _TESTCOVER. How can this problem be rectified? SOLUTIONI have attached a file TESTCOVER.LIB to this article.Add this file to the additional link libraries under Project Properties and you should be fine linking your Oracle Pro*COBOL application when also using the TESTCOVER directive.7536.testcover.zip
Hi everyone, could anybody please provide me with a tutorial about how to get EXEC SQL work with JVM/Native COBOL using VisualCOBOL for Eclipse and PLEASE DON'T TELL ME GO TO THE DOCUMENTATION, BECAUSE THE DOCUMENTATION IS NEVER A TUTORIAL FOR A BEGINNER BESIDES IT'S COMPLEX LIKE HELL!!! Best Regards#Eclipse#SQL#COBOL
Problem: In Version 8.0.0 of the ACUCOBOL-GT runtime a log file is created each time the runtime is executed. This may result in a large number of empty log files in the format of wrun32.process_id.log Resolution: The A_REMOVE_EMPTY_ERROR_FILE configuration variable can be used to remove these empty files. Use this variable to prevent the accumulation of 0 byte files when using format specifiers such as "%p" (to include the process id) in the error file name. When this variable is set to "1" (on, true, yes), the runtime deletes its error file if the runtime has never written to that file. Note that on some operating systems, if your error file is shared by multiple processes (i.e., the file name does not include the process id or some other unique session information), setting A_REMOVE_EMPTY_ERROR_FILE to "1" may cause error messages to be lost. For example, on UNIX if the error file is empty wh
Dear All, Could anyone please -be patient with m ;-) - help me in setting my JVM COBOL project to perform SQL statements ?? Best Regards#COBOL
OBJECTX® Thread Safety Summary This technical bulletin answers multi-threading questions about RUMBA OBJECTX, Pro controls. Thread Pooling Q: What is thread pooling? A: In an internet application, you may have thousands of users, each requiring access to their own host session. Creating hundreds of threads, let alone thousands, is not practical; Windows NT can't handle that many threads. Thread pooling creates a relatively small number of threads (tens of threads), typically based on the number of processors. Controls are distributed among the threads, with multiple controls being assigned to each thread. Building Applications Q: Is there any advantage to registering display controls with Microsoft Transaction Server ? A: No, display controls have no way of backing out data that has already been sent to the host. Q: Does this mean that the display controls cannot participate in a transaction? A: No, IIS 4.0 provides transacted ASPs. In the ASP’s OnTransactionAbort
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.