Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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
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
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.