Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
What are Watchpoints ? Watchpoints are a special kind of breakpoint available when debugging native COBOL code. Rather than being associated with a specific line of code in your application they are associated with a COBOL data item. They allow you to break every time a data item's value changes. Without watchpoints you would have to set a breakpoint on each line where the item, or any redefinition of the item, was used in order to monitor changes to that item. In a simple program that may not be a problem but for a large, complex application that would not be practical as it may not be obvious where the item is used. Setting a watchpoint Let's assume that in the following program we want to track when the value of item2 changes. identification division. program-id. Program1. environment division. confi
Visual COBOL for Eclipse R4 is GA today! This is the first Micro Focus release which includes a full GA version of COBOL for JVM... (a pre-release add-in was available with Visual COBOL R3.) So where to start? You could Look at the samples - familiarise yourself with some of the new syntax features by looking at the JVM COBOL sample code provided with the product or Create a new application using the templates provided or Import your existing application to a JVM COBOL project Let’s look at these options in more detail... JVM COBOL Sample Code JVM COBOL samples are included with the product. If running on Windows there is a SamplesBrowser, which you can access from the Start Menu. Windows The samples are installed in subfolders under C:\\Users\\Public\\Documents\\Micro Focus\\Visual COBOL 2010\\Samples. Note: On older versio
The DateTimePicker control, along with the namespaces System.DateTime and System.TimeSpan can however save a COBOL developer a significant amount of time where date validation and manipulation is concerned. The DateTimePicker control restricts the input of data to valid dates, it can contain proper formatting and be set to ensure data ranges are valid before any data is accepted into the application. The System.DateTime namespace provides the developer with a set of properties and methods geared specifically towards date and time manipulation. The System.TimeSpan namespace allows us to determine the amount of time between two points in time as days, hour, or minutes. As we’ll see in the article existing date calculations that used to require numerous lengthy paragraphs to determine can now be handled with one or two lines of code. The DateTimePicker example will show several different methods of determining date values and how they can be used with existing code. WinForm We’ve
Our examples will focus on a single control. We’ll show you how to manipulate the properties of that control programmatically. We may have to include one additional control but the focus on each project will be on a single control with a supporting role for the additional control. Our first control is the Label. While maybe not a glamorous control, the Label provides a very important function for the developer: It enables the developer to present content, instructions or images to the user. Without the Label presenting information to the user all we’d have is a form with a bunch of boxes or circles without any idea what they were for. So let’s begin by looking at how to work with Labels. WinForm We’ve already created the WinForm we’ll be using. Remember, the intent is to learn how to manipulate Labels, not create WinForms. Our WinForm was specifically designed to be simple and present only the basic information. It appears as: Pretty simple, right? At the top we have a L
Visual COBOL and COBOL for .NET Language Introduction Visual COBOL Demo Sample Application files The Visual COBOL product family offers a high level introduction into the COBOL for .NET programming language and using Visual COBOL in the Visual Studio IDE.This provides provides a look into Visual COBOL concepts and features, and how existing code can be migrated to take full advantage of COBOL for .NET. To open the document, click on the Visual COBOL and COBOL for .NET Language Introduction link and open it using Acrobat Reader.Download the attached demonstration application files from the Visual COBOL Demo Sample Application files link to a location where it be accessed using Visual COBOL R3. Then open the application's solution in Visual COBOL. The demonstration application includes code that helps you walk through the material in the introduction.As always, we are keen to get any feedback that would help improve this document. Let us know what you would like to see in the Visual COBO
I'm at a loss... We have some legacy applications that are compiled with Object COBOL 4.0.32 which was installed on an older desktop. The desktop recently died and I'm now trying to install the compiler on a newer machine. The machine is WinXP SP3 with 1GB RAM. Nothing is running on it and I've disabled NAV, the firewall and everything in the BIOS set-up that looked like it might get in the way. I was able to install COBOL 4.0.07 and the WinSDK without a problem, but trying to run the 4.0.32 Update keeps throwing an error when it gets to "Checking Configuration...": Execution error: file 'UPDATE' error code: 114, pc=0;call=1,seg=0 (Signal 11) I have tried running it in Compatibility mode and unchecking the "Protect my files" option under "Run As" as well as running it as Administrator. I have also tried Safe Mode in XP, a Win98 Virtual machine, running it from the command prompt, and I removed a 512MB
[Migrated content. Thread originally posted on 20 December 2011]Hello,I am migrating to VisualCobol some RMCOBOL programs , and I have found some problems. I wanted to know if there is some kind of solution for these problems, or if it will be corrected in future VisualCobol versions1)When we want to verify that a file exists, some programs perform the following instructions .. .... SELECT OPTIONAL FICHSEC ASSIGN TO RANDOM LOC-FICHSEC ORGANIZATION LINE SEQUENTIAL ACCESS IS SEQUENTIAL FILE STATUS IS STAT-FICHSEC. .... OPEN INPUT FICHSEC. I
[Migrated content. Thread originally posted on 11 May 2011]Does anyone have any experience with a Cobol source Code Control System? which one? I have been trying to understand TortoiseSVN and TortoiseHg but thought there mught be a better system out there somewhere.ThanksDavid
[Migrated content. Thread originally posted on 23 February 2011] Hi Everybody i am faceing Storage violation issue in CICS.I am looking for following information if any body can help.a) My Dump say "Shared memory: Unlocked"b)DUMPCODE: Violatedc)Shared memory: Unlocked , DUMPCODE: ViolatedI am also attching the dumps i had.I will be really thank full is somebody can understand this dump and let me know , what its trying to say.Thanks and RegardsCheeta L Please find the code here
[Migrated content. Thread originally posted on 16 February 2012]The Micro Focus Developer Conference 2012 is a free event for the COBOL community, being held at the Crowne Plaza Hotel, Downtown Dallas, Texas on 16, 17, 18 April, 2012.The conference theme is 'The future of Enterprise Application Development', and this is a must attend event for anyone interested in COBOL application development and those generally interested in keeping up-to-date with the latest COBOL news and views.For details of the agenda, venue and to reserve your place, visit the conference webpage.
[Migrated content. Thread originally posted on 20 August 2007]We are currently looking for a programmer/developer for our small IT based company providing on-line debt recovery services in Lancashire, England. If you know someone who might be interested please email me at nick@colsys.net
[Migrated content. Thread originally posted on 11 February 2011]In case you missed it (which is easily done!) we announced the latest update to RM/COBOL this week. This release addresses over 40 customer-reported stability, and enhancement requests. This is the second WebSync release for RM/COBOL 12 and delivers on our previous commitment for continued support for our RM/COBOL customers. officially, it's RM/COBOL 12.06 and can be downloaded via the Micro Focus Supportline site.
[Migrated content. Thread originally posted on 08 June 2012]Hello!From verson 9.0 (9.1 ?), AcuCobol handles stored objects. That is, we can send and receive objects as classes structs etc from ie. a C# method.I am testing this, and for simpler objects I have managed to receive and handle objects correct.But now I have a method that returns a C# Dictionary object.This, I cannot figure out how to handle. Therefore I hope for an answer on this forum.I have my return object in this handle:77 hDictOperators usage is handle of Object value 0.It is used in this call:modify hMaventa "@GetOperators" (mav-returTabAnt)giving hDictOperatorsThe object is stored in this, and I get the correct result if I ie. ask for the number of instances:inquire hDictOperators @Count ws-tellerI can also extract the keys into another stored object, like this:inquire hDictOperators @Keys hDictKeysBut the question is; how can I extract the keys and values into pic x - variables?The normal way of doing this
[Migrated content. Thread originally posted on 05 June 2012]thers is an aid: cblcored, As I understand it it sets registry key values in [HKEY_LOCAL_MACHINE\\SOFTWARE\\Micro Focus\\NetExpress\\3.1\\COBOL\\3.1\\Config]"core_on_error"=dword:00000002These values are documented as in documentation.microfocus.com:8080/.../index.jspBut what about "debug_on_error"=dword:00000080In documentation it only has value 0 or 1 but on my system it has 128?
[Migrated content. Thread originally posted on 10 May 2012]Our Software Developer company needs a programer to work in Torrance, California www.rbza.com please mention this forumWe are not recruiters
[Migrated content. Thread originally posted on 20 April 2012]GoodFly for RM is the solution for the migration of applications made in RM COBOL with WOW to Visual COBOL for .Net With this innovative solution, several companies have already done in short time modernization project of COBOL applications to .Net with minimal impact in terms of intervention on the code. The result is a new greatly enhanced user interface that can be used through web and mobile channels. The main features of the solution are: Automatic conversion of COBOL-WOW projects with the creation of WPF screen set. Separation is maintained between the mask and the source, just like in COBOL-WOW. The logic of the program is not changed in any way: the program pilots cobol masks and not vice versa. Support of all COBOL-WOW controls. Support of Active-X controls. Support of the main COBOL-WOW functions (WowGetProp, WowSetProp, WowAddItem, WowGetMessage, etc..). Emulation of the COBOL-WOW event management. Conversion, when
[Migrated content. Thread originally posted on 13 April 2012]I'm hoping to produce an XML file that can be mapped to MS Word documents using the Word 2007 Content Control Tool Kit. (That's the easy Party).The tricky bit is embedding the XML file as a subdocument with the *.DOCX file set.Has anyone come up with a simple solution to this, of have an example program of calls to a .NET Assembly to calls ?This project is an effort to produce MS Word or PDF Invoices replacing calls to Active-X MS Word application so as to speed up the process.
[Migrated content. Thread originally posted on 12 March 2012]We have problems with one of our tasks.We are in a project to integrate to a webservice. There is written a proxy wrapper for us, to handle the communication with the webservice.But we get an error when trying to create one of its classes, the runtime crashes. When dissecting the wrapper, it seems that this class is the client class for the webservice. This means that we are trying to create a object – a class – that really is a webservice class.We are not very familiar with consuming webservice etc. and we are on a thin ice here...When I write a small C# code to do the same, it is necessary to add a config file to the C# project. This config file (app.config) holds the information about the webservice adress, binding etc. We have the config file, but is it possible to refer to it when creating the class? The short question is; is it possible to create a class in a dll component, that refers to a webservice class?Is the probl
[Migrated content. Thread originally posted on 01 March 2012]Hello!I have created a class in a .NET dll file. This class inherits another class, a base class.I want to set some properties that are implemented in the base class. When I make a definition file using NETDEFGEN, only selecting the child class, I dont get an definition of the properties. If I also select to include the base class in my definition file, I get a description of the properties. But refering to the child class, I dont get to set them anyway. How can i set this values?Must I first create the base class, set the properties and then create the child class? But how is the two then linked together?The exact situation is the dll "System.ServiceModel.dll".This has a class "WSHttpBinding", that inherits the base class "WSHttpBindingBase".In the base class, there is two properties I want to set, for instance "MaxBufferPoolSize".How can this be set?Regards Dagl
[Migrated content. Thread originally posted on 21 February 2012]Hi,i am currently using server express 5.0 on sun solaris. developing a C application which getting request from an infinite loop TCP interface and accessing a legacy Cobol library accordingly.I have a question on necessity of cobcancel. after calling cobol library do i have to call cobcancel? When cobcancel is called, process CPU utilization gets to on a non-root user with default process priorities whereas when cobcancel is not called, CPU utilization gets up to at most which is sufficient for the time being?When cobcancel is not called, does that produce memory leak or any other side-effects or run-time errors on application?
[Migrated content. Thread originally posted on 10 February 2012]I recently had to set up CGI with IIS 7.5 on a Win. 7 Pro and a WIN 2008 server. Since the Micro Focus instructions are IIS 5 on Win 2000 server, I thought someone may be able to benefit from my ordeal.The instructions are rough but here they are:If this is a new machine, confirm that wrun32.exe is operational from the desk top.Download and install Microsoft Web Platform Installer.www.microsoft.com/.../platform.aspxRun Web Platform Installer and choose IIS 7 Recommended Configuration.Follow this link for directions to install the CGI module.www.iis.net/.../cgiStart IIS and right click the "Default Web Site" in the Connections Panel (right).Choose "Add Application" from the pop-up menu.Type cgi-bin or the name of your choosing in the "Alias" field.Type the path to the folder containing wrun32.exe.Accept the defaults for "Application pool" and "Pass-through authentication".Cl
[Migrated content. Thread originally posted on 16 January 2012]Hello,Is there any way to obtain the trace (the execution tree) from a program that invokes several other COBOL modules?Regards
[Migrated content. Thread originally posted on 10 January 2012]Hello,In our current RM / COBOL system, we are using the software Relativity; it is the software that allows the construction of a true relational database using COBOL application data. I have tried the Relativity Software with files generated by VisualCobol Programs (that work with the RM/COBOL file handler), and it works correctly.My question is...Will We have support and maintenance for this software in the future? That is, when support for the RM / COBOL system is no longer available...Exists or will exist some software that does the same job?Thank you
[Migrated content. Thread originally posted on 06 January 2012]Hello,I have problems using a C library under RHEL5, serverexpress 5.I installed the libharu library to be able to create pdf files. Very easy : from the libharu.org/.../Downloads I downloaded the last stable version, then configure, make, make install and the library is installed. I checked with C examples from the libharu site : a simple compile using gcc font_demo.c -l hpdfdoes the job and the program generates the pdf file.I used h2cpy to generate properly the types according to libharu .h files. In fact, most of the functions work with pointers (maybe, that's my problem).I created a small cobol sample program which is the translation of a C demo file font_demo.cbl.No problem at compliation time using :cob -x font_demo.cbl -l hpdfIt even runs without problem, except that the final results are completly wrong!! At the beginning of the program, it asks for the size of the page which should be (841, 595) and I find neg
[Migrated content. Thread originally posted on 12 January 2012]Good afternoon,I have two old applications developed in Microfocus Cobol v3.1.11, and I´d like to update these applications to Visual Cobol R3 or if it would be possible to .NET technology.Is there any application or support that helps me to do this in the easiest way?Thanks in advance for your help.Best regards, Mabel
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.