Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Have a project where need to re-write a datafile but with a slightly different primary key value? Does someone have a working example? Thanks in advance. I do have the original FD and structure. Field in file is pic 9(8) but was being used by program as pic 9(5) hence numbers were stored as "12345 " but now need to be reformatted as "00012345". Thanks
In our dockerbuild file, we are installing the visual cobol setup for docker and installing the license.# installing Cobol Devhub and LicenseRUN /opt/DevHub/setup_visualcobol_devhub_for_docker_8.0_redhat_x64 -IacceptEULARUN /var/microfocuslicensing/bin/MFLicenseAdmin -install /opt/Licenses/VC1_Visual_COBOL_Linux_Docker.mflic As root , it is able to run cob -u. But when we switch to another user , we are getting a no license error.This container used to work on a RHEL7 host, but when we moved the container to a RHEL8 host, that is where we started getting the license error.------------------------------Aldous CarlosRocket Forum Shared Account------------------------------
How can I install NetExpress 5.1 on Windows 11? When I try I get an error message "Error 2878. On the dialog PreReqs the control PreReqList has a possible value: Either Microsoft Windows XP Service Pack 1 or later, Microsoft Windows 2000 Service Pack 4 or later, Microsoft Windows NT 4.0 Service Pack 6 or later, Microsoft Windows 2003 Ser ..." Do I need a new version of the software - and if so where do I get it from? Or is there a way of cheating the system by copying a few files from an XP or Windows 7 PC onto the Windows 11 PC? I am assuming it is possible to run NetExpress 5.1 development IDE on Windows 11? Many thanks, Phil------------------------------Phil HicklingDeveloperRocket Forum Shared Account------------------------------
I was at a breakpoint in my managed code program and I was looking at the properties listed for a menu strip. One of them was "DisplayedItems" with a heart shaped icon beside it. It is a collection and I can see the items in the collection at the breakpoint. I would very much like to use the information in this collection in my program but that property is not available to my program. Why not? If my menu strip is too wide to see in my window, I would like to increase the width of my window. This collection would tell me if any of the menu items are not displayed. ------------------------------Lee RobinsonSoftware Development ManagerNew Hampshire Admin Office of the CourtsConcord NH US------------------------------
Customer is in the process of migrating our customer's COBOL application (Visual COBOL) from a physical RHEL 7.9 server to a VMware-based RHEL 8.10 environment. The customer is currently using a High Availability (HA) clustering setup with NFS as the mount point for data storage in their RHEL 7.9 environment.As they are moving to VMware, the customer has the following concerns and questions regarding the HA clustering and management of data files in the new setup:Handling HA Clustering in VMware:What are the best practices for handling HA clustering for the virtual machines (VMs) in VMware, particularly concerning data files that are shared among multiple VMs ? How do we ensure seamless failover and VMotion of VMs while maintaining access to shared data files during maintenance or failures?VMware HA Considerations for Active-Active / Active-Passive Configurations:For Rocket COBOL, can you provide guidance on configuring HA clustering in an active-active or active-passive mode for the V
Could someone share link to download COBOL Analyzer------------------------------Rajimon PanthodiConsultantRocket Forum Shared Account------------------------------
Has anyone used Microsoft Print to PDF to generate PDF's dynamically? For example, our application produces a text file from which we want to create a PDF. Using C#, the following could be used: PrintDocument.PrinterSettings.PrinterName = "Microsoft Print to PDF";PrintDocument.PrinterSettings.PrintToFile = true;PrintDocument.PrinterSettings.PrintFileName = "pdf_filename"; However, I'm having difficulty generating a def file for the System.Drawing and System.Drawing.Common dll's. ------------------------------Ken SchwartzSenior Engineer, DevelopmentSouthware Innovations, IncOpelika US------------------------------
Is there a way to dynamically set WINPRINT-PORT, or is that limited to WINPRINT-CURR- values?------------------------------Ken SchwartzSenior Engineer, DevelopmentSouthware Innovations, IncOpelika US------------------------------
Hey everyone all, does the following link: https://cs2cobol.microfocuscloud.com/ has been deactivated because it is not working? Thanks------------------------------Altair BorgesSr.Rocket Forum Shared AccountBelo Horizonte Brazil------------------------------
Hi, is there anyone who has included QRCodes when printing documents? ------------------------------Jose FernandezGerenteSistemas Informaticos Malaga SlMalaga ES------------------------------
Where can I download and register an actual Rocket Visual Cobol PE? I can't find any information anywhere? Greetings Stefan ------------------------------Stefan KytziaRocket Forum Shared Account------------------------------
I am a 35+ year COBOL programmer and I would like to create some programs for personal use at home. I have tried other languages but I am most comfortable with COBOL. How can I get a copy of VCPE? Looks like every one I find on the Internet is for retired versions of Studio. Thanks in advance------------------------------Robert DooleyDeveloperRd SoftwareGrovetown US------------------------------
We are working with a 3rd party and they will need to get data to the repository on a regular basis. The third party uses an AWS storage solution, S3, which uses an access key-pair to access. We are currently on version 5.0 of Visual Cobol - does that version handle something like this, or would we have to upgrade to 10 first? Would we maybe have to write it in something like .net?------------------------------Amy McDonoughSenior Software DeveloperN. Harris Computer CorporationIL US------------------------------
Hi, I've got something like this in my .pco file : EXEC SQL SELECT TO_CHAR(CAST(RTRIM(Varchar2_11_char_Column) AS DECIMAL(10,2)), 'S9999999D99') from table INTO :hostvar_x_11 END-EXEC. I get compiler error COBCH0803 : 000576:PLS-103: Encountered the symbol "(" when expecting one of the following: . ) , @ % defaultsymbol The symbol ")" was substituted for "(" to continue. It compiles fine with the TO_CHAR and RTRIM but when I add the CAST, it won't compile anymore.Should this work? Any ideas anyone? Thanks Kr, Stefan ------------------------------Stefan ThysING Bank N VBrussels BE------------------------------
You'll find it here: cs2cobol.rocketsoftware.com If you did a double take at that and are wondering why you might need such a tool, let me explain... Visual COBOL allows you to compile applications directly to .NET bytecode - or even JVM bytecode - opening up a world of possibilities for integrating COBOL with these platforms and other languages. It's not just Java or C# developers who get to enjoy these ecosystems; Visual COBOL developers can tap into their libraries and functionality too. That's where this tool comes in. If you come across a snippet of C# code online and wonder how to express it in COBOL, the C# to COBOL Converter will help bridge the gap. Give it a try! using System; namespace CsharpString { class Test { public static void Main(string [] args) { // create string string str = "C# to COBOL"; Console.WriteLine("string: " + str); // get length of str int length = str.Length; Console.WriteLine("Length: "+ leng
Does C$PDF support concurrent job processing? Does C$PDF support file name control (no user interaction)?------------------------------Ken SchwartzSenior Engineer, DevelopmentSouthware Innovations, IncOpelika US------------------------------
you will no be able to run or compile any cobol program in vs code even you have installed the learned cobol extension or other cobol plugging , here is the error message Micro Focus COBOL Version 7.0 (C) Copyright 1984-2021 Micro Focus or one of its affiliates. (0,0) : error COBCH1889 : License failure: Cannot communicate with licensing daemon. ------------------------------Marcos RamosSelf RegisteredPanama PA------------------------------
Trying to connect odbc driver from Unisys from visual cobol, getting the error "x114 item beyond access item beyond bounds of memory (signal 11)". I have crated a system dsn and trying to connect from cobol program like : EXEC SQL CONNECT TO :svr USER :usr-passEND-EXEC I also tried to use the below format : STRING 'DRIVER={Unisys MCP ODBC Driver(x86)};' 'SERVER=xx.x.xx;' 'PORT=2012;' 'DATABASE=test;' 'USER=xxxx;' 'PASSWORD=xxxxx;' INTO BUFFER. EXEC SQL CONNECT TO :BUFFER END-EXEC. The above is not recognizing the system DSN created and it is giving error "The data source not found and no default driver specified" but while testing on the "ODBC data Source application", the connection is working fine. Could some one help with what is needed to support unisys data source. ------------------------------Kayal vizhiRocket Forum Shared Account------------------------------
Hi I have some cobol applications compiled by Net Express 5.1 and runnig in my network. Some notebook/dektops cannot run this apps because it starts, and then close immediately. No message is displayed, nothing. In another device this same app runs. How to identify what is causing this problem ?------------------------------Fabio Bomfim NunesGerente de TICompanhia De Seguros Aliança Da BahiaSalvador BR------------------------------
To determine and qualify a database driver and to make sure it works well with Visual COBOL, is there a specific set of COBOL examples available that cover various scenarios? If yes, could you please point out the link or way to access it. ------------------------------Kayalvizhi GanesanUnisys Corporation------------------------------
tengo el siguiente problema. Una aplicación desarrollada con NetExpress que accede a una BD en SQL Server utilizando una conexión ODBC a través del SQL Server Native Client 11.0, y en Win10, accede sin problemas y no da error, y ejecuta las SELECT, sin ningún problema. Mientras que en otro PC con Win11 Versión 24H2, la misma aplicación, y configurado el mismo acceso ODBC y la misma BD, la conexión a la misma la ejecuta correctamente, pero cuando el proceso ejecuta la primera sentencia SELECT, devuelve un SQL Code error -208. EXEC SQL SELECT E.[nombre_em], E.[clave_em], E.[bd_em], E.niedi_em, E.pobl_em INTO :QNOMBRE-EM, :QCLAVE-EM, :QBD-EM ,:QNIEDI-EM, :QPOBL-EM FROM [tbEmpresas] E WHERE E.[Cod_em] = :QCOD-EM END-EXEC Cual puede ser el problema y como solucionarlo? ------------------------------GREGORIO ARROYO GONZALEZGerenteRocket Forum Shar
Hello, I'm converting an application from an equipment supplier, and he provided me with a C# source. I tried to convert from C# to Cobol, using the "OpenText C# to Micro Focus Visual Cobol Translator" tool, but it is giving me an erro in one of the parts. The original source: public async Task<InitialResponse> InitiateOperationAsync(string baseUrl, PaymentRequest paymentRequest) { string payJson = JsonSerializer.Serialize(new { PAY = new { posto = paymentRequest.Posto, operador = paymentRequest.Operador, valor = paymentRequest.Valor } }); string requestUrl = $"{baseUrl}?PAY={payJson}"; try { HttpResponseMessage response = await _httpClient.GetAsync(requestUrl); response.EnsureSuccessStatusCode(); string content = await response.Content.ReadAsStringAs
I need to find out how to, if possible, access the physical name of a file, eg; ACCOUNTS20250211 please.------------------------------Peter OFlanaganConsultantRocket Forum Shared Account------------------------------
This may be my ELI5 moment, but I'm trying to make a correct list Visual Studio 2019 -- 32-bit product, Visual Cobol 7 for Visual Studio 2019 -- 32-bit product Visual Studio 2022 -- 64-bit product, Visual Cobol 9 for Visual Studio 2022 -- 32-bit product (installed to program x86) Visual Studio 2022 -- 64-bit product, Visual Cobol 10 for Visual Studio 2022 -- ??-bit product Why do I wonder this ? We use Oracle with pro*cob precompiler and depending on your solution you need an instant client of the correct type 32/64. Having a 64-bit solution with a 32-bit product comes with a performance cost so you usually avoid that. We also use Toad, nowadays a 64-bit product. Normally not a problem unless you want to configure proxy logins which requires a thick client, not the built in. Now you need 32 and 64-bit Instant Clients on the same machine which is a configuration problem since VS/VC want one thing and Toad another. It would be nice to be all 64-bit and able to ignore that headache. So
Hi, We are trying to evaluate the "Unisys ODBC driver " (ODBC driver connector) to support for Visual COBOL. In visual cobol document :ODBC Structure, we came across the DRVTST32.EXE under this document. Could you please help me with details of a. Can the DRVTST32 utility be used to validate our ODBC driver and validate whether it will work with visual Cobol ? b. Where to download & how to install the DRVTST32.exe? c. Is there any special license is required for using DRVTST32.exe ? thanks, Kayal------------------------------Kayalvizhi GanesanUnisys Corporation------------------------------
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.