Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Technical expert Blair McDonald from Micro Focus provides an overview of the installation process for products associated with using COBOL inside Docker containers. Watch the full video here. #Videos
We're experimenting with Docker and deploying in images build artefacts created from Visual COBOL 5.0 for Eclipse for Windows. We're using Git/Bitbucket for source code management and Nexus Pro to store build artefacts. We use Bamboo for build and deploy. I noticed some build outputs that we are including in Docker and storing in Nexus and wonder if they truly need to be deployed. I would appreciate reading your opinions regarding the following file types:.lst file - who looks at listing these days?.obj - if we always produce dlls/exes in our build, do we need to deploy obj files?.idy - nice to have, but with 2000 COBOL programs, an expensive luxury? If we have all the branch source stored safely in Git, is it better to create debug files on demand as needed? obj.1.tlog - what is a tlog file and why do I care? Thanks!#.idy#COMPILER#Windows#Eclipse#docker#CompilerOptions#Build#.obj
Hi,In the past it was normal tu use > to redirect DISPLAYs to a file like runcobol myprogram > myoutput.txt, but this is not working anymore under Windows. Is it possible to redirect the output to a file on Windows like on Linux?Regards,
I'm an old geezer, did a lot of COBOL in 70's and 80's. I'm now going through the sample programs and accompanying documentation in learncobol_visualstudio.zip I downloaded from microfocus.Is there an easy way to report errors I've found (in the documentation not the programs) to microfocus ? I'm about to say the heck with it.
We are trying to improve safety by adding encryption to communication between acuthin and acurcl in a linux environment.I have included two new lines in the runtime configuration file given in the acurcl.ini file:<Alias><rcl:Alias-Name>661der3</rcl:Alias-Name><rcl:Cobol-Program>/home/PGMG/A01LI.COB</rcl:Cobol-Program><rcl:Configuration-File>/home/D/XYZ/CONFIG.LINUXWIN</rcl:Configuration-File><rcl:Working-Directory>/home/D/XYZ</rcl:Working-Directory></Alias>The two lines added to CONFIG.LINUXWIN are:THIN_CLIENT_ENCRYPT 1EXCRYPTION_SEED ABCDEFGIs it the right place? I read something about client.cfg, but we use different configuration files for each alias.How do I test that encryption is working? #encryption#Acuthin
Halfway through 30-day MF Cobol trial and late yesterday Sample Airport application stopped working and yielded error:Airport Console Application (incompatible) - Not installedAirport Link Library (incompatible) - Not installedI brought this project/solution into Visual Studio and have been running it fine for 15 days.Likewise, I built a simple Hello World Cobol application that was working fine and that too yielded an incompatible error message yesterday. Please advise.
I'm tasked with migrating some custom NetX 5.1 native Cobol applications to Visual Cobol 3.0 using Eclipse IDE.When running an executable outside the IDE, I receive the following error:Load error: file <executable-path>\\cblviom.dllerror code: 164, pc=0, call=1, seg=0164 RRun-Time subprogram not found.I do have the system and account Path Environmental pointing to the both the \\bin and \\binn directories.I moved the cblviom.dll to the application directory to no avail.This is a 32-bit program with the project settings directives as: IDXFORMAT"3" ODOSLIDE
some knows what this means?I get it while debugging ...
When using the saveasfixedformat function to save an excel to pdf, it always gives an error when executing.How must it be defined for it to work?The parameters in Vb are**[Class: @_Worksheet] ExportAsFixedFormat* METHOD, 2493, @ExportAsFixedFormat,* "XlFixedFormatType" @Type, TYPE 3,* "VARIANT" @Filename, TYPE 12,* "VARIANT" @Quality, TYPE 12,* "VARIANT" @IncludeDocProperties, TYPE 12,* "VARIANT" @IgnorePrintAreas, TYPE 12,* "VARIANT" @From, TYPE 12,* "VARIANT" @To, TYPE 12,* "VARIANT" @OpenAfterPublish, TYPE 12,* "VARIANT" @FixedFormatExtClassPtr, TYPE 12* OPTIONAL 8 The parameters that I am using in acucobol are modify hexcelbook @ExportAsFixedFormat ("xlTypePDF","c:\\tmp\\test.pdf","xlQualityStandard")or modify hexcelbook @ExportAsFixedFormator (BY NAME @Type = "xlTypePDF" BY NAME @Filename = "C:/TMP/TEST.PDF") 
When I debug and add items to the Watchpoints Window no values show up under Value in the window.The condition functionality works though. If I add a condition and that condition is met, execution will stop. But I still can't see anything under Value.If I add a Watch Window I see the values just as you would expect.It seems this behaviour started in VC 6.
Microfocus Visual Cobol for Eclipse, destination Tomcat 7.0 on RHEL 6.10.I have tried the tutorial Visual Cobol as SOAP webservice (Book) and it works fine.I try now to have one of our Cobol to work and it does it partially:The program itself runs but into it I do a call to an external logging module which is in another directory.This external module is deployed as .so file and works if I use it from a standard Cobol test program (executable) on the server.I added the library path LD_LIBRARY_PATH at start of Tomcat and as JAVA_OPTS="-Djava.library.path=/data/mylibrary".If I do a CALL "coblog" USING... ON EXCEPTION ...return the LD-LIBRAY_PATH, this one seems correct but nevertheless, I get a return code " <faultstring>173 Called program file not found in drive/directory [coblog]</faultstring>".Can someone point me to where I should look for?#webservices#Linux#VisualCOBOL
I have an INT/GNT project in VC 6 (latest update) consisting of 78 cbl files. We all know that Visual Studio sometimes decides to make a rebuild even though it seems to the user that nothing has changed. And if you have a project with 78 files that will take about two minutes. But it is indeed strange that VS decides to make what seems to be a rebuild even if you make consecutive Runs.by pressing F10. Why is that?I would say that this started to happen in VC 6. I can't remember it happened in VC 5.If I set Build Action = None for all files except for the one I'm currently working with, the response is immediate, so that is one way to solve the problem.You may wonder why I include files that I'm not currently working with, but it is for easy access. I used to work the same way in Net Express and there you could decide if you wanted to recompile the whole project or not. There is of course a similar option in VS, but again, sometimes VS decides to make a rebuild whether you l
Hi - I have situation . I want to call RM/COBOL program B from RM/COBOL program A but donot want to wait for response. Am I able to do using RM/COBOL?
I am getting a Stack Overflow exceptions in my Managed COBOL project. I read an article regarding this problem on the Micro Focus Community forum at the following link: /cobol/visualcobol/w/wikiid-120/30624/diagnose-and-fix-stack-overflow-exceptions-in-visual-cobol-managed-code-programsI experienced this problem a couple of weeks ago and manage to circumvent it by changing the code. But I am getting it again and it is happening in complex nested code that I cannot easily change.Based on the articles, it seems all that may be required is that I increase the stack size allocation. These are the following steps a tried as instructed by the article in order to increase stack space:1) Enable mixed-mode debugging in the project property2) Attempted to do a stack analysis using the “.load sos” extension but it did not recognize the “.load sos” command.I am using Micro Focus VISUAL COBOL 5.0 with patch update 10 and Microsoft Visual Studio Community 2019 Version 16.6.2 S.SOS.PNG
Validating input of an email address
We were running COBOL Server 2.3 on Windows Server 2008We installed a new server running Windows Server 2019 and I installed COBOL Server 5.0I installed our original license file on the new server.We are running native code compiled as INTs. Everything works fine when I run our software from the new server, but when I try to run it from a workstation I get a file status 9/181 on every file that the program tries to open.All data files and INTs are stored on the server.Any help would be greatly appreciated.
Hi. There is a compiler option, -Wr, which turns off the normal warning we get if the redefiner is bigger than the data being redefined. I remember seeing an option that could be turned on to do the opposite - warn if the redefiner is smaller, but I'm wondering if that was an rm/cobol option because I cannot find it in my 10.2.1 documentation. Alternatively, a way to reorganize my copy library to use the standard warning would be a great option, but I don' t think I can:Issue: I have a table of standard data, sitting in a copy library, as a level 01 table with a sequence of 03 level fillers with value. That's the table data. Then I redefine it, using an occurs, to have access to the data. The table of standard data is constantly growing. But we often forget to increase the size of the constant for the occurs. How do I avoid making the mistake of adding data without updating the size of the occurs?I cannot switch them around, because
I am doing the POC of Relativity on RM/COBOL Native File System. I am trying to use SQL using JDBC/ODBC connection [DBeaver/Microsoft Query]. File has 50M records. I noticed that GROUP BY, Distinct and COUNT on Primary Key is taking more than 10 mins. BackEnd file is Not marked for Recovery. Query Plan Viewer doesnot show any suspicious. I maybe missing some setup. I am new to Relativity. Can you please advise /guide ?
Dear Community,has someone an example of a simple invoice generated using xml and the cobol copybooks created using the cbl2xml utility ?I do not see any difficulty in creating an xml with<invoice> <supplier> <supplierName>My Name</supplierName> <supplierAddess>My Address</supplierAddress> </supplier> <client> <clientName>My Client Name</clientName> <clientAddess>My Address</clientAddress> </client> <invoiceDate>14/07/2020</invoiceDate> <invoiceId>123456</invoiceId> <invoiceLines> <invoiceLine> <item>Item 1</item> <price>100 €</price> </invoiceLine> <invoiceLine> <item>Item 2</item> <price>200 €</price> </invoiceLine> </invoiceLines> <invoice>A cpy definition could be the following, then converted with cbl2xml in order to create an xml file from a cobol progra
When one of my colleagues ran a native COBOL programme in VC5 and tried to access a sub-routine compiled in VC6 he didn't get the expected result. After he upgraded to VC6 it worked.But the Release Notes for VC6 only seems to mention problems when using VC4 or earlier together with VC6: "Upgrading from earlier Micro Focus products: This version of your product is dependent on a later version of the Microsoft C run-time system than earlier Micro Focus products. This means that COBOL executables (.exe) built with a version earlier than 4.0 might not be compatible with the current version of the run-time products."I can't see that there should be any problems with VC5.
I have a client running an application compiled using MF cobol for Unix V3.2, running on a bare metal install of SCO Openserver 6.0.0As the current hardware is now 8 years old, I have attempted to move the application to a Virtualbox on LinuxMint 19.3.All is well, except for one not so minor detail, the F10 and up and down arrow keys do not work, all the other F keys work, as well as the left and right arrow keys.I do not have the source code. The application does not appear to use a special termcap or terminfo, nor does it use an adisctrl file.Any suggestions?
I setup a CATALOG for ISAM file. Getting below error on trying to access table. Could not able to find info for CRDM Error = 1601. Can you please guide ? Error: ODBC error-- SQLExecDirect(... returned: SQLState: S1000 Msg: [Micro Focus][Relativity for RM][Client][SimbaLNA][Micro Focus][Relativity RM Server][CRDM]The key was not found. NativeErr: -1601SQLState: S1000 Msg: [Micro Focus][Relativity for RM][SimbaLNA][Micro Focus][Relativity RM Server]Unable to open table: xxxxxxxxx. 08/10/2020 10:47:23
I want to get rid of all the old "SORTT" (Wang Conversion to AcuCobol) and use AcuCobol SORT.Here is the table I want to Sort.Do I have to have a SD File ETC.?or can I use something like this.
I am in the process of upgrading from RM/Cobol with WOW-Extensions version 10.01 to 12.17. In the past we did a Administrative Installation for the runtime due to it being on a network drive. There is a bug though with the Administrative installation so we're now doing the standard installation and we'll be installing the runtime on up to 125 end-users pcs. My question is what, if any, changes are needed when going from the Administrative Installation to Standard Installation in regards to licensing. Specifically in regards to the license.vlt file.
Hello,I am using remote debug in Net Express 5.1 for some time. But today, when I want to start debug, I receive this message:Please what I have wrong here?
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.