Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: If you are installing separately licensed RM/COBOL Development, and Runtime, System products on the same UNIX machine, and, into the same directory, then, you will need to combine those licenses into the same vault file (license.vlt). Resolution: In order to install separately licensed RM/COBOL Development, and Runtime, System products, you only have to install the Development system, as that includes a Runtime. Once the Development System has been installed, then, you can add the higher Use Count Runtime license to the existing license vault using the Liant License Utility(licverifyall).The licverifyall program ships with the latest versions of our products, and may be found under the SupportTools directory of the product installation.You can use licverifyall to add the Runtime *.lic to the current license.vlt (that already has the Development System license in it) with the following procedure: Make a backup copy of the existing license.vlt file. Chan
Problem: After upgrading to version 10 some report programs are crashing. Troubleshooting revealed that it is the SORT statement which is crashing the Runtime. Solution: Version 10 introduced major changes in the SORT verb. These changes eliminated the SORT_FILES Runtime configuration and added new ones. Setting A_SORT_REGIONS to half the value of the previous setting of SORT_FILES will achieve the same effect with the new SORT. We recommend testing with A_SORT_REGIONS=0 to see if this new mode of operation yields better performance in a given system. Following is the full description of the changes to SORT. Please study this information carefully and test to determine the best settings for your system and application: The internals of the Runtime SORT verb have been updated to provide a new mode of operation for SORT that avoids a significant amount of file I/O and may provide better performance for large SORT operations. A new method of manag
Hi We are upgrading an application from Visual Cobol 2.1 on Windows XP to Visual Cobol 2.3 on Windows 10. The application consists of windows forms projects and native code programs compiled as managed code. We have been using VS 2010 Shell on Windows XP. A couple of queries: I installed VS 2015 Community on a new Windows 10 pc and registered for the 30 day trial of VC 2.3. In the link sent back, Step 1 - Useful Download Details, states that there are two versions of Visual Cobol available to download, VC for VS 2012 and VC for VS 2013, yet under the Software/Licenses section at the bottom VC for VS 2015 is also available for download, so this is the one I chose. Are the instructions on the link out of date? I assume it was safe to download VC for VS 2015 if VS 2015 Community is installed? The target framework for the VC 2.1 version of the app is either .NET framework 4 Client Profile for the windows forms projects, or .NET framework 4 for the non wi
Hello, I need to call Windows API function from managed COBOL. In native COBOL I'd write something like environment division. special-names. call-convention 74 is WAPI. ... working-storage section. 01 VersionInfoEx. 03 dwEVersionInfoSize DWORD. 03 dwEMajorVersion DWORD. 03 dwEMinorVersion DWORD. 03 dwEBuildNumberFull. 05 dwEBuildNumber USHORT. 05 dwEMajorAndMinor USHORT. 03 dwEPlatformId DWORD. 03 szECSDVersion pic x(128). 03 wEServicePackMajor WORD. 03 wEServicePackMinor WORD. 03 wESuiteMask WORD. 03
I'm having trouble reading a xml, which contains the identification of tags at the root of which possesses 31 IDs (namespace). I can not change the file because it is a layout I get in a query.I did several tests, and identified that 29 leaving only the cobol can make reading, leaving with 30 or 31 -9 error occurs (that is not in XML format) read routine.Under a program I made an example and an example of XML.----------------------------------------------------example.cbl---------------------------------------------------- $set preprocess(prexml) warn endp IDENTIFICATION DIVISION. PROGRAM-ID. TESTE. ENVIRONMENT DIVISION. CONFIGURATION SECTION. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT XML-FILE ASSIGN TO "file.xml" ORGANIZATION IS XML DOCUMENT-TYPE IS OMITTED FILE STATUS IS XML-FILE-STATUS. DATA DIVISION. FILE SECTION. XD XML-FILE. 01 ROOT IDENTIFIED BY "root" COUNT IN ROOT-COUNT. 03 TAG1 IDENTIFIED BY "tag1" COUNT IN TAG1-COUNT. 05 DET1 PIC X IDENTIFIED BY "det1" COUNT IN DET1-COUNT.
Hi all, We have Acuserver running on a Windows 2003 server. Our application is an ERP. Is it possible to check what files Acuserver handles when running the application from the same physical server and not from any client? I suppose it should be something in the FILE_PREFIX entry of the configuration file. Thanks
I have been testing Visual Cobol against an older Cobol main frame system and just have a question about Z Zero Suppression Here's a sample program IDENTIFICATION DIVISION. PROGRAM-ID. EXAMPLE. ENVIRONMENT DIVISION. INPUT-OUTPUT SECTION. DATA DIVISION. WORKING-STORAGE SECTION. 01 TEST-RECORD. 05 PR-NUM PIC 99v99. 05 PR-NUM1 PIC ZZ.99. PROCEDURE DIVISION. PARA-1. Display "Enter number" ACCEPT PR-NUM move PR-NUM to PR-NUM1 DISPLAY PR-NUM1 STOP RUN. When I run the program in Micro Focus Cobol and enter in the following data 0328 I get 28.00 which is not right. When I run the program in our older mainframe and enter in the following data 0328 I get 3.28 which is to be expected the leading zero is suppressed. Not sure how to get Zero Suppression working in Micro Focus Cobol
To use activex pdfcreator-2.4.0 should generate the .DEF file as follows AXDEFGEN PDFCreator.PDFCreatorObj PDFCREATOR.DEF This is due to a change in the com interface not seen since the version 2.0.0Greetings.
Problem How to deploy native applications built with Visual COBOL 2.3 to 6.0 on the network? Solution The following instructions are based on a 64-bit Windows environment where: the 32-bit software is installed in C:\\Program Files (x86) Windows keeps the 32-bit system files in C:\\Windows\\SysWOW64 Windows keeps the 64-bit system files in C:\\Windows\\System32. On a 32-bit Windows environment, the software is installed in C:\\Program Files, and Windows keeps the system files in C:\\Windows\\System32. Development requirements: Compile the native COBOL programs with the dynamic link setting. Click Properties under project Click the Link property Select Dynamic checkbox Rebuild solution There are two series of preparations to be done on both server and client sides to allow the COBOL applications to be launched from client machines. Server setup: 1. Install COBOL Server and its Patch Update (PU) at the same level or higher as the one on Visual COBOL.2. Go to Start > All Programs &
Problem: How to deploy native applications built with Visual COBOL 2.2 Update 1 and Update 2 on the network? Solution: The following instructions are based on a 64-bit Windows environment where: the 32-bit software is installed in C:\\Program Files (x86) Windows keeps the 32-bit system files in C:\\Windows\\SysWOW64 Windows keeps the 64-bit system files in C:\\Windows\\System32. On a 32-bit Windows environment, the software is installed in C:\\Program Files, and Windows keeps the system files in C:\\Windows\\System32. There is a new method of running an application over the network since Visual COBOL 2.2 Update 1. It consists of using the "runtime launch configuration file", which does not require to run mfcesd.exe explicitly from a .bat file from the client machines. Development requirements: Compile the native COBOL programs with the dynamic link setting. - click Properties under project - click the Link property - select
Problem: How to deploy native applications built with Visual COBOL 2.2 on the network? Solution: The following instructions are based on a 64-bit Windows environment where: the 32-bit software is installed in C:\\Program Files (x86) Windows keeps the 32-bit system files in C:\\Windows\\SysWOW64 Windows keeps the 64-bit system files in C:\\Windows\\System32. On a 32-bit Windows environment, the software is installed in C:\\Program Files, and Windows keeps the system files in C:\\Windows\\System32. There are two series of preparations to be done on both server and client sides to allow the COBOL applications to be launched from client machines. Server setup: 1. Install COBOL Server for the intended Visual Studio version (cs201x_22.exe)2. Go to Start > All Programs > Micro Focus License Manager > License Administration3. Install the license4. Click Options > Advanced Configuration5. Change the value for License Server with the current server's na
I'm trying to set the data file path for an mf cobol project. I've tried setting COBDATA in App.config but that get a fil status 35 on the file. If I move the file to the object code directory the file reads no problem. Is there maybe another variable to set in MF cobol
I have a dialog screen with a text entry field (class library field). After the first character I start a search and display a listview. So far so good. I want to have back the focus on that text entry field. After the statement SHOW-WINDOW WIN-MAT I have the following statements MOVE “SET-FOCUS” call-function(1) CLEAR-CALLOUT-PARAMETERS $NULL CALLOUT "matxtfld" 0 $NULL (matxtfld is the modified efdemotxtfld.cbl) It doesn’t work, maybe I have to add the Statement SET OBJECT-REF(1) , but to what? Can someone give me a hint Regards, Georg
Please, have example how to insert rows in JTable, or how implement DefaultTableModel, in a Managed Cobol#JTable#VisualCOBOL
Hi all, I use NE 5.1 and want to use fileshare. What is the best Approach?
Hello team I m facing a issue with with 64 bit and 32 bit acucobol. to being with we were initially using acu cobol 6 32 bit and the processing time took around 3-4 hrs but after we did a migration to acu 9 64 bit the time frame has increased to 10-12 hrs this is a client server environment,both have acu 9 64 bit , we had to recompile the acu 6 files to acu 9 but this hasn't help.. some one please assist .... #Performance#64bit#32bit
Hi, i have a Little Problem with a String under Visual Cobol 2.3 Update 2 / VS 2012 If will move this: 01 MyDataBlock string. to this 01 Structur: 01 Mein-Link01. 05 Benutzer-Name PIC X(30). 05 Benutzer-PW PIC X(08). 05 Benutzer-Recht-Tabelle. 10 Benutzer-Rechte-Tab Occurs 999. 15 Benutzer-Rechte-KZ PIC X. 05 Benutzer-Abteilung PIC X(30). This move will not working correct: move MyDataBlock To Mein-Link01 What is wrong? #StringMoveproblem
How do I program a TEXTBOX so that it validates the contents when the user enters some value inside it then presses the <RET> key? I have an 'Employee Number' box defined as my first text entry field where a user should enter an Employee number then press <RET> Once the <RET> key is pressed my code should go and check that the data entered exists as an actal employee. The problem is that I don't be able to find a textbox method or event that caters for this action. Have tried the event 'Leave' but this only works when I press the <TAB> key when I've finished entering data in the field and also then messes up all my button actions on screen as 'by definition' as soon as I click on buttons unrelated to the Employee textbox my code attempts to complete the 'Leave' defined code for my Employee text box.
Hi sorry, I not speak very good English but I understand to read. my work environment is under Solaris 9-10 with Server Express 5.0. and my problem is how redirect the SYSOUT to a file in mfsort. I am confused if I change OUTDD -> NOOUTDD on Solaris (UNIX pseudo)and where I should change it. thank you very much.
Hi! hat is this C# Code in VC? RibbonMenuItem rmi = sender as RibbonMenuItem; RibbonButton rb = rmi.DataContext as RibbonButton; if (rb != null && !rb.IsEnabled) rmi.IsHitTestVisible = false; Beste Regards Bernd
Does Net Express run in XP mode with Windows 7 64-bit OS?
Good morning Sir/Mdm, My name is Christian Murtas, and I am the PM for Creasys Srl, an Italian Cost Management and Project Management company. Creasys is currently interested in buying Extend 10. We have software written with AcuCobol 6.1 and wanted to know if it is possible to migrate to version 10 Extend without forseable complications. Alternatively, can we still purchase AcuCobol 6.1? Thank you in advance for your answer. Cordially, Christian MurtasProject Manager / Creasys S.r.L.
I have a mf cobol program that reads items from an indexed rm file. The filetype is set to 21. trying to open a file for output gives a file status error of 93. Reading the file works find but opening for output gives a 21.
Hello, I also need to call COBOL programs from C# on MicroFocus environment. I have checked the C# Winbook example and my solution based on it worked perfectly. But I have a lot of already existing COBOL code, which is in form of "Managed Mainframe Subsytem Application" instead of "Class Library" Project with preference to compile into Multiple Assemblies, and I have encountered multiple problems with calling this COBOL code from C# in a way presented in example mentioned before. 1. Referencing a project is not helpful, because each COBOL file in project creates its own assembly.I solved it with referencing directly DLLs created from COBOL sources. 2. ilsmartlinkage appears to not work in this type of COBOL project (despite enabling this option in project preferences). Thus, classes representing parameters defined in linkage sections are either not generated at all or not available in my C# project.Any help in solving this issue would be appreciated. Best Regards
This is my current configuration. Microsoft Visual Studio 2012 Shell (Integrated)Version 11.0.61219.0 Q11RELMicrosoft .NET FrameworkVersion 4.6.01055 Installed Version: IDE Standard Micro Focus Dialog System 1.0Dialog System package Micro Focus Visual COBOL 2.2 Version 2.2.01220. Get Package Manager 2.8.50313.31NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/. SQL Server Data Tools 11.1.20627.00Microsoft SQL Server Data Tools I have 8 solutions in production currently. If I wanted to go to the latest releases of Visual Studio and Visual Cobol, is there any runtime impact to the solution I have installed? I know with Net Express sometimes there were runtime updates that we had to pass along to clients. Thanks
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.