Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I am using VS Code to code Visual COBOL. And one of my programs will require to connect to DB2 (MySQL Workbench). As per my research, I need to have ODBC to apply the OpenESQL in microfocus. But as I was trying to compile my cobol program, I am hitting an error saying: error COBCH0149 : No SQL directives have been set. But on the upper part i have declared $SET SQL. I also tried updating the default directives to include sql, i am still getting COBCH0149 error. #VisualStudioCode
I was trying to connect to DB2 using ODBC. When i try to compile my program on VSCode, I am getting COBCH0149 No SQL directives have been set. But before compiling I have set the default directives to include SQL also I have set the value before the identification division. $SET SQL I tried to include other directives like below: $SET SQL(INIT DB=PSDB2CONN PASS=postgres.****) Error: COBCH0053 : Directive DB=PSDB2CONN invalid or not allowed here.#VisualStudioCode#DB2#DB2.Connect
Hi Everyone, I've got a client that just started using AcuToWeb with version 10.4.1 (it was the latest version when I developed the current version of my software) and we're running into some visual/UI problems. Originally, without any scroll bars, if the browser window wasn't large enough to show the window, it was just cut off. I added a CSS file for a custom Theme with the only change being I added an html/body style that sets "overflow: auto". That gave me the browser scroll bars back, but the AcuToWeb "virtual" application window still seems to think that the rest of the browser canvas is inaccessible. Is there any way to change the SCREEN settings/variables so that it's understood that the virtual canvas is unlimited and that the browser should handle all of the scrolling, not the application windows? It's doing things like making the status bar huge, so that it's visible on the screen by default, but if you scro
Looking at documentation for Visual Cobol in Visual Studio 2019/2022 in Developing Applications in the IDE > Building Cobol Applications > Compiling Cobol Applications > Using Preprocessors > Additional Preprocessor In the section Specifying an additional preprocessor there is a note: Note: It is not possible to combine the "Micro Focus - EHTML Preprocessor" and "Micro Focus - XML Preprocessor" with other preprocessors. Selecting one of these preprocessors will prevent you from adding any other additional preprocessors. See Integrating Preprocessors into Visual COBOL for instructions about how to integrate an additional preprocessor with the list in Visual COBOL. My first question is, where is the section "Integrating Preprocessors into Visual COBOL"? Searching for it gives nothing useful. My second question if this is the case, what are the recommendations for code that handles both oracle (with pro*cobol) and XML (using the XML preprocssor)? Some ex
We have recently upgraded to docker image of Visual Cobol DevHub 8.0 (Patch Update 9) from DevHub 7. and we are getting below error when while calling .int compiled module. execution error : file 'server/bin/module.int'error code: 40, pc=5F, call=1, seg=0 40 National Language Initialization not set up correctly I have verified that LANG is set as en_us which is available in /opt/microfocus/VisualCOBOL/LANG folder. Please suggest the solution to resolve this issue.#VisualCOBOL#MicroFocus
Is it possible to show a quick-info when hovering over a bitmap that is shown in a standard grid ?
When we log into our software - the program is giving us an 9D,18 error. According to the documentation, that means that "An Error occurred when creating the primary key for a secondary table". But when I get this error - that is not what is going on in the software - we are just opening and reading files. I also found that the 9D,18 error could mean that both types of SQL Authentication is being run in the ACUFH.TXT file. That is not the case here either. Can anyone help with this error? Our customer is dead in the water until we get this fixed.
HI - I have file that contains 1 record but the length of data can be from 2 chars to 700,000 chars. I want to access such file in RM/COBOL program, ran via shell. Neither FD section approach nor sending via LINKAGE section is working. Using XML IMPORT FUNCTION. Is there any other oway to pass the data. Something like reading file in shell, pass address of data to cobol program, and Cobol access via address if possible. [Looking for utilityC CRG or DARG]. #linuxcobol#RM/COBOL
HelloI am trying to install Micro Focus Enterprise Developer 9.0 on Windows Server 2022, but I have an issue. I have checked all requirements stated in documentation related to windows installation, everything is fine. The error is :"Service 'Micro Focus Directory Server' () failed to start. Verify that you have sufficient priviledes to start system services."I launch the script in both non-administrator and administrator, leading to the same error.I check online for community solution, I tried this one : https://community.rocketsoftware.com/discussion/service-micro-focus-directory-server-mf-ccitcp2-failed-to-start#bm7df637c8-eff8-47e1-93c3-32607081f8ff.Without any success.Version of "Microsoft Visual C++ Redistribuable" installed (x86 & x64) is 2022 - 14.38.33135.0 Here's the log file:/cfs-file/__key/communityserver-discussions-components-files/265/Micro_5F00_Focus_5F00_Enterprise_5F00_Developer_5F00_for_5F00_Eclipse_5F00_20240219152933.log Is there anything that can be done
We've created a short series of videos on using COBOL Profiler, a feature of OpenText Micro Focus Visual COBOL. Profiler helps you analyze performance of your COBOL application, by reviewing statistics gathered during execution. Profiler can gather these statistics without the need for program changes. With Profiler, you can do things like: Figure out which portion of your application is taking the most CPU time (or, Elapsed time) to execute. This can be seen at the level of COBOL Programs in a multi-program application, or down at the level of COBOL paragraphs and sections within a program Help discover where performance bottlenecks are that might be affecting your migration to a different product version or platform Accumulate statistics across multiple application executions, so that you can summarize performance when running with varying tests and data Links to the videos: Visual COBOL: Introduction to Micro Focus COBOL Profiler Visual COBOL: Profiler Advanced Usage V
Hi, our company works with Visual cobol and COBSQL preprocessor for Informix. We are testing to change to Visual cobol and openESQL and we have found that if a cursor is named with a host variable the program gives and compilation error. we has discover that If we change de cursor to a "prepare" compilation is ok, but in our instalation there are a lot of programs with this kind of declarations, and having to change it is a problem There are some way to avoid the compilation error without change the code of the program? something like a compilation directive, and OpenESQL Preprocessor Options, an upgrade of the openSQL...? This is an example of code: declaration of the host variable to name the cursor exec sql begin declare section end-exec 01 sql-cursor pic x(30). exec sql en
Hi, We currently have Microfocus Visual Cobol version 6.0. Can it be upgraded directly to version 9.0 or it has to go from 6.0, 7.0, 8.0, then 9.0? Kind regards, Sar
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
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.