Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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
Quick Question - Can RM\\COBOL Version 12.12 be run on Windows Server 2022??
Hi, I have an entry field that I want the user to type in what they are looking for, in this case, a customer name. I want the program to receive each letter as it is typed. Right now, I can get the previous letter as it is typed from the event, but I need the current letter. For example, when the user types "G" in the field, the event-proc returns to the field variable blank, then when the user types in the next letter, "Gi" being what is in the entry field now, the event-proc returns the "G". I need to have to return the one being type at the time, not a lag as it does now. Does anyone have a solution to this? Thanks, Kevin #AcuCobol#entry-field
I had a customer who used Acu4GL for SYBASE with the old version for a long time, but sometimes the application got MAV error. Because the older veriosn was just for 32-bit Windows, and the customer is using the current Windows platforms which almost are Windows x64, we apply an evaluation of version 10.5 to test for the newer Windows x64 platforms. According the content in the document, Acu4GL for SYBASE can use the 32-bit libraries with a 64-bit runtime and 32-bit Acu4GL for Sybase. So we just installed the 64-bit version which included runtime and Acu4GL for SYBASE 32-bit (can choose from the product selections). But after some initial procedures working(like new stored procedures creation), we found the application seemed didn't direct the file I/O through Acu4GL for SYBASE(no SQL statements in the log file) and just got file error 35. Does anyone know how to set up the Winodws environment for v10.5 x64 version to let Acu4GL for SYBASE work? SYBASE was 12.5 and the
This is happening immediately upon the region starting up. We can see in the logs that it finishes creating all the SEPs, and 10 seconds after all the SEPs abend with the message "CASCD0154S SEP 00001 for ES PROD abended by signal 4294967295". Our clients are using 10 SEPs, and they all abend the same way. See part of the log file below. The rest of the log file looks normal. The most recent clients are in versions "ED6.0/20230530_PU25" and "ED6.0/20230630_PU26". Has anyone had this reported? Thanks. 231023 05010373 5544 PROD CASCS5100I Communications Process instance 01 is ready to accept requests 05:01:03231023 05010389 CASCD0127I SEP 00001 created for ES PROD, process-id = 2448 05:01:03231023 05010392 CASCD0127I SEP 00002 created for ES PROD, process-id = 6484 05:01:03231023 05010392 CASCD0127I SEP 00003 created for ES PROD, process-id = 3096 05:01:03231023 05010407 CASCD0127I SEP 00004 created for ES PROD, process-id = 6768 05:01:04231023 0501040
Boas, estamos mudando do AIX 7.1 para o AIX 7.2. Você sabe dizer se a versão do Cobol v5.1.00 WrapPack 8 é compatível com o novo AIX 7.2? Agradeço pela ajuda Valmir
Hi, I created a DLL for our AcuCobol program. In our system, we have folders like1. swrun\\acucorp\\bin2. swrun\\activex The DLL works only when the DLL is placed and registered in swrun\\acucorp\\bin.What do I need to have to do to work the DLL from swrun\\activex folder? Please advise. Thanks, Aji Cherian
Problem: On Red Hat Linux, when attempting to create an executable using the "cob" command with the "-x" flag, the following error appears: ld: cannot find -lgcc Resolution: An end user might have different versions of gcc installed on Red Hat Linux. Server Express v4.0-SP1 for Red Hat was originally built using gcc version 3.2.3. The file $COBDIR/etc/cobopt includes the following line: set GCC_LIB=/usr/lib/gcc-lib/i386-redhat-linux/3.2.3 This sets the environment variable GCC_LIB, which is later used by the "cob" command, in cooperation with the file $COBDIR/lib/liblist, at the time "cob" creates an executable by invoking the "ld" linker. If there is no file named "libgcc.a" in the $GCC_LIB directory at this time, then the error occurs: "ld: cannot find -lgcc". To determi
hello, How can I solve this error message, in an option that did not appear until yesterday? Regards#Announcement
i'm using 10.0.1 runtime on windows platform and basic pattern matching seems to work fine but if I try something that uses the logical OR operator (|) it fails to match. For example, this expression works (matches on "test 2, test1"): test2.*test1 This one doesn't find any matches (should at least match the above example): test1|test2 My runtime-exp-flg is set to 1 to ignore case which works on the first example. I have also tried 0, 3,5, 11. I realize part of the challenge is my regex skills but if anyone has good example of it working or suggestions, I would appreciate it. #extend#AcuCobol
Is there any documentation, or does anyone have experience in executing ACUCOBOL programs on a Windows PC set up as a virtual machine under AZURE. What steps or changes to the config file, if any are needed. Or is it even possible ?#VirtualWindowsPC#Azure
We are trying to update to Visual Cobol DevHub 8.0 (Patch Update 9) from DevHub 7/DevHub 6. and we are getting below error when compiling a cobol program. The program or the compilation script is not changed and module is getting compiled without any error in DevHub 6 and 7. Even in DevHub 8 the module is getting compiled without any program errors but when creating .o file, below error is displayed. Kindly help to resolve the issue Current Configuration :Base Directory : /projects/pr/server/server** -- **Compiling : BATCHCON.cblMember Name is : BATCHCON.cblMember is : BATCHCONCompiling COBOL Program with SQL Options ...cob64 -x -v -V -t -C DIR"/projects/pr/server/scripts/cobol.dir" BATCHCON.cbl -o BATCHCON -L /usr/mqm/lib64 -lmqicb_r -L /db2inst1/sqllib/lib64 -ldb2 /opt/microfocus/VisualCOBOL/lib/cobdb264.so /opt/microfocus/VisualCOBOL/lib/cobrtxml64.so /opt/microfocus/VisualCOBOL/lib/libxerces-c64.so* Micro Focus COBOL V8.0 revision 000 Compiler* (C) Copyright 1984-20
Just an information request. Is there anywhere a document that lists the extent to which Visual COBOL adheres to the ANSI/ISO COBOL standards? Obviously COBOL 85. But what about 2002, 2014 and 2023? I know that MF produced Object Oriented support (Object COBOL) but I've not been able to find the extent to which it differed from the standard. I'm not interested in anything related to .NET - essentially Native (not Managed) coding. Thanks
We have recently migrated our product to AWS cloud environment, our product uses Visual Cobol version 7.0 and I am looking for recommendations regarding Visual cobol code scanning tools that are effective in identifying and mitigating code vulnerabilities.#VisualCOBOL
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.