Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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
I have testing Cobol web services using Visual Cobol 2.2. My two webservices are: a simple calc with two methods, add and subtract; and my second WS with four operations read, write, rewrite and delete on a indexed file. Both WS work in a simplest way and testing from a Cobol client created by Eclipse. Now i wish to access webservices with a Java program: Java client consuming data from a Cobol web service, but i can't and need a documentation reference. With Java and .NET i use a SOAP webservice and i have a WSDL file; then use the reference "?wsdl" in the url for create the connection (using the wizard on Eclipse and VStudio). This method does not work with the Cobol web services. Any help?, Thanks. Enrique.
Hello, Micro Focus is looking for some information from customers who use the MySQL database in conjunction with our OpenESQL technology available in Visual COBOL. In particular we are looking for which MySQL products and platforms are being used. I have attached a brief 4 question survey to this post which provides a list of products, versions and available platforms. We ask if you could please download this survey and fill out the form and then return it to me via email to chris.glazier@microfocus.com. If you are not currently using OpenESQL or Visual COBOL, we ask that you still complete the survey and then in the comment fields indicate which products and technologies that you are using with MySQL. Your help with this is greatly appreciated. Thanks.
Hi everybody. I have 2 files as below : 1. MAIN.cbl 2. SUB.cbl In MAIN.cbl : CALL 'SUB'. PERFORM HELLO-PAR. HELLO-PAR. display 'HELLO EVERYBODY'. In SUB.cbl : I want use HELLO-PAR paragraph and don't want code again it. I try to PERFORM HELLO-PAR but have error. How do this ? Plz show me. Thanks !
This file contains an example of Java consuming a COBOL Web Service.WStest.rar
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 #COBOL
Problem: The application is deployed by including copies of the ACUCOBOL-GT directories rather than running the ACUCOBOL-GT installer. With version 10.1.0, when deploying this way, the AcuServer, AcuConnect, and AcuToWeb Control Panels do not work. When trying to add or start a new service there is an error "The system cannot find the file specified". Resolution: Beginning in version 10.1.0 the three control panels depend on a registry entry to tell the service where to find the executable. When deploying a copy of the ACUCOBOL-GT installation directories you must ensure that the registry entry is added. This will enable the Control Panels for AcuServer, AcuConnect, and AcuToWeb to function normally. Here's what to do (assuming 64-bit OS): 1. Create the key: For 32-bit products: HKLM\\Software\\Wow6432Node\\Micro Focus\\ACUCOBOL-GT\\10.1.0 For 64-bit products: HKLM\\Software\\Micro Focus\\ACUCOBOL-GT\\10.1.0 2. Add a REG_SZ item named I
Hi all. I'm a 30 year Cobol (mainframe) veteran, but currently working on my first RM/Cobol AIX system. It currently has a small size default for file creation. I need to change this - probably to 16GB. - I understand that the following is what I need: RUN-FILES-ATTR large-file-lock-limit=16RUN-INDEX-FILES force-index=no key-compression=yes use-large-file-lock-limit=yes - in /usr/rmcobol directory, there is a terminfo.cfg but not the runcobol.cfg which I have read about. I assume the terminfo.cfg is where these paramters go, as they are already there. I just need to update the limit to 16. - i have updated it. I ran a test program to create a new test file. But rmmapinx is telling me the new file only has a lock limit of 2GB. Can anyone tell me what else needs to be done for it to take effect? Do I actually have to reboot the AIX server? Thanks
Hello,I RETAIN my Net Express 5.1 “wrappack 12” from my Pc, and when I reinstall it with “wrappack 6” I found the license is corrupted, I checked the License Management System Configuration status =the license is not setup correctly.I just exit from it and back to it again I found the License Management System Configuration status = Full license and Net Express working fine, but after some days the same situation happened again and I solve it with the same solution I mentioned.Please any solution to correct this issue.
We're trying to call the following C function from COBOL: unsigned int MagickSetResolution( MagickWand *wand, const double x_resolution, const double y_resolution ); This function is part of the GraphicsMagick Wand API. The problem is in the 'double' parameters. It's not possible to CALL using a variable declared as USAGE IS DOUBLE, this gives the following compiler error: BY VALUE parameter WWK-RES-X illegal type We tried a variety of different options, including PIC X(8) COMP-N, but nothing seems to work. Is calling this function even possible? N.B. we're using the 32 bit runtime.
Wh have a problem in our test Environment for batch as we have several databases and the same programs executes on all of them. As soon as one person compiles and binds a program to one database you get a -818 when trying to execute it on a different database. This generates lots of rebinding and we would really like to get rid of this problem. Maybe the REOPT ALWAYS option could solve it but is there another way? Anyone who can point out the direction where to find a solution to this problem? regards PI
VS2013 / VC 2.2 I know how to have a Native program CALL another Native program (a traditional CALL).I know how to have a Native program INVOKE a Managed Windows program/app (CCW/COM Interop). What I can't figure out is how to have a Native program CALL? / INVOKE? a Managed Console program.Would like to see an example. Thanks
I have a current project in NetExpress 3.1 which has dialog systems screen. Is there any pitfalls to upgrading to 5.0? Thanks
Up to the Moment I receive QR codes as¨*.bmp file. I have no Problem to print them with PC_PRINTER_LOAD_BMP and PC_PRINTER_WRITE_BMP. I was informed, that I will receive in future the QR code as *.JPG file. Is there a possibility to print them from a NETEXPRESS program. Or does somebody know how I can include them in my invoices. Thanks for any help. Rolf
Hi, I would like to invite you to join the COBOL Analyzer forum where you'll find information on this new exciting offering from Micro Focus. Designed for Micro Focus COBOL applications, COBOL Analyzer enables developers, analysts and management to achieve a deeper understanding of their application portfolios providing both business and technical insight. In the forum, you'll find links to product videos, getting started tutorials and code samples. You are also most welcome to visit our product page to explore the different resources, download your free evaluation copy and understand how COBOL Analyzer can help you deliver higher quality COBOL applications, faster! Thanks,Guy SoferProduct Manager#ApplicationAnalysis#netexpress#cobolanalyzer#StaticCodeAnalysis#MicroFocusCOBOL#codeanalysis#RMCOBOL#ApplicationInsight#COBOL#VisualCOBOL
Hello everyone, I would like to invite you to join the COBOL Analyzer forum where you'll find information on this new exciting offering from Micro Focus. Designed for Micro Focus COBOL applications, COBOL Analyzer enables developers, analysts and management to achieve a deeper understanding of their application portfolios providing both business and technical insight. In the forum, you'll find links to product videos, getting started tutorials and code samples. You are also most welcome to visit our product page to explore the different resources, download your free evaluation copy and understand how COBOL Analyzer can help you deliver higher quality COBOL applications, faster! Thanks,Guy SoferProduct Manager#codeanalysis#cobolanalyzer#ServerExpress#ApplicationAnalysis#ApplicationInsight#netexpress#VisualCOBOL#StaticCodeAnalysis#RMCOBOL#AcuCobol#COBOL#MicroFocusCOBOL
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.