Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I am trying to execute a non-windows form cobol program from a windows form cobol program with a method. My syntax is 'Call "FPACTGN" using PMCALL" . I have the called program referenced within the calling program project. When execute the program is not executed and the program just goes to the next line of code. I have checked the program id and properties of the called program and they seem to be OK. Suggestions?
players.brightcove.net/.../index.html Revoking a license on UNIX With Internet access In order to revoke a license on your current or old UNIX machine you will first need to open the license manager by navigating to the following directory: /var/microfocuslicensing/bin/ Then you will run: cesadmintool.sh When opened, it will look like this: After ‘Enter Option’, enter ‘5’ for ‘Revoke Licenses’ then select the product you want to revoke from the list. You will then be presented with a new authorisation code which you will use on your new machine. Without Internet access To revoke a license from your current or old machine without Internet access, the same process as detailed above should be followed. However, at the point of revoking the license, instead of receiving a new authorisation code automatically, you will need to send the file generated during revoke to Support in order f
players.brightcove.net/.../index.html With Internet access In order to install a license on your UNIX machine, you will first need to open the license manager by navigating to the following directory: /var/microfocuslicensing/bin/ Then you will run: cesadmintool.sh After ‘Enter Option’, enter option ‘1’ Enter the 16 digit authorisation code which you should have received with your product or from a previous revoke and click enter. To double check that the license has been installed or to check on the status of any other licenses installed, go back to the main menu and enter option 2 (Check License Status) Without Internet access If you do not have Internet access, you will have to authorise manually by either generating a license string yourself, or contacting supportline@microfocus.com to do this for you You can generate a license string yourself using the following link http://supportline.microfocus.com/activation/ Here, you will be
players.brightcove.net/.../index.html If you have a concurrent license installed on a server but want to use this on other client machines, you will need to configure your machines to allow this. On the license server machine open the license manager by entering the following command: /var/microfocuslicensing/bin Then navigate to the following directory: ./cesadmintool.sh Select Option 3 (Advanced Configuration Options) Only the local IP address will be shown, you will need to add the hostname or the IP address of the license server. Enter Option 1 You will now need to add the hostname and IP address of the server machine. Please note, you will need to insert a colon between these values. Here is an example of this: 127.0.0.1:hostnameserver1 You will need to follow this procedure for all client machines on which you would like to use the lic
Problem: The AcuBench menu bar has disappeared. How did that happen and how can it be restored? Resolution: It is not know how the menu bar disappears. We've never been able to reproduce that behavior. If the meu bar is missing here's how to restore it: First exit AcuBench, then start the Registry Editor and go to this key: Computer\\HKEY_CURRENT_USER\\Software\\CASEMaker\\AcuBench\\AcuBench-Bar19 (That is for AcuBench version 9.2. Earlier versions include the version number, eg AcuBench91\\AcuBench91-Bar19) You will see a DWORD item named "Visible" and it will be set to zero. Delete it or modify the value to 1, then exit the registry editor. Start AcuBench and the menu bar will be back.
players.brightcove.net/.../index.html You will have received the license files as part of your order. These files have the format xxxxxxx.mflic. Save the file to the machine where they will be installed. - Open the License Administrator, - Click on the “Install” tab and browse to the .mflic file - Click on Open and then on Install Licenses. - Alternatively, you can drag/drop the .mflic file onto the license file box or copy and paste the licenses into the box below: If the license installs successfully, the following message will appear: The licenses will appear in the Summary tab of the License Manager. If you need to rehost the license and move it to another station, click on Remove and the license will be uninstalled. A message will appear to confirm where you
Will Net Express 5.1 install on Windows 8 and work ok? #NetExpress5.1
Please watch our video demo here: https://bcove.video/2ACYm0h How to install .mflic files In the email you received your product, you should have also received the license files. These files have the format xxxxxxx.mflic. Save this file to the machine where they must be installed. <img#mflic#Pre-authorised#PAlicense#PAkeys
Problem: The application receives error 9D,17 when using a SQL Server named instance In a file alias. The alias has this form: mytable sqlserver\\instancename.database.dbo.mytable The open of that file/table fails with error 9D,17, SQL Server does not exist or access denied. If the alias is not used and A_MSSQL_DEFAULT_CONNECTION specifies that same named instance there is no error and mytable can be accessed successfully. Resolution: As of version 9.2.3 there is an issue with the parser that strips off the backslash "\\" and the portion of the alias in front of that. This renders an invalid servername and the connection fails with error 9D,17, SQL Server does not exist or access denied. There is a workaround, which is to use the port number for the named instance, rather than the name itself. Assuming the instance is running on port 9999 the above example would look like this: mytable sqlserver,9999.database.dbo.mytable Note that when sp
I am creating a cursor using dynamic SQL. I can fetch the data with no problem, but whenever I tried to execute another SQL Statement (Dynamic Cursor still open) I get an error message stating "Connection is busy with the results for another hstmt". Any ideas on what may be causing this error? We have other programs where we have open cursors (static SQL) and have no problem performing other SQL statements.
In Visual Cobol i try: - Create a listBox1 - Add Itens: invoke listBox1::"Items"::"Add"("Item 1") invoke listBox1::"Items"::"Add"("Item 2") - But now, can i get INDEX from doubleClick event? i try: invoke type MessageBox::Show(listBox1::Text), but, show only TEXT. But a need INDEX (0,1,2,3...)#listboxdoubleclickindex
Hi, I have been using Microfocus NetExpress v3.10 for some time, and did some code in GUI-based (using GS) application with winAPI codes as follows; environment division.special-names. call-convention 74 is winAPI. But lately I am coding with COM using "Add Class" wizard under MTS (Microsoft Transaction Server). From the given code (under wizard), where am I going to insert the above code?? The given code (from wizard) is listed below as follows; $set ooctrl( p)*>----------------------------------------------------------- *> Class description *>----------------------------------------------------------- class-id. newClass inherits from olebase. object section. class-control. newClass is class "newclass" *> OCWIZARD - start list of classes objectcontext is class "objectcontext" olebase is class "olebase" oleSafeArray is class "olesafea" oleVariant is class "olevar". *> OCWIZARD - end list of classes *>---USER-CODE. Add any additional class names below. *>---
Problem: How do I install the Security AddPack for Server Express and Server for COBOL on Unix/Linux Resolution: Unlike Wrap Packs for Server Express or Server for COBOL, the Security AddPack is not a full version of the product. The Security AddPack has as a prerequisite, the matching version of Server Express or Server for COBOL. For Server Express/Server for COBOL Wrap Pack 10, the matching Security Add Pack version is sxsecuritypack51.11_00_dev.tar.encr. 1. Ensure that Server Express/Server for COBOL is installed on the machine where you are installing this AddPack. 2. As root, with COBDIR set to the installation location of the Server Express/Server for COBOL, execute the file. You will now have a tar file containing the AddPack. 3. Extract the AddPack, using the command: tar xvf <filename>. A directory such as Securitypack51.11_00_dev will be created. 4. Make the install file executable. 5. Install the AddPack, by executing the installation script, using t
Does Acucobol support Dynamic SQL. If so is there an example anywhere on the site that I can look at?
I have a client that is get an unhandled exception 'Method in found Int32 MicroFocus.COBOL.Program.Helper.CompareStrigFig (system.string System.string)' . I can not get the same error on my development machine. Do I have a runtime mismatch or is there another error. Thanks
I'm unable to add an existing form to my project (Windows Form) that I previously exclude? The form appears in the project - but it is only the code and not the GUI part? Any suggestions much appreciated
Interested in learning OO COBOL? Don't miss this free Visual COBOL Webinar Series starting September 25th. Learn more here -> online.microfocus.com/OOPWebinarSeries Register today!
I am using Visual Cobol 2.2 -1 and Visual studio 2012Problem :How to set a particular datagridview cell active within handling a Datagridview event.The datagridview is NOT BOUND to a dataset.The Windows forms app contains several controls, one of which is the Datagridview.The Datagridview consists of 5 cols in this case.Loading the grid and validatiing / editing / redisplaying values entered is working fine.When the user enters data in the first column (or any other column of course) of a row , the program is using the'CellEndEdit' event-method to test some values of several columns and process accordingly.---------------------------------- code begin ---------------------------------------------------*>*> Method to test what to do *> dg-view is the name of the datagrid method-id dg-view_CellEndEdit final private.  
Problem: When ACUCOBOL-GT runtime finishes its job on a Linux/UNIX box, the displayed area is cleaned and the latest input-output data are removed from the monitor. Old runtimes used to keep these data in sight, even after the STOP RUN was executed. Resolution: This behavior changed in release 7.0.0 to fix a leak in earlier runtimes. After this fix was introduced, when runcbl shuts down it destroys all the canvases associated with the COBOL program. It does this in order to correctly manage the related memory. When a canvas is destroyed, that canvas is erased. If the COBOL program just uses ANSI style ACCEPT and DISPLAY (and treating the terminal like a teletypewriter), then doing the work to not initialize the terminal manager will solve the problem. That means compiling with -Ca, running with -b and not using ACUCOBOL-GT extensions to the DISPLAY verb. Note that positioning information is considered an ACU extension, so the previous workaround will not work. i.e.: this line is ANSI s
Problem Trying to compile a COBOL program using OpenESQL on AIX 6.1 gives an error: <<OpenESQL Error: Unable to load ODBC Driver/Driver Manager. Ensure that your database environment is set correctly>> The ODBC driver manager is unixODBC Resolution Current versions of the products, Server Express/Net Express 5.1 WrapPack 8, Studio Enterprise Edition 6.0 SP2 WS2, Visual COBOL 2.1 Update 1 and Enterprise Developer 2.1 Update 1 are all tested using unixODBC 2.3.0. For unixODBC on AIX all of the products will search for libodbcinst.a(libodbcinst.so.1) and libodbc.a(libodbc.so.1). If these shared objects cannot be found in unixODBC archive files then you will get the error described above. First thing to check is that the unixODBC lib directory is included in the LIBPATH. If this is okay then check the members of the archive files. If this shows anything other than libodbc.so.1 you will need to extract the file, rename it and put the new file into the arc
I was wondering if a program that is made resident by including the RESIDENT clause in the PROGRAM-ID paragraph will remain in memory after it exits using an EXIT PROGRAM. If not, can I exit from the program and remove it from memory? I need to shield a program from a CANCEL ALL in a called program. I have a BIS service program calling another program that is calling a final program that has a CANCEL ALL in it that is resetting the XML object in the initial service program. This is pretty highly undesirable as BIS core dumps and dies when trying to do an XML EXPORT FILE.
Problem: Does WIN$VERSION return client or server information in Thin Client mode? Is it possible to check both information (i.e. with a @[display]: prefix?) Resolution: WIN$VERSION checks the Windows version of the client in Thin Client mode. There is no way to get the server version currently.
Hi All, I need to implement 2PC (Two Phase Commit) with Micro Focus Server Express. Any one have some experience...??? Many Thanks, PJM
I have Vis CBL P/Edit with VS2012 on Win/8.1 All is well but I want to be able to write a file with simple formatting and colours, e.g. a Word doc I am sure it can be done but I haven't been able to find it in the documentation Can anyone please point me to the documentation to read for this? And/or a sample program? TIA
Problem: A program that is working with ACUCOBOL-GT runtime, using XML EXTENSIONS and RMNET, may return the following message: Error: 39[0] - symbol table not present in COBOL object Resolution: To work correctly with XML EXTENSIONS and RMNet in ACUCOBOL-GT, a COBOL program must be compiled with the following options: -ZeThis option adds XML symbol table information to the COBOL object for use by XML Extensions.Programs using XML Extensions must be compiled with the -Ze option. Add the -Ze compiler option to the compile command to include the XML symbol table information in the compiled COBOL object. -CrThis option sets the compiler to its RM COBOL compatibility mode. In this mode, it accepts features of RM COBOL that are not otherwise accepted. Support Incident number: 2666802#XML
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.