Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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------------------------------
How to enable tracing from visual cobol program which is attempting to connect to odbc driver . Thanks in advance.------------------------------Kayal vizhiRocket Forum Shared Account------------------------------
Hello, I have some old archive i got form previous work and those archive where made under DOS or VMS with vio utility provided from old version of accucobol. Is there any of you who can tell me how I can download that vio utility for linux platform ? Thank ! Michel Jean------------------------------Michel Jeanunix adminRocket Forum Shared Account------------------------------
Hi, I am changing an existing, working Oracle Pro*Cobol, Visual COBOL program. I was able to change 2 .cpy COPY files and compile. I was able to change 1 .cob INCLUDE (EXEC SQL) file and compile. Now, whatever I change in any .cob file, I systematically get the same compiler errors: COBCH0562 : An "ELSE" phrase did not have a matching IF and was discarded. COBCH0564 : A scope-delimiter did not have a matching verb and was discarded I have tried everything I could think of up to introducing my changes again line per line but with the same result. I am desperate and out of ideas. Did any of you ever experience something similar and what was your solution? Thanks Stefan------------------------------Stefan ThysIng BelgiqueBrussels BE------------------------------
How do I access Microsoft print to PDF from AcuCOBOL?------------------------------Ken SchwartzSenior Engineer, DevelopmentSouthware Innovations, IncOpelika US------------------------------
Hi, We currently have a Net Express based application with a .Net frontend communicating through CCITCP. I've been tasked with converting the app to managed COBOL using VC10. So, wanted to ask if the correct approach is to replace CCITCP with smartlinkage and if anyone has already done this. I've previously used an older version of VC for Java and went down the wrapper class approach. Any feedback would be much appreciated. ------------------------------Doug MclellanDevelopment team leadAccess Uk LtdLoughborough GB------------------------------
The currently installation file for x64 running Linux PowerPC (glibc 2.x) 64 Bit seemed to be big endian version, it will be not able to use in the newest Linux distributions on IBM® Power Systems™ that Linux on IBM® Power Systems™ strategic shift from big endian to little endian. Is possible to provide the installation file with little endian that the customers will begin to evaluate the possibility to replace AIX with Linux on Power system? ------------------------------Stone LiaoManagerChannelmaker Technology Co., Ltd.Taipei TW------------------------------
Hi, We use Oracle Pro*COBOL as part of the end to end COBOL application build solution which comprises of - Oracle 19C client with Visual COBOL 8 (patch version 19) and Visual Studio Professional 2022. We are encountering since moving from patch v14 to v19 behaviour where Oracle Pro*COBOL reports an error when processing the .pco files (PCB-S-00403 i.e. positioning of the EXEC statement as being in the wrong Area/Column i.e. held in column 8 and should be column 12), but this error in the pre-processing does not cause the Visual Studio project to fail the build in Windows. Running the same process in Linux using a command line driven script, the Oracle Pro*COBOL error is raised for the same issue and cause the build to halt. Question is there something missing in the Windows Visual Studio setup (or a switch I need to set in the project properties) which is not detecting the error response from the pre-processing "procob" application? I have manually executed the Oracle Pro*COBO
dfstrcl error I'm "following" the knowledgebase article concerning MFDBFH ... https://portal.microfocus.com/s/article/KM000015911?language=en_US One of the tools they use is dfstrcl However when I try and use it I get the following. [smc-business]eric:/data/esource/V10/New_Configuration.bin>ls -l *.idy-rw-rw-r-- 1 devuser devuser 61440 Dec 20 09:07 CUSTOMER.idy-rw-rw-r-- 1 devuser devuser 63488 Dec 20 09:07 FILEHAND.idy[smc-business]eric:/data/esource/V10/New_Configuration.bin>dfstrcl CUSTOMER.idy Layout File Creation - DFSTRCL V TESTLoading file - CUSTOMER.idyError: File not found or wrong typeProcessing complete I'm trying to figure out how to get the MFDBFH to work ... Any input would be appreciated. ------------------------------Eric BoatmanApplication ProgrammerSMC PackagingSpringfield MO US------------------------------
I just want to express my gratitude to the compiler designers. I love the "SET variable1 TO value1" syntax. It makes much more sense than using the "=" operator as an assignment operator. I can remember being confused by the use of "=" as an assignment operator since I first encountered it back in 1970. The "SET...TO..." is so much less confusing. That leaves the "=" operator to be used for indicating "equal" as one would expect. I have written in more programming languages than I have fingers and toes in the last fifty years and Visual COBOL is the first one to have a reasonable assignment operator. Also want to express my gratitude that I can finally use "variable = NULL" I understand the philosophical concepts behind the idea that "NULL" has no value and hence cannot be "equal" but we still have to compare the variables. Like it or not, "NULL" is a value. It is a special value but it is a value nonetheless.------------------------------Lee RobinsonSoftware Development Mana
Problem: Following is an example of the type of error that can occur at runtime when using a database such as Sybase that requires a pre-compiler. Load error : file 'CSBCTXGLOBAL' error code: 173, pc=0, call=1, seg=0 173 Called program file not found in drive/directory In this instance the Sybase runtime files had only been compiled to .gnt Resolution: This problem is due the Sybase run-time not being loaded. We can get the Sybase run-time linked into COBOL program executable by compiling them to shared object (.so) files. Following is an example of a portion of a compile script. Originally the Sybase files were compiled using cob -ug ....This has been changed to compile them as shared objects - cob -zUg. Also, note the inclusion of the U switch - this tells the compiler that subprograms will be dynamically loaded and will cause a compiler error if not included. .......... # -ug compiles to gnt (
Hello Rocket Software community, I'm exploring ways to optimize the performance of my MultiValue applications, specifically using Rocket UniData, and I've come across an interesting strategy that involves utilizing Smart PCs. These systems are designed to integrate seamlessly with Rocket's MultiValue products, and I'm curious if anyone has had experience with them. From my initial research, Smart PCs offer more efficient processing and better scalability for resource-heavy applications. I'm particularly interested in how they can handle large datasets and provide a smoother user experience in real-time applications. Additionally, I'm wondering if anyone has integrated Smart PCs with UniData or UniVerse for enhanced data management capabilities. Has anyone here leveraged Smart PCs in a production environment? What challenges did you face, and were the performance improvements noticeable? I'd love to hear any tips or best practices that might help me make the most of this technology. Loo
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.