Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hello All,I have integrated my COBOL libraries to VS code and now I am trying to compile the COBOL program using the link https://docs.rocketsoftware.com/bundle/enterprisedeveloper_dg_100_html/page/vcd1746630418216.htmlBut i am getting error in the compilation, what are the parameters i have to give to take my copybooks available in "COPYEXT(cbl,CPY,COPYCOB,COPYDCL)", "COPY\"G:\\MYLIB\\D000\\COPY\"", "COPY\"G:\\MYLIB\\D000\\COPYDCL\"",Please share your thoughts "windows": { "command": "cobol.exe", "args": [ { "value": "${file}", "quoting": "escape"}, { "value": "anim", "quoting": "strong"}, { "value": "nognt", "quoting": "strong"}, { "value": "errformat(3)", "quoting": "strong"}, { "value": ";", "quoting": "strong"} ] thanksSanoop
I am trying to make use of the ISO2002 option and ISO 2002 style program prototypes. I’m running in to two, perhaps unrelated, issues.Even when I specify $set repository"update on checking on", no external repository file appears to be created. If I, in a separate calling program, code a program prototype for the called program, it appears to check for call parameter conformance correctly, but with a correctly coded call statement I end up with a fatal error, shown below.* Options: NOLIST NOASM* 912-S **** Internal error - Dictionary invalid r/w . Please contact Rocket Technical Support.I have three source files below:f1.cbl contains a function named f1. This compiles fine and writes the f1.rdf external repository file. p1.cbl contains a program named p1. p1, among other things, uses the f1 user defined function from above. No function prototype is required because it is “read” from the external repository. Thi
Hello. I am old school mainframer trying to learn new things.I am trying to run visual cobol against db2 community version on windows 11.i am able to connect in the windowsform but i can not get a select statement without format errors.i did saw something about installing ibm.data.db2 but i do not know if that is a option.below is my code snippet.try invoke conn::Open() set label1::Text to "DB2 Connected" move 'y' to db2-connected set cmd to new System.Data.OleDb.OleDbCommand("SELECT LastName FROM Employee WHERE EmployeeID = 1", conn) set reader to cmd::ExecuteReader()catch ex as type Exception set label1::Text to "it did not connect" end-trythe set cmd and set reader both have red underline errors.is there something i ned to install or is there another way to do this.The connect works so why not the select.Going nuts can’t figure it out!
Hi everyone, Thanks to everyone who joined our webinar with Brad Curry from Sammons Financial Group yesterday. To those who couldn't make please feel free to watch it on demand.The recording of the webinar is available now. You can watch the recording anytime and share it with your team.Some useful materials:Webinar recording Webinar deck is in the attachments COBOL Day in Milan on April 14 COBOL Day in Madrid on May 6 If you want to get access to the Rocket COBOL Roadmap, please contact me via skovalenko@rocketsoftware.com If you want to share your modernization story on one of our events, please contact me via skovalenko@rocketsoftware.comThank you to everyone who actively participated in the quiz as well! We’re going to share 5 winners of the quiz next week.
Hi everyone,In just 1 hour we’re going to have a webinar with Sammons Financial Group where Brad Curry, Principal Architect at Sammons, will share their experience with re-architecting their COBOL application with .NET, APIs, and containers.Make sure to join to learn about their approach and ask Brad questions. Registration linkOne of the slides: See you soon!
Can anyone assist me with an example of how to populate Excel from an Acucobol program?------------------------------Peter ClaytonDeveloperCobsolv CcMidrand ZA------------------------------
Hi.In native COBOL I have an OO Dictionary that stores entries of the following group level item and this is incredibly fast and suits my purposes perfectly.I’ve converted this program to .NET COBOL and am really struggling to get this to perform anywhere close to native COBOL because of the overhead converting the PIC entries to a string when outputting to and retrieving from the dictionary.Do you have any suggestions that may help me to get the process to be performant? 01 def-fieldtouse. 03 def-any-output pic x. 03 def-num-cols pic x(2) comp-5. 03 def-next pic 9(18). 03 def-filename pic x(100). 03 def-col-array. 05 def-columns occurs 800. 07 def-col-name pic x(100). 07 def-col-type pic x(15).
I have an application written in MF Netexpress 5.1, within this application I'm trying to use Tree View thru Python I did use the following command:CALL "SYSTEM" USING "python fa_tree.py"it's working but it displays CMD black screen which is I don't want that, is there a solution for this issue please?
Hi,How can I download VISUAL COBOL 11.0 free trail to install on my Windows 11?I just downloaded file “Visual COBOL for Visual Studio Personal Edition 11.0.zip”, but this one does not have the install module.Thank you
Does anyone know where I can get a copy of Visual Cobol?I have a book on the subject but the author gave the reader a bogus web address.Or do I just have to wait to be told where to go to get my copy of the compiler. I like working with Visual Studio Community.
Hi everyone,The first step in any modernization journey is gaining a clear understanding of your application with its dependencies, data flows, and integrations. That’s why I’d like to invite you to our upcoming webinar, Modernizing ACUCOBOL®: Instant Analysis & Development with GenAI, on March 31 at 10 a.m. ET / 2 p.m. GMT. Here’s what you’ll learn during the webinar: From code to insights See how to visualize and structure your ACUCOBOL code, accelerate onboarding for new team members, and tackle technical debt with a single solution. Visual Studio Code Extension + GenAI Demo Explore how Rocket® ACUCOBOL-GT® Extension for Visual Studio Code and integrated GenAI capabilities can streamline your development processes, boost productivity, and simplify onboarding Rocket® ACUCOBOL® Roadmap Get an exclusive preview of the Rocket® ACUCOBOL® roadmap, including upcoming products and VS Code extension updates. We’ll wrap up with a short ACUCOBOL quiz and giveaways from Rock
Hi everyone,This year, we’re excited to bring you real‑world COBOL modernization stories directly from the enterprises doing the work along with our expertise. This way you can see what is possible for your COBOL applications as well. That’s why we’d like to invite you to our upcoming webinar, Sammons x Rocket COBOL: Growing with .NET, APIs, and Containers, on March 26 at 11 a.m. ET / 3 p.m. GMT. Our guest speaker Brad Curry from Sammons will share how they’re modernizing their COBOL applications to drive new business value, streamline processes, and prepare for the future with .NET and containers. At the end we’ll have a live Q&A featuring Brad and our Rocket experts, so you’ll be able to ask us anything about COBOL modernization and Rocket solutions. Register hereLet us know if you have any questions or want us to cover any specific topics on the future webinars.See you soon!
Visual COBOL 11 at this point compiles to .NET Core 8.0, when you create a new project there is no option to select .NET Core 10.0On my machine I have:2.1.526 [C:\Program Files\dotnet\sdk]3.1.426 [C:\Program Files\dotnet\sdk]5.0.104 [C:\Program Files\dotnet\sdk]5.0.214 [C:\Program Files\dotnet\sdk]5.0.303 [C:\Program Files\dotnet\sdk]5.0.408 [C:\Program Files\dotnet\sdk]6.0.136 [C:\Program Files\dotnet\sdk]8.0.206 [C:\Program Files\dotnet\sdk]8.0.418 [C:\Program Files\dotnet\sdk]9.0.100-preview.3.24204.13 [C:\Program Files\dotnet\sdk]9.0.311 [C:\Program Files\dotnet\sdk]10.0.102 [C:\Program Files\dotnet\sdk]10.0.103 [C:\Program Files\dotnet\sdk]What would happen if I start my application using:MyApp.Host.exe -roll-forward LatestMajoror update my runtimeconfig.json to use rollForward?
Good morning, I have been working in COBOL for over 20 years and I have always believed that when a main program (PA) calls a second program (PB) using `CALL PB USING field1 field2 field3` and the procedure in PB is `PROCEDURE USING field1 field2 field3`, the parameters that are put in the `using` procedure of a program (PB) should be defined in the `linkage` section, but I see in the documentation this“ Data-name-1 must be defined as a level 01 or a level 77 entry in the Linkage Section , File Section or Working-Storage Section”This raises a lot of questions for me.Has this always been the case? If the variables in PB are defined in the working storage section, what relationship do the variables in PA have with those in PB? How does assigning values to variables in PB affect the variables defined in PA? Could the call be made from PA without passing those parameters?
I’m not sure if this is the right forum to ask this question. What are employers looking for when it comes to COBOL. Is proficiency in COBOL the only requisite they want, or are they looking for other things as well? At the age of 70, and with issues like memory retention and learning new things, learning COBOL is one thing. Learning more than just a programming language may be more than I can muster.
Hi,I have found a changes in behaviour with the sql disconnect function between native COBOL (using ODBC) and .NET COBOL (using ADO) and was wondering whether these are deliberate or notScenario: I have a primary SQL connection ‘MAIN’ which is used for the majority of processing. However I have two other connections ‘ADMIN’ and ‘ALTERNATE’ which are used to perform elevated functions (ADMIN) or functions which I want disconnected from main (ALTERNATE)In native COBOL when I disconnected from one of these secondary connections it automatically reverted to the MAIN connection however in .NET COBOL this is not the case and I am finding I need to issue a ‘set connection’ .Also in native COBOL when the connection is closed it physically kills the connection to SQL - i.e. the SPID is no longer active. In NET COBOL whilst the connection is logically closed I see that the SPID still exists in SQL. Are these changes deliberate? Peter
Let’s address the AI-lephant in the roomHi everyone, Welcome to our monthly Rocket ACUCOBOL newsletter. This edition tackles the biggest question of the month (or maybe even the year): How is GenAI changing ACUCOBOL modernization?Code Translations vs. Modernization:What’s the difference This week, COBOL made headlines again as the debate around AI‑generated COBOL resurfaced. The market reaction and the conversations online point to one thing: change is no longer coming. It’s here.Though after more than 5,000 successful COBOL and ACUCOBOL modernization projects across all the industries, we’ve learned one lesson that matters now more than ever:Code translation is not the same as software modernization. And confusing the two can put enterprises at real risk. Code Translation Is Useful. But Language Isn’t the ProblemMany AI companies promise rapid “COBOL modernization,” but what they’re really talking about is syntax translation. And while COBOL is a straightforward language (ask any COB
Let’s talk about the AI-lephant in the roomHi everyone, Welcome to our monthly Rocket COBOL newsletter. This edition tackles the biggest question of the month (or maybe even the year): How is GenAI changing COBOL modernization?Code Translations vs. Modernization:What’s the difference This week, COBOL made headlines again as the debate around AI‑generated COBOL resurfaced. The market reaction and the conversations online point to one thing: change is no longer coming. It’s here.Though after more than 5,000 successful COBOL modernization projects, we’ve learned one lesson that matters now more than ever:Code translation is not the same as software modernization. And confusing the two can put enterprises at real risk.Code Translation Is Useful. But Language Isn’t the ProblemMany AI companies promise rapid “COBOL modernization,” but what they’re really talking about is syntax translation. And while COBOL is a straightforward language (ask any COBOL developer you know), and AI can certainly
Our Cobol apps run natively on a Linux host with just local logging files, and I was wondering if there is any documentation on emitting (Opentelemetry) traces to an external collector (via network).If not natively supported, maybe people have some other ideas how to bridge the gap? Maybe building some integration via “Consolidated Tracing Facility” (CTF)?Thanks for any idea!Tung
This pertains to the use of external filehandlers, where my COBOL class is compiled with CALLFH"abcdef", which in tern needs to call fh/aaaaaa.dll which exists in the sub folder fh.The COBOL has :CALL “fh/aaaaaa” using ………During animation I debug the class, debug abcdef, but when it gets to the CALL “fh/aaaaaa” it doesn’t raise an exception but doesn’t execute the code either.I can see from procmon that the assembly was indeed loaded as well as the .pdb but just ignored almost as though it was looking for the programid but that didn’t match.Is this not supported?Is there an COBOL .NET replacement for COBPATH ?Neil
I am currently launching a Python script from RM/COBOL with CALL SYSTEM. Seems there is some overhead associated with SYSTEM, I am looking for a more efficient method. Are there any alternatives recommended?
I am trying to call non-static Java methods from an executable file since static methods work fine in this environment. I can accomplish this using cobjrun but it seems like the $java$ is not resolved correctly without cobjrun.I have tried adding all mf*.jar from the VisualCobol/lib directory into my CLASSPATH before execution but always get a load error similar to the following:Load error : file '$java$JavaCalculator'error code: 198, pc=0, call=1, seg=0198 Load failure Here are the files that show the failure:natcobol.cbl $set ooctrl(+p-f) program-id. natcobol. class-control. claJavacalled is class "$java$JavaCalculator". * The above maps the Java class 'JavaCalculator' to the COBOL class name 'claJavacalled' working-storage section. copy "javatypes.cpy". 01 hCla object reference. 01 l1 jlong value 10. 01 l2 jlong value 5. 01 retl jlong. 0
We would like to open a PDF file in the program and extract an attachment (in this case, an XML file) from this PDF file.Is there a way to do this?
Hi,I am posting this question on behalf of a customer, to ensure it goes to the relevant forum and a place they they can see the post. Once I post this I'll share the link with the customer and ask to reply/comment here also.They ask:Does somebody know how to translate the following C#-Lambda-Command to Visual Cobol ?Example (the second last line):private void FlexGrid_Load(object sender, EventArgs e){string conn = Util.GetConnectionString();var ds = new DataSet();string[] tables = "Customers, Orders".Split(',');foreach (string tableName in tables){Util.FillTable(ds, tableName, conn);}// Defining relation between master and detail gridds.Relations.Add("Customers_Orders",ds.Tables["Customers"].Columns["CustomerID"],ds.Tables["Orders"].Columns["CustomerID"]);flexGrid.DataSource = ds;flexGrid.DataMember = "Customers";flexGrid.RowDetailProvider = (g, r) => new C1FlexGridRowDetail();flexGrid.AreRowDetailsFrozen = false;}}They have used the C# to COBOL convertor website but the code that
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.