Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
We're migrating from an old big-endian Solaris compiler (compiler version 5.1.4.0) to VC 9.0.0.59 (patch update 2) on little-endian Linux. We're seeing an extra leading zero on fields defined as COMP. This field: 03 ct-read pic 9(07) comp value 0. will display as an 8 digit number (not 7 as defined) on Linux: 07754589 On Solaris, it would display as: 7754589 The field is displayed directly using a DISPLAY statement. Compiler options for both platforms are: NOBOUND NOALTER COMP NOCHECK NOCHECKDIV NOTRUNC OPT=3 FASTLINK NOANIM NOCOBIDY OPTSPEED Changing NOTRUNC to TRUNC on Linux results in a completely different number being displayed (using the same static input files): 4531805 Removing both compiler directives COMP and NOTRUNC also removes the leading zero from the display on Linux: 7754589 As part of the migration, we would of course like the output of all of our programs to be the same on both platforms. So some questions: * Why is there now a leading zero in the display on Lin
Hi, We currently upgraded AcuCobol 10.5 to 10.5.1. We are using NPOI to create .xlsx files (Spreadsheets) through a .dll. For run time 10.5, this feature was functioning perfectly. However, after the upgrade to 10.5.1, the .xlsx is not getting generated. The following lines in .dll is saving the .xlsx. using (FileStream fileSave = new FileStream(xlsFilename, FileMode.Create, FileAccess.Write)) { workbook.Write(fileSave); fileSave.Flush(); } It seems to me that the workbook.write has failed. However, no exceptions were displayed. We tried running the program in administrator mode too. It looks to me like some configuration changes need to be done.Could you please help me with this issue. Thanks, Aji Cherian
our server that was running netexpress crashed.We have now copied everything from a backup to a new server, but now cobol compiler no longer works.How do I get that working again?I think the license number is not found.Should I reinstall that instead of just copying it to the program files folder ?when i try to run cobol.exe I geterror code: 109, pc=0, call=1, seg=0109 Your product license has expiredmake: *** [objects/hlrekagt.obj] Error 32But the license is not expired, but not found I think
Got a new HP Envy Laptop that I can not figure out waht key combinations to get the BREAK Key for debugging. My old Elitebook was just use the FN + R to send the break key. I talked to HP and they could not answer me unless I went to Level 2 support with a charge. So, does anyone know if I can remap a key somehow via a 2019 server to send a break key. Or can I change the debug somehow to use a different key combination. Any advice would be helpfull As i will try it.
Visual COBOL Personal Edition is a free full-featured product that can be downloaded from the microfocus.com web site. It is distributed with a single user, one year license. VCPE is a limited product which can be used as a learning tool only and cannot be used for production level development. Currently, the Visual COBOL PE 8.0 for Visual Studio is available for download here: Visual COBOL PE 8.0 for Eclipse on Windows or Ubuntu will be available later this year. #COBOL#VisualCOBOL#SupportTips/KnowledgeDocs#VisualCOBOLPersonalEdition#SupportTips/SupportTips/KnowledgeDocs#Announcement#Education-Training#VisualCOBOLPE
About 6 years ago I had a query about using the DS in MF Cobol. I have had another try at using it based on this: https://www.microfocus.com/documentation/net-express/nx40/dcchar.htm I set up the DS environment and, in a Windows Terminal, defined the Data Block as per the tutorial. However when I tried to Save the Screen set I received a message: "Error creating file". So either I have an incorrect environment or DS is supposed only to be used in UNIX or DS is crippled since MF do not expect it to be used for any new developments. I can understand the latter and that MF consider it a 'legacy' system. However if this is not the case i.e. it's not crippled, what might have caused the error? I'm using DSChar contained within Visual COBOL.
We have microfocus Visual COBOL version 2.3 on server Red Hat 6. Our database growing for 15% and programs begins work 3 times slower.
Hi guys, we are using a client generate by imtkmake using MICRO FOCUS SERVER EXPRESS 5.1 for pSeries running AIX installed on the customer machine that sometime failed with error code 0200. After various tests we identified what could be a possible cause, i.e. the size of the buffer containing the request was shorter than the request itself. We therefore extended the initial size that had been generated by imtkmake bringing it from the value 100000 to the value 150000 but the result did not change and we always get the error 02000. The counterparty receiving the request told us that data recevid it is truncated despite the size of the buffer that contains it. I couldn't find information on error 02000, what is the cause that generates it or where can I check to determine the cause?? Is it possible to extend the size of the buffers provided for requtest/respons? These are code use to made the call to the webservice : &
Hi, we use level 78 constants to keep our data consistent e.g. LENGTH-PATH, LENGTH-CITY etc. So in the WORKING STORAGE SECTION we only need 03 CUST-CITY PIC X(LENGTH-CITY). The problem is that we want to use these also in the FILE SECTION. But our source only compiles correctly if the first statement of the FILE SECTION is an FD. Do you have an idea how to solve this issue ?
Hello Micro Focus Community, I'm encountering difficulties when attempting to use transactions with AcuCOBOL-GT 10.4. Initially, I noticed that version 10 includes, by default, the RMFM file system, which, according to a community post, doesn't support transactions. I reverted to a previous version, and the errors ceased. However, when performing a ROLLBACK, the information is committed, and the reversal is not carried out as expected. Below is a simplified example of my code: START TRANSACTION.SET WF-OK TO TRUE.PERFORM REGISTER-INFOIF WF-OK COMMITELSE ROLLBACKEND-IF. The code above involves processing various records, each handled by different paragraphs (REGISTER-CLIENT, REGISTER-PRODUCTS, etc.). Upon executing ROLLBACK, the information is not rolled back as anticipated. Any suggestions on how to approach this issue? Has anyone faced a similar situation with AcuCOBOL-GT 10.4 or has insights on configuring transactions correctly in this version? I appreciate any help or guidance you
We need to find out if one of our customers have had certain Visual COBOL Server patches applied. Is there a way to see that? Where would I look?
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
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.