Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Getting Started with Visual COBOL for Eclipse Hello World using COBOL JVM Summary: This getting started tutorial shows how you can create a Java user interface and call a COBOL application to perform the backend processing. We’re using the Google Window Toolkit to design the user interface. The walkthrough will guide you through the process of setting this up. Before creating your application, we need to add some new extensions to your Eclipse IDE. Install Google Window Builder Google Window Builder provides a UI designer within Eclipse that allows you to create graphical applications for Java using drag and drop. Help-> Install new software Add the following URL for Eclipse 3.7 Window Builder support to the Work With field – you don’t need to click Add. http://dl.google.com/eclipse/inst/d2wbpro/latest/3.7 Select all components and click next and then complete the installation. Once Eclipse has installed the software, restart with a fresh wor
Hello all, We have problems with our vitual memory growing up when we close and open a subwindow in our program. I mean, when the window is closed, not all the virtual memory is unloaded, if the window is opened initially 100 kb are added to the virtual memory, but when is closed only 80 kb are unloaded. Test deactivating/activating copy resource option in the images are done, but the memory leak is still there. Actually, we don't manage the memory usage of our program, because acubench ( extend 8.0) do it itself and my question is if someone knows of any option (at runtime or design) that can be the answer to the problem. Note: another subwindows in the program unload the memory correctly, and we are looking for the differences but... nothing at the moment. Thanks for the tips!
Hi, I'm using <LinkMultiDlls> set to true in the project definition for a Visual COBOL 2.1 project and I would like to create an installer to include all the DLL's for that project. Now this would appear to not be possible as the installer project (be it WIX, Installshield LE or a VS2010 .vdprof project) assume that the project build output has name ProjectName.dll and won't look for the multiple DLL's... I'm still researching MSBUILD but does any ideas on this? I know that I can specify each individual file manually from the project in the setup project, but if I add a new source file to the project and forget to add the associated DLL to the setup project it won't be included. Thanks, Michael#Setup#msbuild#LinkMultiDlls
tictac sample for oriontictac.txt#tictac#orion
Webinar 9 - Best practices for native and managed code - Question and Answer transcript The following question was asked and answered during the latest webinar in the Visual COBOL webinar series calendar. If you have any more, please post them here. If you missed the webinar, you can catch up here: http://online.microfocus.com/visualcobolwebinar9 Q: We are currently using NetExpress 3.1 with several senior members having worked with COBOL for over 30 years. What is the best way to start implementing Visual COBOL? Mainly, how do you convince them that the Visual Cobol would be a benefit? A: Convincing internal staff that it’s time to upgrade and pursue new technology is not always easy. Many times this requires an investment in product training, continued communications, as well as ongoing (internal marketing) awareness and education. Investments in product training for your IT team will help empower and enable them to take on the new tasks required during the upg
Hello, I am using ACUBENCH 7.3. I am changing a copybook which is used in many CBL programs. Is there a way to re-compile all the programs using the copy book without me having to copy all sources into the sources folder. Thanks for your assistance. Regards, Kumar#COBOL#copybook#compile#acubench
Hi, Anyone know if a document exist explaining the requirement sin order to migrate a running MFC 5 application into using Visual Cobol instead? I would be interesting in something that describe what to expect in the effort of replacing the Cobol compiler and runtime. The obvious consist in installing the new visual Cobol and its license and recompile the source, but should we expect to have to modify any data file (KSAM for example) or should some compilation/runtime flags be used to emulate the old version behaviour. Thanks in advance -Pierre PS: Principally on Unix.
Hi All, Could Anyone please help me in type casting in JVM COBOL ?? best regards#COBOL#JVMCOBOL
Hi I am using Eclipse Version!!! the problem is there is an error ==> Multiple markers at this line - COBCH0972S Linkage item 'CUSTOMER-MOBILE' is referenced but has no addressability. - COBCH0972S Linkage item 'CUSTOMER-NAME' is referenced but has no addressability. - COBCH0972S Linkage item 'CUSTOMER-ADDRESS' is referenced but has no addressability. - COBCH0972S Linkage item 'CUSTOMER-PHONE' is referenced but has no addressability. the code is : #Eclipse#JVMCOBOL#VisualCOBOLautoscalemodescreenresolution#COBOL
Good morning,I wonder if it's possible to change the default Builder that appears for a Cobol Remote Project in VisualCobol Eclipse 2.1, and as it should be The idea would be to set up the project so that when you perform a Build, will run a script located on the remote server for each of the programs that were part of the project. Currently we can accomplish this task by setting the following code in the Events tab; but the idea would be to set up the environment to not perform the default Buider, and only execute this code lines ... We also want to see the output produced by each of the lines in the script in the console tab. Thank you
I need write a program can use tapi32.dll. I use acucobol compiler. my problem is understand how transform code in cobol. I call Tapi32.dll. : SET ENVIRONMENT "DLL_CONVENTION" TO "1" : CALL "TapI32.dll" : ON EXCEPTION : DISPLAY MESSAGE BOX : "Message: Tapi32.dll not found" : SET ENVIRONMENT "DLL_CONVENTION" TO "0" : END-CALL. and now i had to call for example "lineInitialize" function ex. LONG lineInitialize( LPHLINEAPP lphLineApp, HINSTANCE hInstance, LINECALLBACK lpfnCallback, LPCWSTR lpszAppName, LPDWORD lpdwNumDevs ); Anyone can help me?
I'm looking for a definitive way to solve a problem with String values which get garbled when they are passed to COBOL via CCI IndexedRecord. Is Pointer the only class with which we can have the String values passed to COBOL programs encoded during the process performed by the implementation of CCI? Pointer does not seem to be able to handle a large string value as per Documentation. The length of the strings we are deling with are very large and PIC X(99) is not suffice. Does anybody have clue?
In Visual COBOL 2.1 for Eclipse, I'm trying to build a JVM application that I would want to deploy on z/Linux, so created a COBOL JVM Class, coded the statement $set ilusing"com.ibm.mq", add a JAR to the JVM Build Path in which package com.ibm.mq exists, then wrote the line of code set mqmanager to new MQQueueManager(qMgrName) in a method within the class. I cannot get the compiler/builder to recognize MQQueueManager as a class that I can access. I get the error message "COBCH0845S Unknown class 'MQQueueManager' " I added some ilusing statements for java.lang, and can quite happily access classes like Integer. I'm very new to this environment including object COBOL, but I think I've set up everything I should to have my class invoke a java class. So, what am I doing wrong.
Hi I am using visual COBOL for Eclipse, I want to know exactly ho to connect to mysql or oracle database and start using EXEC SQL statement using native cobol best regards#COBOL
Hi all, i want to write with C$XML the following string to an xml: "1.223,36 €". The problem comes obviously with the euro symbol. I initialize the parser setting encoding to "UTF-8" call "C$XML" using CXML-SET-ENCODING export-parser "UTF-8". I observed that on the runtime side the euro symbol is correctly encoded with the ascii code 128 (i saw it using function ord(), 129 - 1). When i create the xml and open it with notepad in utf-8 encoding i see no symbol where the € should be. Looking at it with an hexadecimal editor i see that there are 2 bytes allocated where the € should be and their content is c2 80 or, in decimal, 194 128. I found on wikipedia that the encoding of € in unicode is 3 bytes E2 82 AC. I also tried to set the "us-ascii" encoding with CXML-SET-ENCODING but it doesn't work; with this encoding i would expect an header like <?xml version="1.0" encoding="us-ascii" standalone="no"?> while what i obtain is <?xml versio
I created a multi-line entry control, but not sure how I can retrieve each line separately. If each line of entry is one email address, how can retrieve each of these line? Does any one know? Can you help? Thank you for your help! Thi#acubench
We have a native DLL called WN99.DLL, which has a number of programs named WN99???. Our application is mostly native but we are starting to add managed functions to it. When we start up our application, we load WN99.DLL in our native driver program with: SET PROC-POINTER TO ENTRY "WN99.DLL" All of our object, both native and managed, is output to the same directory. I was able to call a native WN99 program from a managed project without doing any further handling. When another programmer ran the same managed code, he got an error 173 on the call to the WN99 program. We fixed this in one of two ways, either by adding a reference in the managed project to WN99.DLL or by doing the above SET PROC-POINTER statement in the first managed program that got run (we have a little managed program which is run when we start our application and its purpose is to do any necessary preloads of DLL'S). Is it true that native DLL's that are called from both
I'd like to animate a cobol program and stop animation on a field value change - i think the documentation says to do a breakpoint until - but I don't see how to set this up while animating... the field value into the program is "2000089" - it would change to some other value like "200089.0000" if it's thru the 'B'reak - that sub menu shows me set, unset, cancel-all, examine, if, do, on-count, zoom not sure where/how to find until anyone know how to do
Does any one have experience with printing from CGI in IIS7? We are attempting to print using -Q \\\\user\\printer;DIRECT=ON but the print job ignores this and goes to a printer of it's choosing. (Not necessarily the Windows default printer on the iis machine.) WIN$PRINT will not show the installed printers. WINPRINT-SUPPORTED returns a 1. Ant help would be greatly appreciated. Thanks,Steve#CGIIIS7WINPRINTER
Hi, Can anyone tell me the appropriate cobol picture clause to use on a host variable to access a VARCHAR(MAX) column please ? Currently we have this defined as PIC X(32000) but when interrogating the esql statement generated in Sql profiler this appears to get converted into a TEXT data type which leads to an SQL error as we wish to use RTRIM. We need to be moving away from using TEXT data types as Microsoft are indicating they intend to withdraw support. Any advice would be much, appreciated. Thanks
Hi, I have some trouble when i try to "debug" an application in Visual COBOL. I looked in the documentation but I havn't found a solution. When I run my application, I give it a buffer of several thousand character, i run it on java like this : Reference ref = new Reference(); ref.bytes = "000A003 [....] 030303030".getBytes(); MyProgram program = new MyProgram(); program.MyProgram(ref); But now, i want to debug my Cobol using Visual Cobol, but i don't know how to pass this buffer to my program. How can i do it ? Thanks, Regards#buffer#VisualCOBOL#debug
The build of project ACU2MFDataMigration gives me an Unkown build error; Object reference not set to an instance of an object, line 269 in file Microsoft.WinFX.targets. I use VS 2012 en VC 2.1 on windows 7 and VS is very new for me. Who will and/or can explain to me what is wrong.
Hello, Can someone help me translating this VB code? Private Sub Form1_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load ' Create the list to use as the custom source. Dim MySource As New AutoCompleteStringCollection() MySource.AddRange(New String() _ { _ "January", _ "February
We have been succesfully porting our legacy app to the Thin Client but now need to replicate a lot of our reports. AcyBench is horrible when it comes to report writing. Is there an alternative for this? A large amount of our reports are written in troff but I am looking to have more reports that are written through the app and would be made availabel to the thin client user instead of having it done through the server.
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.