Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I have a very serious problem with Visual Cobol and Visual Studio 22, I made a project and a solution, I have a code to connect with MySql and insert record, everything worked until I had to renew the visual studio license, from that moment on it does not You can insert records, but if I can consult the records from the database, no error occurs, it displays the record inserted correctly in the message. From that moment on, I started reinstalling MySql, Visual Studio, Visual Cobol, several times, the last installation of Visual Cobol was done wrong, now it won't let me uninstall it completely. I have started with a great desire to learn Cobol and I have this problem that I don't know how to solve. I would greatly appreciate any help you can give me. Thank you#VisualCOBOL
Hi Apologies if this is not the right place for this. I am unable to access the code translation site cs2cobol.microfocuscloud.com It is saying the cert expired on 1/2/2024. I tried on Firefox and Microsoft Edge on Windows 10. There is an option to accept the risk and continue to the site but I would rather not risk it. Firefox says the issue is most likely with the website. Is there anything that can be done to resolve this? An alternative site perhaps? Thank you Brendan
We currently use a third-party spell-checking software with one of our COBOL applications. The COBOL program makes a call to this third-party software at run time. This third-party spell-checking software, however, is no longer supported. I wanted to know if anyone knows of a spell-checking software that can be utilized with our COBOL application. We currently use Visual COBOL version 9 with Microsoft Visual Studio Community 2022. Our operating systems are Windows 10 Desktop and Windows 2022 Server. Thanks in advance.
I have Server#1 having RM/Cobol Compiler + XML Extension : > Able to compile Cobol Program with XML. > Execute Cobol Program and read xml. Server#2 has RM/COBOL Compiler + XML Extension. > Able to compile Cobol Program with XML. >Not able to Execute Cobol Program failing for "object files not licensed for XML Extensions" Sorry I am not too much in infra. Do I need to reinstalled RM/COBOL Compiler and XML Extension or Reintalling XML Extension will fix issue.#RM/COBOL
Wich parameters can/must be used to become the maximum from a *.h file to insert the output on a cobol cpy file? i had errors by converting and become no output i will join the h files i become only errors, also when removing the lines with tchar.h Execution error: file ' 'error code: 245 pc=0, call=1, seg=0245 error message txt not found Thanks for helpcommunity.microfocus.com/.../cmbtLL29.rar
This article provides information and COBOL code to create USPS Intelligent Mail barcodes. Problem: The Intelligent Mail barcode, formerly referred to as the 4-State Customer barcode, is a new Postal Service barcode used to sort and track letters and flats. The Postal Service is promoting use of the Intelligent Mail barcode because it expands the ability to track individual mailpieces and provides customers with greater visibility into the mailstream. However, the creation of the barcode is complex and uses bit manipulations not familiar in COBOL. USPS provides a subprogram for several platforms, but an ‘all COBOL’ solution is more portable. Resolution: RM/COBOL provides logical bit manipulation capabilities in its subprogram library. The attached RM/COBOL program makes use of these capabilities to implement the algorithm set forth in USPS-B-3200, without use of the DLL and shared object libraries made available by the USPS. A test program
ChrisI've been trying to compile test1.cbl as per the sample given in www.microfocus.com/.../dcchar.htm chapter 3 and using 32-bit Object COBOL in Windows Terminal (and tried also in Visual COBOL command prompt.).I compile to TEST1.GNT. Then choose F6=Run but the screen remains blank.There is a TEST1W.EXE created but running this just gives a blinking cursor. Recompiling gave TEST1WG.EXE. Running this showed a COBOL Text Window but again with just a blinking cursor.Previous attempts to run the program gave a message that 'DSRUN' cannot be found in the file or folder. I have set up a batch file to provide the COBOL environment and pointers to the DSChar\\bin folder so I'm not sure where it is trying to find 'DSRUN'.There is a dsrun.dll and a couple more .dlls as well as dsch.exe, which I've used to create the screen set in DSChar\\bin.So is there a DSRUN.EXE?Are the DS object modules (Chapter 14, Linking, e.g, dsrun.obj, dscrun etc) not included in this
Hi, I am trying to allocate only the needed amount of memory when working with static tables in cobol. The table(which is part of a data-area) is then used as a parameter in json generate statement. Suppose there are two programs. Program TestA and TestB. TestA calls TestB which is the one responsible to allocate n amount of memory depending on the size of the table. This means that even though the table has a boundary of 50000 items I want that the amount of byte allocated to the data-area should be less than that(depending on the amount of items populated which is known only in runtime).Below is the an example: program-id. TestA as "TestA" environment division. configuration section. data division. working-storage section. 01 foo-pointer. 04 tmp-ptr pointer. 1 tbl-size pic 9(8) value 0. 1 outputarea pic x(53400356) value space. linkage section. 1 fooArea. 2 fooResponse. 3 fooRespOkPayload. 4 fooRespOkCode pic x(10) value space. 4 fooRespOkMessage pic x(100) value space
I have built a solution but when I try to run it outside of Visual Studio I get the error. Windows 11 Visual Studio Community 2022 Build 17.8.5 Visual Cobol 9.0 Personal Edition Console Application.
January 24, 2024 8:00 am PT | 11:00 am ET | 17:00 CET Speakers: OpenText Vice President COBOL Susan Drennan, and Senior Solutions Engineer Jim Baum Register now If mainframe and COBOL are at the heart of your operations, breaking the bounds of mainframe architecture to scale and innovate at speed can seem daunting. Fortunately, you can accelerate your digital transformation journey while staying agile in today’s fast-paced multi-cloud world. Join our OpenText experts for this webinar—the first in a series of regular, monthly sessions focusing on COBOL and dedicated to the community of COBOL professionals—as they discuss how you can build on the proven IT investments you rely on every day to: Deliver continuous value while managing a fast-paced and ever-changing IT landscape. Innovate faster, with lower risk, by transforming your core business applications, processes, and infrastructure—from mainframe to cloud. Say goodbye to ugl
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?
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.