Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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
Hello, I am currently working on a Unix server (Redhat 8 and AIX 7.3) to compile Cobol programs by using Micro Focus Cobol V8.0 . To compile these programs I use the 'cob64' command line. When there are errors in source code, I get this kind of log (for AIX) : *===============================================================** Micro Focus COBOL V8.0 revision 000 Compiler* (C) Copyright 1984-2022 Micro Focus or one of its affiliates.* REF GNR-078800000AM* Total Messages: 1* Unrecoverable : 0 Severe : 1* Errors : 0 Warnings: 0* Informational : 0 Flags : 0* Data: 1546 Code: 0------------------------------------------------------------------------------------------------------------------------------------------------ THROW ERROR HERE* 71-S******** **** PROCEDURE DIVISION missing or unknown statementcob64: error(s) in compilation: TESTERR.pcbTESTERR.pcb - ERREUR DE PRE-COMPILATION COBOLI want to retrieve the line where the error occurred but I don't understand where to find it. The on
in sql management studio i can use following command: use lohn;godeclare @loc_zahl as intset @loc_zahl = 0if not exists (select * from sys.objects where object_id = object_id(N't_svdata') and type in (N'U'))begin raiserror('t_svdata existiert', 16, 1)end/* select * from t_svdata */select @loc_zahl = count(svd_schl) from t_svdataif @loc_zahl > 0 delete from t_svdata/* drop table t_svdata */goselect * from t_svdatago but when i use this in vc, the declare will not be accepted. How to declare a unique variable? Is there a precompiler or debugger to debug the mssql commands in a cobol program here the cobol statement: EXEC SQL use lohn /
Hi, Good Afternoon!!! Need Help for the below Errors while compiling a RM COBOL With Visual COBOL. I am trying to CONVERRT the RM Program into Visual COBOL Version USING the Microfocus as Dialect. I am getting the below Compilation error for one of my Program. And seems the RM Statement is not accepted in Visual COBOL. Here is the code :- WS-ACCEPT-LAST LINE WS-CRT-BEG-LINE POSITION 13028600 PROMPT ECHO. And The error is :- COBCH0012S Operand ECHO is not declared YYYYY.cbl /CBL_RTE line 328 COBOL Another issue :- DISPLAY DISPLAY-HEADER-1LINE WS-CRT-BEG-LINE POSITION 1 REVERSE. Error :- COBCH0012S Operand REVERSE is not declared YYYY.cbl /CBL_RTE line 522 COBOL Thanks !!
Micro Focus Visual COBOL version has recently been upgraded from version 6.0 to version 7.0 for our product. In version 6.0, we had the patch 18 changes. We need to confirm if we need to add patch 18 after upgrading to Cobol version 7.0. Will Micro Focus COBOL version 7.0 include the patch 18 changes?#Microfocus#MicroFocusVisualCobol#VisualCOBOL
I am getting the following error when attempting to display a screen in Visual COBOL: 114 attempt to access item beyond bounds of memory (signal 11). I read the article at the following link: https://community.rocketsoftware.com/discussion/causes-of-114-attempt-to-access-item-beyond-bounds-of-memory-error#bm5f1a6939-d93a-4e25-8a5a-bef747adc13d The article suggests a possible solution by allocating memory. However, I do not understand their description of how to do this. I am using Microsoft Visual Studio 2022 with Visual COBOL version 9 on Windows 10. This problem does not occur with my previous version of Visual Studio and Visual COBOL. These versions are, respectively, Visual Studio 2019 and Visual COBOL version 5. Thanks in advance for your help.
Hello, i try to read user information from the ActiveDirectory with OleDB. Most work already. But currently i have problems to get the Data when the User Password will expire. The Data is saved in an integer8 field but i don't get the expected value in my code here. in @fields::@item("msDS-UserPasswordExpiryTimeComputed")::valuein hlp-test4I should receive for my user for example the value: 133494369554492556But i get only 7624I tried several things.Cause it is an integer8 value it should be declared as s9(18) comp-5 but here is also the value 7624.Has anyone an idea how to get here the correct value? Or what 7624 is, that i can work with this value?Regards David Neidinger #AcuCobol
We are getting this error with our application running on RHEL 8 linux. ? Any idea?
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.