Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I am having an issue running a single program in my project. I had made some changes to the WPF screen, and in the code as well. When I compile and run my software - when I execute my software, and select the program I changed from the menu, I get the below error message. MicroFocus.COBOL.COBOLRuntimeException HResult=0x80131600 Message=198 Load failure [Program has an incompatible codepage dependency "PR450000" is using codepage Western European (Windows) but the main program "MSIMenu.App" is using Unicode (UTF-8) Please see documentation for more information.] I am not sure how to fix this - both my menu and the program being called (PR45000) both have this code in my WPF Screen <?xml version="1.0" encoding="utf-8"?> So I am not sure why it is saying this, and when I run any other program that is in the project - they all work correctly. Where is it seeing that I have the codepage set to Western Europe (Windows) ?
Hello, I have a small C# application from a vendor that allows me to communicate with and receive data from an ID document scanner. I've already managed to "translate" some parts to Visual Cobol but there are others that give some errors in the conversion. Would it be possible for you to help me with this conversion? Thanks. Alberto Ferraz
I tried using your TestExcel program to read a cell. I set the file name with move spaces to ExcelFileName string 'z"C:\\Users\\alan\\Documents\\Micro Focus\\' 'Net Express 5.1\\WORKAREA\\SMNG\\emailsmar25.xlsx"' delimited by size into ExcelFileNameThis is in the NE5.1 IDE with Wrappack 18 on Windows 10. Error: Open methods of Workbooks class failed on "Open" The path C:\\Users\\alan\\Documents\\Micro Focus\\Net Express 5.1\\WORKAREA\\SMNG is correct. The file name is emailsmar25.xlxs I do not understand what is wrong. I examined the ExcelFileName while animating and it is correct. Thank you, Alan Beecher
Hi - I have a ISAM file.. File is in Recovery Status .. causing 9802 in program opening this file... I cannot recover the file using recover1 since file is used in real time system.. Is there any other method to recover this file or skip the bad record ? #RM/COBOL#ISAM
I need to call an API written in C# in out Micro Focus COBOL application. I found this post very helpful RE: Tutorial or example for calling a URL and processing the response one thing though the call needs to ba a POST with input in JSON I can string together the body - but what is the syntax to attach it to the request?
I have a program that runs from the command prompt from my program. This is the command: cmd.exe /C cscript //nologo D:\\NEW_MSI\\MSI_DATA\\MakeGuid.vbs > D:\\NEW_MSI\\MSI_DATA\\myguid.txt I am using CALL "SYSTEM" USING WS-CMD-LINE to run the command. (the command above is placed in WS-CMD-LINE before the call to "SYSTEM". The command works great from a dos prompt, but when I use it in my program - it does not work at all. The myguid.txt file is never generated. Does anybody have any suggestions on how I can get this to work?
Knowing that Visual Cobol for Eclipse is not compatible with DialogSystem instructions. If I would like to adapt a COBOL program that uses DialogSystem, is there any example or document that explains how it should be done? Is there in VC for Eclipse any tool similar to DS that facilitates the migration?
Buongiorno , ho necessita' di contare il numero di caratteri di una stringa,rispetto all'ultimo carattere valido contenuto in essa. Data la variabile WS-DESTINATARIO dichiarata PIC X(30) che contiene il valore "COLOR EXPERT "quindi 12 caratteri complessivi compreso lo spazio fra COLOR e EXPERT. 1) Utilizzando l'istruzione INSPECT WS-DESTINATARIO TALLYING CONTA-CAMPO FOR CHARACTERS ottengo nella variabile CONTA-CAMPO non il numero dei caratteri contenuti nella stringa che sono 12 ma 30 che e' la lunghezza complessiva del campo. Non trovo il modo, nella sintassi del comando, di ottenere il valore 12. 2) -Se utiizzoINSPECT WS-DESTINATARIO TALLYING CONTA-CAMPO FOR CHARACTERS BEFORE SPACE ottengo il valore 5 ovvero conta i caratteri sino al primo spazio ( puo' andare bene solo su valori contigui di contenuto di campo) 3) -Solo se utilizzo l'istruzione INSPECT WS-DESTINATARIO TALLYING CONT
I inherited a substantial application written in Micro Focus COBOL. I need to make changes to the way the connection strings are used. I sniffed through the code - and found 22 (!) with CONNECT USING statements. The application contains hundreds of programs, each compiled and deployed individually, with a handful of EXEC SQL statements - and as far as I can tell every one of them has no problem getting to the database. How are all the other programs connecting?
The setup stops with an error message indicating that another version of Visual COBOL (or COBOL Server) is already installed and should be uninstalled first. Full article: https://portal.microfocus.com/s/article/KM000007637#SupportTips/KnowledgeDocs
Hi! I am playing around with the software, trying to update our conversion programs to no longer use Database Connectors. In my program I have an input file that is an RM\\COBOL ISAM file, and when I run the program, it is giving me a 9+,00 error code. I have tried adding the $SET DIALECT(RM) FILETYPE(21) command to the beginning of the program to let the program know that I am using an RM\\COBOL file, BUT, when I do that, the embedded SQL commands are no longer recognized by the compiler, and I can't get the program to compile. Is there a way to do this, or am I stuck using Database Connectors for my conversion programs?
Hello, I am trying by all means to establish a connection to a SQL Server database, I supposedly connect but cannot see the data in a table. These are the errors: connection to the database establishedError: It is not possible to Access the Province TableError code: -00000000208Description Error: The object name 'province' is not valid Please can someone help me. Thank you. #VisualCOBOL#SQL
Hi Gents,Any experiences using msodbc and unixODBC on RHEL with VisualCOBOL8 on RHEL to connect SQL2012? We are currently experiencing DB reconnect issues to our SQL2012 with our COBOL 8 programs on RHEL8 , using using msodbcsql18 and unixODBC2.3.11 .It was working before with the same COBOL source codes on RHEL6, COBOL5express, using msodbcsql11 and unixODBC2.3.0.Thanks
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
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.