Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi, My program, Visual Cobol managed code, calls an unmanaged DLL containing print routines using PrintEasy by Easirun. The call functions with no Problem, but, the Statement: cancel "LSdruck" doesn't remove LSdruck.dll from Memory resulting in a blank page being printed first on next call. A log Shows "newInstance" in the dll is only established on first call. Is there a method of removing the dll from Memory other than the - not working - cancel Statement?
Problem When SQL programs contain host variables that are declared as COMP, compiling with OpenESQL on Windows and moving the INT code to a non-Intel platform gives incorrect values in the COMP variables. Resolution Database applications that use COMP host variables and are compiled with OpenESQL, can only be used on platforms with the same native byte ordering. This is because the OpenESQL pre-compiler inserts additional code for COMP host variables on Intel (little-endian) platforms to handle the reverse byte ordering of COMP, compared to the native byte ordering. Thus when you transfer the compiled code to a non-Intel (big-endian) system such as AIX, the additional code for handling COMP causes byte swapping problems. There are two solutions to the problem: Use COMP-5 instead of COMP for host variables. This has the added advantage of being more efficient compared to COMP. Recompile the source on the target platform, as the OpenESQL pre-compiler will not insert the addi
Problem The Eclipse .Log file records any activity from the IDE, including exceptions and errors. This information is often very detailed and useful for troubleshooting issues, but it is not easy to read. Can it be simplified? Resolution: The Eclipse IDE offers a View which extracts only the header line of each entry in the.>Log file, allowing for easier reading of the file contents. To view this in Eclipse go to Window>Show View>Other>General>Error Log.
Problem Cannot install Visual COBOL 2.2 Update 2 - Error 0x81f40001 - Setup has detected one or more Hotfixes are installed. Resolution: You are upgrading Visual COBOL and have hotfixes installed for the previous Version. To resolve this issue please un-install these Hotfixes first via the Windows > Control Panel > Programs and features, thereafter the installation of the newer Visual COBOL Version will be successful.It is recommended to also review the Visual COBOL Release Notes related to the version to confirm the above.
Problem: Are old Acubench projects compatible with more recent versions of the ACUCOBOL-GT extend suite IDE? Can a project created with Acubench 4.3 be opened with Acubench 8.1.3.1 or 9.2.4? Resolution: Old Acubench projects can be opened directly by up-to-date releases of Acubench, only if they were created with Acubench 5.x or later. In case these projects were made using an old Acubench product (i.e. 4.3), an intermediate step should be executed. Please note that once converted to a newer version, a project cannot be restored to its previous version.A backup of the original projects to migrate is highly suggested. To convert a project from Acubench 4.3 to 9.2.4, an installation of Acubench 5.2.1 is required.Contact your local SupportLine engineer if you need Acubench 5.2.1.(this version is out-of-support, but it's necessary to perform this migration process) Here are the steps to follow: 1 - start Acubench 5.2.1; 2 - use "Open Workspace" menu voice to open the project to migrate (i.
Problem What needs to be done to set the first program to run or debug, in a Visual COBOL project containing multiple source files that compile to single executable target? Resolution: Open the Project Properties, and navigate to the Application Tab. In the Entry point Textbox type in the new program name e.g. "Program2". Save everything and rebuild the whole project. Trying to run or debug will show that the program "Program2" is started first. Setting this option tells the Micro Focus runtime which program should be the starting program.
Problem When adding a new Cobol source file to Visual COBOL for Eclipse project it does not compile. Resolution: Ensure that the affected source file is set to be built, not ignored by the COBOL compiler.This is set by right clicking on the affected source file in the COBOL Explorer view, on the context menu that appears, look for the entry called "Build Action", and ensure that option "Compile" is selected within this.
Problem The following error is shown during installation of Visual COBOL for Eclipse. Error extracting 'SETUP_1.CAB': Failure writing to target file. Resolution: The Visual COBOL installation process does not have sufficient permissions to write files to the local drive and installation directory. Restart the installation procedure using Administrator rights, ensuring that the Installation has sufficient permissions to the installation trget directory.
I am having trouble using the printer_redirection code. My printer will act like it wants to start printing, but nothing comes out. I am testing with the testprintraw cobol project. My printer acts like it wants to start printing, but nothing happens. What I am looking to do is build a report, save it to a file with headers and data and then print those results to my windows printer. I am using the Micro Focus Cobol for Visual Studio 2012 version.#COBOL#Printer
Hi.I got an issue with Visual Cobol in Eclipse and the XML Extension: When I compile the program I always get an error that MicroFocus.COBOL.XmlExtensions.MicroFocusCOBOLXmlExtensions can't be found: Description Resource Path Location Type ProgramCOBCH0845S Unknown type 'type MicroFocus.COBOL.XmlExtensions.MicroFocusCOBOLXmlExtensions' Program1.cbl /JVM_Project_Test/src line 338 COBOL Problem I tried it in the Visual Studio version aswell, it worked like a charm after adding the references to the project. So I got the same issue here, but I don't know how I should add the libraries or where I can find them.If I search the installation directory I only find the .dll extensions but I guess they have to be .jar for eclipse. I am using Visual COBOL for Eclipse 2.2 Version: 2.2.00244. Thanks for your help. Sincerely, Mario#COBOL#VisualCOBOLCOBOLJVMCOBOLandJava#Eclipse
Hi! I have a WPF MessageBox like this: invoke type System.Windows.MessageBox::Show( "Mein Text", "Kopfzeile", type System.Windows.MessageBoxButton::YesNo type System.Windows.MessageBoxImage::Question type System.Windows.MessageBoxResult::Yes type System.Windows.MessageBoxOptions::RightAlign ) How can i ask wich button was pressed? #WPFMessageBox
On my System with Visual Studio 2013 and Visual Cobol 2.2.2 with Hotfix 2 a comment for a class or method will only be shown by IntelliSense but not as description in object browser. Comments in C# will be shown by IntelliSense and in the object browser. Does this need a special configuration setting in Visual Studio for Visual Cobol?
The visual studio method drop down not working. The drop downs do not display any of the methods. I am using Visual Studio 2012, it works for C# but not full Visual Cobol. Any ideas on why?
I am trying to install Visual COBOL for Visual Studio 2012 on a Windows 8.1 Pro laptop. Everything seemed ok until I try installing my license file. I run the License Manager, browse to the file and click Install and it spins for a long time and then I get an error message: "Error installing licenses: Error[5]: Cannot talk to the license server on host "127.0.0.1". Server may not be running." What can I do to fix this?#VisualStudio2012#license#VisualCobolManaged#Installation
Hello, Someone with a CASE Migrating Data Flex to Visual Cobol ...??? Many thanks in Advanced. PJM
Problem: When using the (RM) variable and sending the screen output to a dump file, the generated file includes not only "text" but ANSI codes (unexpected or 'funny' characters). It gives the 'header - funny characters' with the RM directive. Using MF directive it is all ok. cob -v -C DIALECT'(RM)' test.CBLcobrun test > OUTPUT.TXT 'Funny' characters will show up in the output file Resolution: The 'funny' characters are terminal control characters, used to clear the screen, position the cursor at the upper-left prior to the display, and to restore the screen to its former state after the program terminates. This is the default behavior of DISPLAYs in the RM world. One way to inhibit this would be to add UPON SYSOUT (or UPON CONSOLE) to the DISPLAY statements: DISPLAY "LINEA 1" UPON SYSOUT. DISPLAY "LINEA 2" UPON SYSOUT. In Visual COBOL you can use the directive DISPLAY(CONSOLE) to force a
This is the link to the MSDN using Statement documentation: http://msdn.microsoft.com/en-us/library/yh598w02.aspx This is how it's coded in DevExpress: using(UnitOfWork uow = new UnitOfWork()) { // Create, update or delete objects uow.CommitChanges();} CommitChanges is used to update the database. If Visual COBOL doesn't support the using statement, maybe I could call the Dispose method, which I'll need to work out. Something like: invoke uow::Dispose as type IDisposable (please correct me if this is wrong)#VisualCOBOL
Dear Friends, I'm having problems with corrupted VSAM files. I have a Windows Server 2012 as a file server.It turns out that in master / detail files, the master is recorded but not all items are details.Sometimes I get a file status "9)". Any idea what might be happening? Sincerely Yours Rogerio Barbosa
I have a grid bound to a database table using DevExpress XPO. The business class is defined like this: $set ILUSING"DevExpress.Xpo". $set ILUSING"System". class-id AG_200_Reconcile.basic_trans is public is partial inherits type XPBaseObject.. working-storage. 01 fcleared_status string. property-id cleared_status string public. getter. set property-value to fcleared_status setter. set fcleared_status to property-value end property. To update the record in the database,
Hi, Just a simple query. What is the error 14791 coming from CBL_COPY_FILE routine?#netexpress#CBL_routine
hello ... I have a new error never seen before... running program compiled with ESQL 32 bit, after one hour of run I get this error: Load error : file '_SQLODBC' error code: 173, pc=0, call=1, seg=0 173 Called program file not found in drive/directory the mfdebug.log is not generated, what should I look for? Can you help me please? #_sqlodbc
i have installed for many times but when i run a program the message appears again. How i can fix these problem??
Hello guys... I just want to share everyone that "I LOVE COBOL".... :) Merry christmass to all of you dinosaur developers!!! P.S. Love you all too and thanks for the help you give me... #COBOL
Hello, When creating a new EXCEL.DEF (office 2013)we get errors. Can somewone create an EXCEL.DEF for me (office 2013 and version 9.1) #Excel
I'm using NetExpress v3.10 and doing a web service application. Created a COM and already in my registry, created WSDL using MSSOAP toolkit v3.0, and now I want to call the web service thru NetExpress application. Code is as below; $set ooctrl( p) environment division. special-names. call-convention 74 is winAPI. object section. class-control. entrycallback is class "entrycll" exceptMgr is class "exptnmgr" oleExceptMgr is class "oleexpt" MSSOAP is class "$OLE$MSSOAP.SoapClient" olesup is class "olesup". : : : 78 wsdlURL value z"www.mysite.com/.../" & "myservice.wsdl". 01 Soap object reference. 01 wsmlURL pic x value x"00". : : :*>configure WSDL/SOAP using myService module invoke MSSOAP "new" returning Soap *>ERROR here invoke Soap "mssoapinit" using wsdlURL &n
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.