Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: How can I increase the font size in ViewNow when debugging in Eclipse? Solution: When using Visual COBOL for Eclipse to debug remote projects, the debugger launches xterm on the Unix machine to send the user interface to ViewNow. There is a way to pass options to xterm to control the appearance of the X window in ViewNow. In a Debug Configuration, go to the Environment tab, and define a new Environment variable COBTERMOPTS. Here is an example: Variable: COBTERMOPTS Value: "-font -adobe-*-*-r-*-*-20-*-*-*-*-*-*-* -bg white -fg blue" (without the quotes) The above is an example of specifying a font, background color and foreground color to xterm. This example has been tested on a RHEL 7.1 and SUSE 12 systems. You can first test outside of Eclipse to confirm that a given xterm option will work for you by specifying it as part of the xterm command. For example: export DISPLAY=XX.XX.XX.XX:Y (replace XX.XX.XX.XX with IP Address of your machine running
I am attempting to incorporate VB6 DLL's into my Netexpress 5.1 Microfocus Cobol. Is this even possible and how the heck do I go about it. Very confused at the moment. Thanks.#COBOL#NetExpress5.1
Issue: When using the “-U” option with the 4.0 Patch Update product, the base product is removed leaving no product files on the machine. Example Install Scenario: Customer has Micro Focus Development Hub 4.0 installed. They want to install Micro Focus Development Hub 4.0 Patch Update 1. They run “rpm –U visualcobol_devhub_4.0_patchupdate01_redhat_x86_64.rpm” This runs without error but once complete there are no product files on the machine. Code was added into the 4.0 RPM installer to remove any files left behind in the installer directory when the product was removed. This was added to the post uninstall RPM section of the installer. When an upgrade is performed the base products post uninstall actions are triggered and so the tidy code is run, resulting in all the product files being removed. Fix: Code has now been added to the tidy script to ensure it only runs on a true uninstall and not during an upgrade. Affects: This issue affects upgrading from the following products.
Net Express 5.1 Connecting to IBM MQ using IBM MQ Client library. We have a couple of IBM MQ connections working ok, but a vendor now requires us to store the SSL certificate in the IBM MQ Keystore with a password. What I need to know is where in the IBM MQ structures (copy books) can I define the password for the Keystore. An example would be much appreciated.
Do MicroFocus have as download the examples from this book, so that we must not retype all code! This will be perfect, when this is possible! Thanks cg
Hello COBOL community, I actually work on a project with this configuration: - Visual Studio 2017 - Visual Cobol 4.0 -SQL Server 2014 and SSMS 2017 - Native project I actually have some programs with access to a database. I use a "Connect" statement with parameters such as "Trusted_Connection","Database","factory","server". My question is: is it possible to include all those parameters with the ADO connection assistant? I tried to configure one but when I use my exec sql statements, I have an SQLcode error. The goal is to epurate the code of the procedure division and have a COBOL-like program. Thank you for your answers and have a wonderful week. Sebastien.#SQL#VisualCOBOL#Connect
Hello, Is there a Rest API (or shell commands) to manage regions in a Cobol Server ? For example, I would need to programmatically set the XA connector for a given region. Thanks in advance
Does some one have a API cobol program. I want to make a connection with Mailchimp or channable or Twinfield etc etc. https://support.channable.com/hc/en-us/categories/115000528869-Marketplaces-Orders
Problem: Compiling a CGI program produces the following error: Server Express Embedded HTML PreprocessorVersion 5.1.0.2 Copyright (c) 1984-2008 Micro Focus (IP) Limited.* 645P copy 'mic1999.html'.* 803-S******************* ( 0)**** Integrated preprocessor message** HTML splitter error 002 Resolution: The HTML file being included in a COBOL Source cannot be marked with READ-ONLY attribute. This is because if any line in the HTML file is too long to be processed by the checker, it will be modified by the HTML Splitter before feeding into the checker, therefore it has to be a writeable file. This will be add
Problem: Unable to install new licenses with version 4.0 as it is impossible to run the cesdamintool.sh. It keeps showing the message: "incompatible java version, needs 1.5 or later." Even with java version 1.6 being installed, "Cesadmintool: Java version 1.6.0_161 in the following location is incompatible." is displayed. Resolution: This is an incorrect message displayed by the installer because Java 1.7 is now the lowest version supported. Unfortunately the scripts logic was updated to detect the new version of java but the message displayed was not. So there is the need to update to Java 1.7, ideally 1.8 so it will include the latest security fixes etc. This is fixed in patch update 3 and later to correct this wrong message displayed.
Problem: If the /tmp directory is cleaned up, it will remove license related files which are by default created in the /tmp directory. Resolution: There are two types of file stored in /tmp by default. The socket file which is used to communicate between mfcesd and the COBOL apps. This file can be relocated by setting socketdir (e.g. socketdir=/var/microfocuslicensing/socket) in ces.ini (needs version 10000.2.02090 or later and the folder will need to be created with 666 permissions ). NOTE: The file is abstract on Linux systems so there should be no issue. The second type is the lock file (mfcesd.lock). This is used to prevent a second copy of mfcesd from running and to help identify the mfcesd process when stopping it vis stopmfesd.sh etc. This file being removed is less important, but you need to be aware this may cause issues with starting/stopping mfcesd.
hi, I run cobol program with net-express 5.1 wp 16 (work fine in mainframe and Enterpise developer.) but on my net express project I have this error: I/O error : file 'SORTWK3'error code: 3/5 (ANS85), pc=0, call=1, seg=0 13 File not found Can I solve with compiler directive or other? thanks bye
Boa tarde. O programa abaixo envia email pelo Cobol (AcuCobol) mas não tenho a biblioteca em destaque. Alguém teria a biblioteca: MSMAPI32.DEF para me fornecer. Pode ser em pvt: pjrsil@uol.com.br Agradeço retorno. Pedro Junior IDENTIFICATION DIVISION.PROGRAM-ID. OLEMAPI.ENVIRONMENT DIVISION.*====================** Copyright (c) 1996-2001 by Acucorp, Inc. Users of ACUCOBOL* may freely modify and redistribute this program.** This sample demonstrates how to use the Microsoft MAPI OLE Library* from ACUCOBOL-GT to send emails.* Note that this example application requires the use of the attached* definition file, using another definition file for the MAPI object* may cause the application to fail.** This technique should work with both OutLook and OutLook Express,* however, there are some requirements. Take a look at these URLs* if you experience any problems (urls valid as of 14 November 2001)* http://support.microsoft.com/support/kb/articles/q1
Created On: 24 June 2011 Problem: Micro Focus runtime licensing uses a number of segments of shared memory to monitor and control deployment licensing. There are times when a program or operating system misbehaves and the shared memory becomes corrupted. Resolution: Attached to this article are two versions (32 and 64 bit) of shared memory reset tool. The MFSharedMemoryReset tool allows the systems administrator to reset the shared memory used by Micro Focus licensing without the need to reboot a machine. This should resolve the problem. Incident #2524762 Attachments MFSharedMemoryReset-32bit.zipMFSharedMemoryReset-64bit.zip Old KB# 34191#COBOL
I am compiling procedural COBOL into class files and deploying it to an .ear folder which is being run using JBOSS. The program exits prematurely and I am seeing the following error in the server logs: com.microfocus.cobol.program.COBOLProgramLoadException: 173 Called program file not found in drive/directory [ONOFFCHK] ONOFFCHK is one of many functions the application uses to handle memory contained in a .dll file called ACSDLL. This .dll contains functions exclusively written in C. Using the debugger I have found the line of code where the failure occurs: SET DLLPTR TO ENTRY "ACSDLL". It seems like the .dll is not being found at runtime, despite its directory being set in the PATH. Is there any particular setup in Eclipse or compiler directives required to link JVM COBOL to a .dll containing C functions? Thanks!#Eclipse#VisualCOBOL
Hi, Can any advise how to convert below to Visual Cobol? using System; using System.IO; using System.Net; using System.Net.Security; using System.Security.Cryptography.X509Certificates; namespace ConnectToFtpDemo { class Program { static void Main(string[] args) { try { FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp:///testFileUpload.txt"); request.Method = WebRequestMethods.Ftp.UploadFile; request.Credentials = new Netwo
Has anyone ever bundled an acucobol 9 installer into an MSI so it automatically installs chosen options into a particular (non standard) directory? thanks
I am having a problem compiling my COBOL app with Linux bash script. I need to set JVMCLASSPATH to several JAR files and I keep getting the error Cobol compiler argument exceeds 255 byte limit: JVMCLASSPATH(...) Any suggestions ? #CobJVM#JVMCLASSPATH
Is there a way to implicitly type a variable in visual cobol? For example, in C#, if I have the statement: var myResult = myFunction(parm, parm2); The type of myResult will be whatever type that myFunction returns. Is there a cobol equivalent to the above function call? Thanks, Mike#VisualCOBOL
Can a REST API definition supplying client ID and/or client secret be done using Visual COBOL 2.3 for Visual Studio 2012? Is this possible from the new project/the web service client application from WSDL/JSON or using IMTKMAKE?
I looking for example printing barcode(codabar) with using the escapecodes(HP printer)#AcuCobol
I have an alphanumeric entry field which I am populating before displaying my dialog screen and would like to set the cursor position at the end. For example, if I populate an entry field in my Visual Cobol program with the word "TESTING" prior to displaying my screen, I would like the blinking cursor to appear at the end of the word (which would be after the letter "G") once my screen displays. I do not know how to do this. Thanks in advanced for your help.
Hi - I'm trying to install Visual COBOL Personal Edition on OpenSUSE Tumbleweed (version id = 20180829). I've added the dependencies the installer asked for (Ed, glibc-locale-32bit and JDK 8), but when I run the installer I get: install.sh - ExtractFiles - 001 - Failed to extract product PaX tool returned non-zero return code. RC:- 255 The installer has created the following directories below /opt/microfocus, but both the VisualCOBOL directories are empty: logsVisualCOBOLVisualCOBOL.BKP-2018-0-03.14:54:01 Any suggestions? Thanks.
New Releases.
I was able to execute the sample visual cobol WEB WCF service and validate its results. I am trying to consume a C# WCF service hosted in a different domain from a winform test client managed program developed using VC 2.3. I get error message "The server has rejected the client credentials". Here's my test client app config file details... <client> <endpoint address="net.tcp://servername.domain:port number/path/TestService.svc" binding="netTcpBinding" bindingConfiguration="TestService" contract="ServiceReference.ITestService" name="TestService"> <identity> <userPrincipalName value="service account@another domain" /> </identity> </endpoint> </client> What am i missing ? #WCF#VisualCobolManaged
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.