Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Cobol Personal Edition Download Thread created by GueLi Made my registration got confirmation per mail with following link https://www.microfocus.com/de-de/product-downloads/vcpe/vcpe23/vcpe-23-download.aspx?ld=rC3Yzxgb6dE=&sn=WYrsMryEk7o= and following message Page Not Found The page you are looking for has not been found on www.microfocus.com. Have no chance to download Cobol Personal Edition
Very often I've been using code construction like declare x as type <some_type> = self::GetSomething That's really cool. But what makes me upset that in this inline declaration the editor doesn't offer possibilitites when the cursor is just behind the self:: I must remember what I want to write. Or - and that's the key problem - when I even don't know the method or property name and I'm just looking for its name, then first of all I must declare the "x" item separately in local-storage and then I can start finding name of the requested method or name. It looks like the editor doesn't work correctly in that case.#declareinline
Dear Friends, Is it possible to focus on the first item in a listview without using the mouse? Regards Rogerio Barbosa
In one version of RM cobol accept statements do not display the contents of the identifier. In Microfocus RM cobol accepts statement display the contents of the identifier. Has anyone found a way to turn this off, or do I need to move spaces to the identifier before?
Hi, please is there any possibility to connect Net Express 3.1.11 or Net Express 5.1 with Microsoft Team Foundation Server (TFS), for source code versioning? Thanks#COBOL#netexpress
As I am transitioning to Visual Cobol can I install Cobol Server on AIX without removing the current Server Express install?
I was following the prompts to download Visual Cobol and came to a screen where they asked me for details, said thankyou and told me I'd get an email with a link and then could download... nothing happened... Is there another avenue or something I can do?
Hi, I'm using MF Dialog ListView control in windows 10 visual cobol 2.3.2. Through intelligent guesswork I've added: INVOKE my-listview-item-objref "centered" to the MF generated listview prog i.e. to centre a col rather than justify R/L. I'm enjoying getting to grips with objects and have some questions... 1. Does MF invoke literally pass the message, "centered" to the object, or is some kind of translation going on? 2. Is there a list somewhere of other listview attributes I can change? And is this list somehow restricted/controlled by MF or do I have direct access to all aspects of the Window's objects? 3. (Someone else asked this recently)... Is there a good summary somewhere of how windows objects work and how MF programmers can interact with them? My background is strong COBOL but not object oriented programming. I do though have some javascript experience. Many thanks, Linden
HI, Winform application developed using visual cobol crashes with below exception when run from windows 7 machine, but works good when run from windows 2012 server. Only programs with ODBC connection are having this issue, rest of the other programs are working as expected in win 7 box. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text **************System.TypeInitializationException: The type initializer for 'OdbcWrapper.Class1' threw an exception. ---> System.ArgumentNullException: Value cannot be null.Parameter name: path1 at System.IO.Path.Combine(String path1, String path2) at MicroFocus.COBOL.Runtime.Win32.PlatformAbstraction.LoadLibrary(String nativeLibrary) at MicroFocus.COBOL.Program.ExportedSymbols.Check(MethodInfo[] globalMethods) at MicroFocus.COBOL.Runtime.Common.ClassInfo..ctor(Type programClass) at MicroFocus.COBOL.Runtime.Common.Global.AddProgramClass(Type programClass)
After I reinstalled my notebook I need to reinstall my copy of Visual Cobol PE. When I try to download I received the error Page Not Found The page you are looking for has not been found on www.microfocus.com. Have anyone a correct download link???
Hi there, Are there any simple demo programs/screensets available still for dialog listview programmed controls that will work in VISUAL COBOL? Many thanks, Linden
Hi, Just wanted to clarify something. I have, $SQL( INIT) statement in my first prog with no parameters. I immediately issue an EXEC SQL select... from table.... Works fine even though i never specify db name or user/pw. Is this because I only have a single odbc source defined on my pc? Thanks, Linden
I am wondering if there is anyone on this forum that knows how to start an AcuCobol program automatically in the 2nd or 3rd monitor, I have customers asking for this ability?#AcuCobolruntime
We have an automated process which runs in the background processing files (using Extend 9.1 on Windows). As each file is processed, many Vision version 5 files are accessed, and many Cobol programs called from an object library (called OMICS7). After approximately 6500 files are processed, the runtime crashes with a file error 94,10 - which indicates the session is out of file handles. The customer is running on Windows Server 2008, but the same behaviour exists on Windows 10 Pro. We use a config file for the runtime, and the exact same behaviour occurs when MAX-FILES is set to 256, and when set to 16000. Using a Process Manager to monitor file handles, when the file error 94 is raised, we see many (approx 2000) file handles open for the object library (OMICS7). Curiously, we do not see these file handles earlier in the process, when only 3000 files have been processed, for example. We've examined the Cobol code in depth and are satisifed that programs are being
Is Cobol server s/w compatible with other versions of visual cobol ? Do we need to deploy executables generated from visual cobol 2.3 only to cobol server 2.3, do they work on cobol server 2.2 ?#cobolserver#VisualCOBOL
First time working with screen sections. Used to be in a mainframe environment. Testing a very simple program. Using Visual COBOL for Eclipse. Works within the PC environment but not in the UNIX environment. For Windows. ┌────────────────────────────────┐│ ││ Empl nr: 0000 ││ ││ Password: ││ │└── Staff number and Password ───┘ For Unix, the borders are messed up. ZDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD? 3 &nb
[Migrated content. Thread originally posted on 15 April 2011]Under Netexpress we generally compiled individual cbl files to gnt from the command line - if we move to Visual Cobol it looks like we would need solution with a separate project for each cbl ? Given that we have thousands of files it would clearly be a very time consuming process to do this manually through the IDE - is there a tool to automate this ?
Hello, this is my first ever post, so here goes: We are trying to implement a FETCH ABSOLUTE in a MF Cobol program. Here is what I found: When I try to code the fetch statement, I can use the following arguments: NEXT, PRIOR, FIRST, and LAST. However, when I use ABSOLUTE or RELATIVE, it fails compile. I included the SCROLL option when declaring the cursor. I read that If the SCROLL is specified in an ISO style DECLARE CURSOR, all FETCH options are supported. However, I still fail compile using the ABSOLUTE FETCH option. Here is the cursor declaration: EXEC SQL DECLARE CSRF00 scroll cursor FOR SELECT * FROM :WS-NAME-NO-EXTENSION A END-EXEC And here is the FETCH ABSOLUTE. EXEC SQL FETCH ABSOLUTE 2 FROM CSRF00 INTO :dclf00END-EXEC So, is my syntax wrong or is ABSOLUTE really not supported. Thanks in Advance, Bart#cobolnetexpress#SQLOpenEsqlNetExpressCobol
[Migrated content. Thread originally posted on 05 August 2011]SI 2527714Client has a query:How to pass data (string or pic x(100) ) from Net Express .exe to Visual Cobol .dll and pass it back again. I cannot find a demo or sample that is readily available that shows how to do this. Does anyone know if there is a demo available that I can use to provide the client, instead of creating something from scratch(trying to)? I do not think it is too relevant that it has to be a Visual Cobol .dll , unless you know if this would cause problems.. please let me know if this is a bad practice.Many thanks,Kim
HI, All of a sudden my program throws below error message which used to compile successfully. There's no code change, just trying to rebuild my solution for test deployment. Error 9 COBCH0852 : System error - unexpected error while generating managed code C:\\Clearcase\\DPSZP2\\TARIS\\VTARIS\\WI600WRP\\WI600.CBL 1 1 WI600WRPError 10 COBCH0855 : System error - evaluation stack exceeded limit C:\\Clearcase\\DPSZP2\\TARIS\\VTARIS\\WI600WRP\\WI600.CBL 1 1 WI600WRP#VisualCOBOL
I use C$XML on Extend 10.0.1 and the CALL "C$XML" USING CXML-WRITE-FILE XML-HANDLE H23-BESTAND is not coming to a end. Just after starting the statement on the screen appears the text "Using NATIONAL data requires ICU libraries". The xml output shall be large. The same process in a other general ledger gives no problems. I have kill the wrun32 and the xml output is a file with about 1100 records.It should be a file with more then 200.000 records. Who has a idee? Regards Jaap
Stupid question time: We are standing up a new Windows server and need to install COBOL Server 2.3.2. Can we install JUST cs_232.exe, or do we install 2.3 first, and then cs_232.exe?
Is possible to make Visual Cobol code shorter similar to something like that ? string ReturnValue = Expression == true ? TruePart : FalsePart; Using this the code would be shorter by 4 lines.#IIF
Hello, could anyone help me ? I have collections of some items, each of them has unique ID and I need to write code to find the item of specific ID. I found class Predicate and I suppose that this could be the right way to solve it as simple as possible. But may be I'm wrong I don't know. I also tried to write some code according C# and C codes but I wasn't successful. Thanks
Problem: I need to show that I have tested all logical paths through a program. Resolution: Note: This facility is supported in native COBOL only. Code Coverage Visual COBOL provides support for code coverage of native COBOL applications directly from within the IDE. In order to produce reports, code coverage needs to be enabled within a project's properties, programs need to be compiled and run with code coverage to produce the relevant reports. Follow these instructions to enable code coverage and produce code coverage reports: Enable Code Coverage on the COBOL page in the properties of the project. Rebuild the project to apply the changesThe application can now be run in code coverage mode by selecting Debug > Start With Micro Focus Code Coverage. Running the application with code coverage will produce a Results.tcz file in the folder specified in Tools > Options > Micro Focus > Code Coverage > Results Options. This file provides statistics in the Micro
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.