Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I want to insert Images into an EXCEL Worksheet from an NETEXPRESS 5.1 program. I found the instruction ActiveSheet.Pictures.Insert (C:\\Users.MyPicture.JPG").select but this is for othes languages But which ist the equivalent series of INVOKES in an Netexpress 5.1 program. Is there an demo or tutorial? Thanks for any help.
We are using Visual COBOL on a Red Hat Linux Machine. Our programs are text based UI. We have been asked to start using a signature file on our checks. Can someone tell us how you would do this? What kind of code to use and what format the signature should be in? We use cups to print.#VisualCOBOL#Linux#nativecode
I need to compile my COBOL file with Informix Embedded SQL, but preprocessor fails because of this error: CSQL-F-012: INFORMIXDIR must be set for Informix Support I'm using Visual Studio 2017. The variable is correctly set in Windows' environment variables. The preprocessor is "Oracle Pro*COBOL(COBSQL), with "COBSQLTYPE" directive set to INFORMIX-NEW. How can I solve the problem?#VisualStudio#Informix#VisualCOBOL#esql
Hi, Is there a quick (.NET) way to output data from a Winform Datagridview "straight" into Excel? Many thanks Neil.
i have a problem to run acucobl 5.2.1 when i migrate from 32 bit linux to 64 bit linux i gor message segmentation fault.
Problem: What does ACUCOBOL-GT provide in order to support the new EU regulation about GDPR ? Resolution: ACUCOBOL-GT does not offer any specific functionality regarding the new General Data Protection Regulation (GDPR) and no library routine about encrypting data in general. VISION indexed file system can be encrypted at the beginning, by setting the following clause directly in the SELECT of the files themselves:SELECT .... WITH ENCRYPTION Existing indexed files can be converted by adding encryption: Rebuilding FilesOption e of the vutil tool (http://bit.ly/2JH4UhA) This level of encryption is quite low, just above the ROT-13 code. It is useful to avoid an occasional display of data.However, it is not recommended if the data files are going to contain significant data, such as passwords or fiscal/bank data (for example, credit card numbers). If a higher level of encryption is required, the advice is to use third-party tools.For example, "mcrypt" (http://bit.ly/2v
Hi, I'm new here and have a question for the older COBOL developers among us :) I have an old version of Micro Focus COBOL, it's version 4.0 for Windows 95/NT, including the License Key dongle which you have to put on the parallel port of your computer. Recently, my old computer died, and I'm trying to install this COBOL compiler on another system with Windows XP. When running SETUP, it results in an error:Execution Error, file "LOG", error code 114, pc=0, call=21, seq=0 (signal=11) While searching on the internet for a clue, I read that I Micro Focus / Merant made a patch to make an installation possible after Y2K. It should also work on Windows XP. The patch file is called fix2kset.exe, and in the past it could be downloaded from the MF/Merant ftp site, but not anymore. It's nowhere to find. Can anyone help me finding this particular patch file? Any help is much appreciated! Kind Regards, Peter#Installation#COBOL
Hello, I just wanted to throw this out there and see if any other users are having similar issues. Our applications are on the 10.1.0 and after the latest windows update quite a few of our customers on Windows 10 are getting 3707 errors [user does not have appropriate access permissions to the file (open)] when we are creating some temporary files. The odd thing is that it is not happening every time, they go back into the same process and everything works fine. Some of these routines that create the temporary files have been in place for a very long time and have never had problems till this week. We have not been able to duplicate the problem yet, so I just wanted to see if anyone else was having the same problem and if they have been able to solve it. It seems like the last update has messed something up, just not sure what yet. Thanks, Scott Meiners
I have a cursor for update in microfocus, with connection to a database of db2. In the readings of the fetch, always read a single row, but when I'm going to do the delete / update of this with a where current of the value of the SQLCODE is a -100 and N rows are deleted or modified, respectively, instead of the corresponding current . Any solution? Thanks. For example: $set sql(CHECKSINGLETON) $set constant driverClass "com.ibm.db2.jcc.DB2Driver"$set constant databaseURL "jdbc:db2://localhost:50000/sample:retrieveMessagesFromServerOnGetMessage=true;user=MFADMIN;password=MicroFocus42;"IDENTIFICATION DIVISION. *-----------------------. PROGRAM-ID. ATB984. AUTHOR. AADATE-WRITTEN. 20180412DATE-COMPILED. DATA DIVISION. *-------------. WORKING-STORAGE SECTION. *-----------------------. 01 FILLER PIC X(25) VALUE 'COMIENZO WORKING ATB984'. 01 NOMBRE-MODULO PIC X(08) VALUE 'ATB984 '. 01 ATC990 PIC X(08) VALUE 'ATC990 
Hello, currently we are using a database with NLS_CHARACTERSET = WE8ISO8859P1 for our Cobol-Routines.Our Cobol-Compiler uses NLS_LANG=german_germany.WE8ISO8859P1. We would now like to switch to characterset WE8MSWIN1252 on the database and change the NLS_LANG to german_germany.WE8ISO8859P15.Will it be necessary to compile Cobol-programmes accessing the database as a consequence of this? Michael
I just watched the presentation of 10.2 and Acu to Web, they mentioned there are new open source libraries to that can be used to generate PDF's. I did not catch the name of the company that is providing this, does anyone know whom they are? We have been looking at using iTextpdf libraries and am wondering if this is the same vendor. Thanks in advance#AcuCobol#acubench#pdf
I am involved in an assessment of migrating an application from using SYBASE provided SQL Preprocessor to OpenESQL. I have created a simple test program and I have found an issue. With the SYBASE preprocessor, we can so EXEC SQL Select cola, colb into :ws-a, :ws-b from tablex where colc = 'something' end-exec. Where ws-a and ws-b are arrays and many rows are returned. With OpenESQL, we appear to need to add a clause FOR :ws-max to this statement or else it only returns one row. Am I correct, or am I missing something? I have attached a sample program, see line 39. The file attach does not seem to be working. Environment: Server Express 5.1.14 on LinuxDatabase is SYBASE ASE 15.7, with SYBASE ODBC Driver (also 15.7).
Hi All community, Can you please provide me with an example of a function in procedure division where you apply conversion from lower case to upper. i need the Syntax whether it is in form of example, i've been reading the book but can't get how it makes please best regards Zux
Anyone have success with using the cobol compiler in -j mode under maven? I want to build a solution including both java classes and CobJVM source and I would like it to all be in one JAR file. ideally, I would like to have COBOL call java and also have java call COBOL.#CobJVM#Java#Maven
Recently moved from Redhat 5.5 to Redhat 7.3 and the Relativity server 2.1.0 has become much more unstable. Clients are also at version 2.1.0 using 64 bit odbc to do queries and updates to MF Cobol files. We are controlling the server using supervisorctl to keep it running all the time and sometimes it will crash w/in 24 hours of being restarted. Seeing errors like *** Error in `/opt/microfocus/relativity/2.1.0/bin/reldbsrv': double free or corruption (!prev): 0x09385060 *** Anyone have any suggestions on what to do to be more stable? Also noticing that the timestamp of the relativity catalog files change during the day appearing to indicate that something is writing to them other than the creation from Relativity Designer - I find this odd, is it normal? Thanks.#Relativity
Today when installing an update of VS 2017 prof.(15.6.6), when restarting VS2007, it does not find anything referred to VC 3.0. I tried to repair VC 3.0, and run createenv.bat, but VS 2017 doesn't find anything about VC 3.0 and doesn't appear as installed in "about Microdoft Visual Studio 2017". What can I do to fix it?
Exception in thread "main" java.lang.UnsatisfiedLinkError: no cbljvm_sun in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at com.microfocus.cobol.RuntimeSystem.<clinit>(Unknown Source) at DatabaseBmw.main(DatabaseBmw.java:107) I am running Visual Cobol 2.3 in Eclipse
I am working my way through "Visual COBOL, a developer's guide to modern cobol". I found an example on page 99 of "calling native code from managed COBOL". Now our environment is LINUX and we use Java not .NET. Does anyone have an example of this for JAVA and LINUX or is this even possible?#nativecobol#COBVJM
We have a Native COBOL program that reads excel files using COM Automation. After upgrading Microsoft Office from 2010 to 2016, the program takes about twice as long. Processing the same 270 files before the upgrade took on average 3-4 seconds per file. After the upgrade it takes 7-8 seconds. Are there any know issues with accessing Excel 2016? The code is attached, any suggestions are appreciated. Thanks, Emi
Authorisation code did not receive with the download of trial software. Upon successful installation, software requires activation code and authorisation code. I could not activate without Authorisation code ... Can anyone help ASAP?
On my development PC I was able to create an executable - probably very crudely. We're talking 2017 Visual Studio and a solution with many projects. After looking at video's of the subject and exploring everything I could think of I found a folder under my start up project of bin/Debug that had all of the executables of the solution. Executing the start up project gave complete expected results. I picked up the contents of that folder and moved to a new location in my mind proving that the location was not critical, again good results. My thinking was if I create a matching file structure of my destination PC I could just move the executables (actually that whole folder which contained a lot of files besides executables) and my data files and it should execute on the destination PC. That didn't happen so I probably need some other supporting files. Got any suggestions? My technique for execution may also be faulty and any suggestion there might satisfy my problem. I g
Hello, i'm getting an error when installing the compataddpack_232.msi (update 2) on a Windows 7 - 64 bit professional system. When installing the Micro Focus Compatibility AddPack for Visual Cobol Setup following error shows up: Error: Missing INSTALLDIR First i try to install it on a "clean machine" no Micro Focus software is installed before, i started which the compataddpack_232.msi Second i tried to install compataddpack_230.msi which succeeded. Then i tried to install compataddpack_231.msi (update 1) which also succeeded. Afterwards i tried to install compataddpack_232.msi (update 2) but no success - i get the same error as bevore when i try to install compataddpack_232.msi (update 2) directly on the clean machine. Even it uninstall the successfully installed compataddpack_231.msi (update 1) and deletes all the directories which have been created. I also redownloaded the compataddpack_232.msi (update 2) from the micro focus website to make sure the download is not co
Any idea what this error message means? Load error : file 'cobrtxml.so'error code: 198, pc=0, call=1, seg=0198 error message text not found (mFt_xmlSchemaVInit)
We are investigating on all the new features in C$PDF version 10.2.0 and it may solve some of our problems. One question we cannot figure out: Is it possible to right justify text (e.g. amounts) og do we need to use fixed fonts?
Good Afternoon All, Can you please help me here i have been given a task to read a Cobol Program which contains several CALLING statements. these Calling statements include statements that call other programs since its a mainmenu it also calls other MENUs. now i am required to write a program that READS this program and print out all program CALLS for other programs and print them in an INDEXED file starting with MAINMENU (which is the program containing other programs). now i have converted MAINMENU.cbl as text input file, please help me i cant get the program. Best Regards Zux
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.