Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I am unable to find any resources on this that resolve my issue. I'm quite new to COBOL and the dotnet ecosystem. I am on the personal edition where I've created a COBOL class library (.NET) and a C# console application (.NET). I referenced the class library project and implemented the function, but I get this error shown below. Error System.IO.FileNotFoundException HResult=0x80070002 Message=Could not load file or assembly 'MicroFocus.COBOL.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0412c5e0b2aaa8f0'. The system cannot find the file specified. Source=SearchFrate.Core StackTrace: at SearchFrate.Core.Class1.Next() in C:\\Users\\repos\\ProjName\\ProjName.Core\\Class1.cbl:line 9 at Program.<Main>$(String[] args) in C:\\Users\\repos\\ProjName\\ProjName\\Program.cs:line 3 C# using ProjName.Core; Console.WriteLine(Class1.Next()); COBOL class-id ProjName.Core.Class1 as "ProjName.Core.Class1". working-storage section. method-id Next static. local-storage section. proced
Hi, I have a problem to retrieve an activation code of RMCOBOL 12. I rececieved the below error message: Error occured. Please try again later! Please tell me what can i do. Thanks.
I had the free versions of PE for Visual Studio 2022 on my PC, but could not get to work. When I downloaded the software, I had just changed my ISP and it was dropping out all the time. I have deleted all of the free PE software and the Visual Studio from my computer. I had installed Visual Studio 2022 and was concerned that maybe I had installed the incorrect version for the free PE? How do I go about getting a new copy of the free PE and is the Visual Studio 2022 the correct version that I should be using? thanks#VisualCOBOL#QuestionaboutgettingnewcopyofPEandwhichVisualStudioIshouldhvaebeenusing#Installation
In our application we use the CBL_GET_PROGRAM_INFO function embedded in a copy to determine and output the name of the active program for logging purposes.Now we want to migrate our application to JVM Cobol. Our search for an adequate function there has so far been unsuccessful. How can the program name be determined there?
I'm using 10.5.0 thin client on Windows 11 and it comes up with Memory Access Violation when I run Shell32.dll to display a PDF file. When I use thick client, there are no problems, or if I drop the @[Display] and run this in thin client - then comes up with authorisation issues.
Problem Who provides support for RM/Panels programs? Resolution The RM/Panels product was one of the forerunners to the WoW product range and provided a way to quickly move a RM Cobol application from a character based application to a Windows based application without having to rewrite all the COBOL business logic. The last available version of RM/Panels was the 2.1 version and the documentation for that product can be downloaded from this location: RMpanels_v21.pdf The RM/Panels product is supported by the company England Technical Services (ETS). Below is a link to their home page: http://showcase.netins.net/web/etsinc/index.html Note: The standard COBOL syntax is supported by Micro Focus; however the specific syntax of RM/Panels or issues relating to the use of RM/Panels are supported by ETS. Incident # 2796367 #RMPanels#RMCOBOL
so the following; 01 di-val string occurs any. set size of di-val to 1. move "123" to di-val(1) set size of di-val to 2. move "ac" to di-val(2) When "set size of di-val to 2" is executed, di-val(1) is set to null (ie. all elements in the array are set to null) Is there any way around this or an alternative approach. I basically want an array that can contain strings of varying lengths without taking up too much memory.#managedcode#VisualCOBOL
I am taking the Micro Focus COBOL Fundamentals course (https://www.microfocus.com/en-us/cobol). I have installed the "Learn COBOL" extension into my pre-existing Visual Studio Code installation (using the extensions menu). Following the video instructions I have created a file called "Hello World.cbl" and typed in the COBOL code suggested. My program runs fine, but it does show an error as shown in the screenshot below. This suggests to me that something about my Visual Studio Setup is not correct. I had to add .cbl as a file extension because it did complain about that. So I assume there is also something else not correctly applied from the Micro Focus extension installation. The video at this part of the course suggests that we write this Hello World program to check that our environment is correctly set up, but then it does not provide any assistance in getting it correctly setup if it is not. We were directed to come here with any questions, so I hope this is the correct place to
Installed Cobol software: Micro Focus Visual COBOL Development Hub 7.0 - Patch Update 18 Invoking debug by setting export DEVANIM=+A and trying to debug a program but getting below error and unable to proceed with the debugging. WS-DEBUG=+A /usr/bin/X11/xterm Xt error: Can't open display: localhost:0 Compilation and runtime are working fine without any issues.#VisualCOBOL#aix
Hi, is it possible to know the encode of a string in cobol?
We have been implementing an upgrade from Visual COBOL 2.3.2 to COBOL 8.6 and have been utilizing it within our development environment from Visual Studio. We have now moved to our TFS server which is 14.114.26403.0 (Tfs2015.Update4) running on Windows Server 2016 Datacenter. Initially our TFS build was failing due to the missing COBOL version in our project files however after this was updated, we received errors relating to the MicroFocus.COBOL.CurrentVersion.targets. The first issue was with the same version error, however after fixing the version configuration in the targets file we are running into more issues with the builds. Before I go modifying anything else to have this working, I'd like to ensure I am going along the right path. What I have done so far: Created an offline Visual Studio 2019 Enterprise layout with all of the required packages. Installed Visual Studio 2019 Enterprise Performed all of the steps in https://www.microfocus.com/do
Hi, we works with Visual Cobol runing in UNIX servers and our BBDD use UTF-8 encodig. Now we are starting to transfer informatión with other companies using API´s. The problem we have in this moment is that we recive the information ANSI encode and we need convert it to UTF-8 encode. is there some way to do this in cobol?
My customer has a device that only communicates via COM ports...how does Acu-COBOL Extend handle this? And it doesn't have to be with the API if a better way is available.#AcuCobol#COBOL
We have been running the same software for several years using AcuCOBOL runtime 10.2 on a Windows network with an Oracle database. Everything is fine without error and then randomly we get an error that gives very little information. Just a message that says "ProgramName: Not a COBOL Program". Any idea what would case this?
I have Visual COBOL 9, UnixODBC 2.3.9, Microsoft ODBC Driver 18 for SQL Server installed on RHEL 9. odbcinst -junixODBC 2.3.9DRIVERS............: /etc/odbcinst.iniSYSTEM DATA SOURCES: /etc/odbc.iniFILE DATA SOURCES..: /etc/ODBCDataSourcesUSER DATA SOURCES..: /xxxxxxx/odbc.ini I have ODBCINI set to xxxxxxx/odbc.ini LD_LIBRARY_PATH = :/opt/microfocus/VisualCOBOL/lib:/opt/microsoft/msodbcsql18/lib64:/usr/lib64 When I ran a simple COBOL program to connect to the database, I keep getting the following error:- OpenESQL Error: Unable to load ODBC Driver/Driver Manager. Ensure that yourdatabase environment is set correctly.Connection to database failed: Sqlcode = -0000010000 Sqlstate = IM001 Sqlerrmc = Any help/suggestion will be appreciated. Thanks!#VisualCOBOL#unixODBC#mssql
youtu.be/X6YifKnVuHg#Videos
Hello, As I understand, there are 3 ways of dealing with XML (please correct me if I'm wrong): XML PARSE - a set of statements that are coming from IBM Enterprise Cobol. This syntax is allowed for compatibility reasons XML Extensions -> XML IMPORT/EXPORT syntax that is pure MF XML Extensions -> ORGANIZARION IT XML syntax that is also pure MF and more Cobol-like syntax. With the first one everything is clear. My question is concerning the difference between the points Nº2 et Nº3. Which one is advised to use? Any limitations? How to make the choice? There are the same libraries behind this 2 syntax? Thank you in advance.#xmlparse#xml-extensions#XML#organizationxml#XMLImport
Hi there, I have some questions about Visual COBOL for Eclipse Personal Edition. As I know, the PE license was for 1 year, renewable. I've installed it less than a year ago, then opening it now it's saying "Unable to find a license on this machine"... Once checked in https://my.microfocus.com/myproducts I see the license was like for 3 months... Before it was automatically renewable directly from Eclipse. Now it's not the case. How can I renew my PE license? Thank you in advance.#VisualCOBOL#PersonalEdition#Eclipse#VisualCOBOLEclipse
Our application uses Microfocus Visual cobol 7.0 version and frontend application is in JBOSS. We are connecting the frontend (UI screen) and backend (COBOL) through activeMQ version 5.16.1. In the current logic, the activeMQ address with port number of 61616 and user_id and password are hard-coded in cobol module to send/receive the value from frontend to cobol module and vice versa. I am trying now to enable failover transport logic of activemq to acquire high availability. Logic can be included in the JBOSS configuration for failover as "<config-property name="ServerUrl">failover:(tcp://broker1_url:61616,tcp://broker2_url:61616)</config-property>". We need the failover logic in cobol code to test the HA. Attached the code snippet of current logic for connecting activemq in cobol module. Please suggest me on how to add failover logic in COBOL module. CONFIGURATION SECTION. repository. class AMQConnectClass as "$JAVA
We are upgrading from NetExpress to Visual Studio/COBOL 8.0 We have a program that runs fine under NetExpress but with Visual COBOL it error with SQLCODE = 000019514- (Cursor is not prepared) The program is doing the first fetch fine but gets the error on the second fetch, we are doing an update on another table between the fetches but the DB connection is not being disconnected (like in other 19514 issue I have seen). We are using transaction level commit, so a commit is done between the fetches. Any help would be appreciated. Thanks
I am trying to manage a pipe and for some reasion the compiler refuses to recognise the type i use; invoke pipeSec::AddAccessRule(new System.IO.Pipes.PipeAccessRule("Users", type System.IO.Pipes.PipeAccessRights.ReadWrite, type SysSec.AccessControl.AccessControlType.Allow)) it takes exception to "type System.IO.Pipes.PipeAccessRights.ReadWrite" even though it's ok with "System.IO.Pipes.PipeAccessRule" and "SysSec.AccessControl.AccessControlType.Allow" where SysSec is mapped to SystemSecurity in the repository. Any help is greatly appreciated. Thanks Micro Focus Visual COBOL Version 8#COBOL#managedcode
When moving a group item that contains a null to another field. The resulting field only contains characters up to the null. Here is a project that demonstrates the issue Any help is greatly appreciated Thanks#managedcode#VisualCOBOL
in sqlplus i was able to executeSELECT XMLELEMENT("EMPLOYEE",XMLATTRIBUTES('RAM' "NAME"),1022) FROM DUAL;but when compiling the pro cobol program000001 IDENTIFICATION DIVISION.000002 PROGRAM-ID. XMLGEN.000003 ENVIRONMENT DIVISION.000004 INPUT-OUTPUT SECTION.000005 DATA DIVISION.000006 WORKING-STORAGE SECTION.000007 EXEC SQL BEGIN DECLARE SECTION END-EXEC.000008 01 XML-VAL PIC X(100).000009 EXEC SQL END DECLARE SECTION END-EXEC.000010 EXEC SQL INCLUDE SQLCA END-EXEC.000011 PROCEDURE DIVISION.000012 PERFORM PARA-FETCH THRU PARA-FETCH-EXIT.000013 EXIT PROGRAM.000014000015 PARA-FETCH.000016 EXEC SQL000017 SELECT000018 XMLELEMENT("EMP
Hi, Currently we are using Micro Focus COBOL on windows. I have the following query on migration from 32 bit COBOL to 64 bit COBOL . What are the necessary changes I have to do from Micro Focus end? I was not sure where to start as well. Please guide the same.
Hello, Currently we are using COBOL and DATACOM as database. Is Micro Focus COBOL supports DATACOM ?? Thanks Subbu
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.