Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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
Hi, I'm trying to run this function: EXEC SQL SELECT REPLACE ('123456_FILE01_RESUMO.XLS', '_RESUMO', '') INTO :WS-LABEL-AUX-SAIDA FROM DUAL END-EXEC TO RETURN: '123456_FILE01.XLS' but it did not work in cobol net express 5.1 but, when I put spaces between the parameters it worked EXEC SQL SELECT REPLACE ('123456_FILE01_RESUMO.XLS', '_RESUMO', '') INTO :WS-LABEL-AUX-SAIDA FROM DUAL END-EXEC Can anyone explain why? Att, Antonio. #function#SQL#NetExpress5.1
When using multiple programs with the same name in multiple projects of the 2017 Visual Studio I get "Class pgmname has multiple definitions". I've tried using a common location but that results in "resource in use". Just for testing purposes I've renamed the programs with variations of the name to avoid the multiple definitions but would like a good solution that must be available.
Problem: Working in a Linux (Red Hat 5) environment, the following issues may occur: CALL "C$SOCKET" USING AGS-GETHOSTNAME, ws-hostname.The CALL returns no information for the host machine on which the COBOL program is executing. Any I-O operations executed via AcuServer return a file status 35: File not found. (open, sort) Resolution: This appears to be an issue within the server environment, where some socket libraries are not correctly installed, or not found by the runtime when shared libraries are in use. To ascertain that this is the case, use the following command-line from the prompt: runcbl -v It usually shows the following output: ACUCOBOL-GT runtime version X.Y.Z Serial number 1234567 AcuServer client Vision version 6 file system (interface vX.Y.Z) If the "AcuServer client" line is not present in the output, this indicates that the runtime is not able to load the winsock library of the system. To solve this issue: - if the runti
Hi All, I'm just wanting a fresh perspective on an issue I'm having! I'm randomly getting a file status 9/57 on one particular file (which is IDX"8" format) on a rewrite. The file in question is only 40MB, but at various points within the program when a rewrite on the file happens, it will randomly report this error! This happens on a 32bit machine running Red Hat Enterprise 5.5, the development machine is 64 bit - but compiling to 32 bit. Any suggestions will be greatfully received, as I'm starting to tear out (what remains of) my hair! Mike.
For part of the menu, when within Tree View, is there a limit to the number of entries (children). Your responses are appreciated.
Trying to convert an Excel column containing fixed width text to columns using COM server. How to pass FieldInfo? invoke ExcelObject "getRange" using z"A:A" returning CellRange. invoke olesup "setNamedParameters" using by value 1 size 3 invoke CellRange "TextToColumns" using by reference z"Destination"  
Hi I need to read the data of the Portuguese citizen's card.It is a card with a chip that contains the citizen's data (name, address, etc).For this there is a DLL but I can not use it because I have no experience in this type of programming. The dll is called "pteidlib_dotnet" and is installed in ProgramFiles \\ Portugal Identity Card \\ sdk \\ dotnet.It is downloaded from this link:www.autenticacao.gov.pt/.../55dd1efb-6bc9-4142-a82a-f84d1f2c0685) According to the manual the first thing to do is to initialize the SDK.Example given in C # namespace PTEIDSample {class Sample {(...)public static void Main (string [] args) {PTEID_ReaderSet.initSDK ();(...)PTEID_ReaderSet.releaseSDK ();}}} One of the things that happens to me is that I can not use the PTEID_ReaderSet.initSDK function because it does not appear to me when I write the function.I do not know if I lack any function or not. To read some card data have the following in C #: (...)PTEID_EIDCard card = context.getE
Problem: The user wants to silence AcuBench sounds but there are no AcuBench settings to turn off sounds. Resolution: To disable AcuBench sounds go in to the system sounds settings dialog via the control panel, or execute “control mmsys.cpl sounds”. On the ‘Sounds’ tab under Windows, the ‘Default Beep’ is the one AcuBench uses for alerts, i.e. compile error, open source file modified, etc. Scroll down to see ‘AcuBench application’ with only one sound listed, ‘AcuBench: Compile complete’. Set both of those to none for a quiet AcuBench.
"Hello" from Russell. I have a question for the community, please. I have a "appointment" application where customer appointments can be scheduled by date & time. For a moment, let's consider an appointment is scheduled today (March 30th, 2018) for April 10, 2018 at 10:00am. I have a routine to obtain UCT from the current time. Either Steve J with Micro Focus support gave me a called program to use on Windows OS and a script "echo $TZ > TIMEZONE 2>&1" on Unix/Linux in order to obtain the current date & Time in UCT. My question: Can anyone share how to convert April 10, 2018 at 10:00am into Universal Coordinated Time in a format as 2018-03-30T14:05:39Z#RMCOBOL#COBOL
Problem: A very large Vision file must be expanded to accommodate more data than is available in the remaining FILLER item. How can that be accomplished without using a COBOL program that would read the old file and rewrite all of the records to the new format, which would take several hours? Resolution: To increase the record size on an existing file use the Vision File Utility, vutil (vutil32 on Windows). First run "vutil -augment ..." with the new maximum record size. This does not rebuild the file, it is an instant command that only changes the file header to specify variable length records with the new maximum record length. Next is to modify the FD to correspondingly specify variable length records with the new maximum and recompile the program. The result is that new records added to the file will be the new larger size, while the existing smaller records can be accessed too. Example: An existing file, myfile, has a record length of 68 byt
I want to discuss about Acubench. How can be an editor a mass of bugs like this. When there is a new release, we spend more time to find bug than write code. Honestly our work is write code. We cannot spend time to wait for a bug fix for an editor. Said that, we decided to invest a little part of our time to find a different way. We tried Visual Studio Code. Bingo! We found our best editor to easily write Cobol, helped also by intellisense, compile and more. To help our self, we also deployed an extension called CobolSTF for VS Code (now published for all), that help us to our job; we created snippets and so on. VS Code is easy to configure and let us personalize the editor with extraordinary freedom. We still use Acubench to design screen... but this is our next challenge. ;) Antonio Antonio Donato Studiofarma S.r.l. CGM Group#runtime#AcuCobol#acubench
Problem: Using version 9.0.0 or newer, when attempting to add an XFD to the AcuXDBC system catalog an error is reported "Error: Empty condition tablename, condition 1". Previous versions of AcuXDBC added this XFD without error. Resolution: The XFD involved was generated from old code and used the XFD WHEN directive to distinguish multiple record types in the FD. For the first record type it specifies: $XFD WHEN RECORD-TYPE=5 TABLENAME=USERFILE The FD also included this directive: $XFD WHEN RECORD-TYPE=OTHER The requirement is that if the TABLENAME clause is used it must be defined for all of the WHEN conditions. So the 'OTHER' condition is missing the TABLENAME clause. Previous versions were not strict about this and reported no error. To resolve add a table name: $XFD WHEN RECORD-TYPE=OTHER TABLENAME=OTHERTABLE Then generate a new XFD add that to the system catalog.
I see this can be used to 'modernize' dialog screens using unmanaged COBOL under Visual Studio. Can it be used in a development environment? It says to set the MFVSSW environment variable to "/c /f" , but where is this variable? In Visual Studio? Environmental variables under System Properties? Is there something else we need to get this to work? Thanks, Fran D.
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.