Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
PROBLEM When using AcuXDBC and accessing the data through a DSN in Excel it returns the error: DLLLOAD: xvision, the specified procedure could not be found PATH and GENESIS_HOME are set correctly and using odbcsql.bat directly on the command line works correctly. SOLUTION It may be that an incorrect DLL is being found and loaded, causing the error to occur. This can be checked using Procmon and checking the log. In most cases by checking the log it could be seen that MSQRY32.exe (Microsoft query tool) was checking for zlib.dll in C:\\Windows\\SysWOW64\\ BEFORE the Acu bin directory. If an incorrect or very old zlib.dll is located in the SysWOW64 directory then that would be loaded instead of the DLL in the Acu bin directory. Then the error would occur. It is unsure where the additional DLL originated from so it’s not recommended to delete it. Instead backup then move or rename the DLL and then AcuXDBC will work correctly again without error. #HowTo#TipfromSupport
Hello Visual COBOL community,I hope you can help me with my problem.In my current Visual COBOL project we are using Remote COBOL Projects. And my problem now is that I can't open any Ant files in corresponding editors (Ant editor) or views. The error message looks like this:java.lang.NullPointerException at org.eclipse.ant.internal.ui.model.AntModel.getEditedFile(AntModel.java:752) at org.eclipse.ant.internal.ui.model.AntModel.setBuiltInProperties(AntModel.java:529) at org.eclipse.ant.internal.ui.model.AntModel.setProperties(AntModel.java:459) at org.eclipse.ant.internal.ui.model.AntModel.initializeProject(AntModel.java:429) at org.eclipse.ant.internal.ui.model.AntModel.prepareForFullParse(AntModel.java:396) at org.eclipse.ant.internal.ui.model.AntModel.parseDocument(AntModel.java:355) at org.eclipse.ant.internal.ui.model.AntModel.reconcile(AntModel.java:313) at org.eclipse.ant.internal.ui.model.AntModel.getProjectNode(AntModel.java:1518) at org.eclipse.ant.internal.ui.mod
After booting my win7 32bit machine and starting Netexpress 5.0 with double-click on the Icon i become twice times the Screen with licence Windows, licence not valid. By the third click on the Icon Netexpress 5.0 will started correctly.Is this Problem known by microfocus and can we have a Resolution?This is each time after restarting the os!Who can help?
PROBLEM When trying to start AcuToWeb on Linux a message appears saying that it has started ‘AcuToWeb Gateway Started (PID: 18887).’ When checking the status of AcuToWeb it says that it is not running ‘AcuToWeb Gateway not running (invalid PID file).’ Checking the gateway.out shows the error message: … ImportError: cannot import name certificate_transparency SOLUTION This can be caused by the version of GCC on the host machine being too low or by a missing dependency. To check the version of GCC on the host machine, run the following command: gcc –version Sample output from CentOS: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Starting in 10.3.0 the minimum version of GCC required on Linux is 4.8.0 If the version of GCC on the host machine is below this requirement then it will need to be updated according to your OS. To check if the issue is caused by a missing dependency, run the following command in the acutoweb directory of the Acu installation: ldd ./Python2.7/lib/pyt
Problem: If a COBOL program calling Dialog System is compiled to .exe with shared/dynamic link, it only takes one license at run-time. However, if it is compiled as static, it takes two licenses, despite only one process being run. Resolution: There is no support for creating full static linked Dialog System applications in Net Express. For a Dialog System application, the code should always be linked with the shared run-time and this would only consume one license. #dialogsystem#staticlink#license#netexpress
Hi! We are using the Mapiland.dll to send email out of our software. As of late, we are having issues because Outlook is being installed as 64 bit, and Mapiland is only 32 bit. Is there a 64-bit mapiland out there in the world? Right now our work around is to tell the customer to re-isntall their outlook as 32-bit, but we shouldn't have to be telling our customers that...Anyone have any ideas of what I can do?
How many times a program can be executed. Hi, I need your help to know if there is an option to control the number of times you can run a cobol program in windowsm 10. For example, I have an icon to run box01, such as controlling that on the same PC you can only run just one time.
Problem : How to enable Windows XP support for COBOL application. Via a Visual COBOL command prompt, it is possible to use the cbllink –Y option to enable Windows XP / 2003 support, but how is this done via a Visual COBOL Project > Properties > COBOL Link? There appears to be no option to specify this, or it is not clear where to set this. Resolution : In a Visual COBOL Project > Properties > COBOL Link shows all the cbllink options are included expect for the –Y option. The Additional Directives Textbox can be used to specify –Y.
Problem : When attempting to uninstall Docker Licenses using the Micro Focus License Administration tool, a message saying that “Licenses are in use" is displayed - see sample screenshot below. Resolution : This occurs because these are STANDALONE licenses. Currently the only way to remove Docker licenses is to go to the C:\\ProgramData\\Micro Focus\\lservrc.stn file and empty the file content, and save it, as the License administration tool does not have the facility to remove them. Note that Docker related licenses should not be installed on non-Docker platforms. A restart of services “Micro Focus CES daemon” and “Sentinel RMS License Manager” may be required to clear license cache, also restart of the License administration tool.
Problem : Every time a debug session is started Eclipse compiles all the programs before starting the debug. With large projects containing many programs (that still need to be fixed in terms of syntax errors) it takes a long time to compile all those programs, this happens at each start of a debug session. Is there a way to prevent Eclipse from compiling all the programs before starting a debug session? Resolution : When debugging starts, a check on source files will be performed to find out if any are out of date, and if so a build is performed. This can be switched off in the Eclipse menu > Window/Preferences/RunDebug/Launching property page. On that page (about half way down) is an option called “Build (if required) before launching”. De-select that option, click Apply/Close and then test. NB. This is a global option so will affect the whole IDE (for example - Java as well).
Problem : Your UTF-8 to ANSI conversion code is not working as expected, characters are shown incorrectly in output. Resolution : Note: How to do this can vary depending on Product, Operating System and System locale used. For the sample below, two important parts to consider are the:Intrinsic functions used, see code statement in sample: move function display-of (function national-of(dl-data, 1208)) to conv-data And also the use of PC_WIN_OEM_TO_CHAR to set the codepage, e,g,: call PC_WIN_OEM_TO_CHAR using test02 test02 by value 30 30. There is a scenario where only the move statement is needed, statement "CALL " PC_WIN_OEM_TO_CHAR" will be needed to get the characters to display correctly, but this may vary. For example. if only working with data from files that are not displayed, then this routine may not be needed.Sample code: $set nsymbol(national) $set sourceformat"free" &nbs
Hello MicroFocus Team, My requirement is to create XML file using Acu cobol program along with ws-variable3 values. (Note: ws-variable3 has xml tags values.) But, below logic does not work. Any clue please urgently?XML EXPORT TEXTws-variable3response-payloadresponse-len"ws-variable3".if not XML-OK go to z.
I downloaded the free version of personal visual cobol from CNET. When I attempt to open an example project (or any other) the Visual Studio tells me I need an authorization code. This was a download directly from CNET. I didn't get an authorization code on a package and I didn't get one in an email as I didn't have to provide an email address to CNET. I called support and they told me to come here. When I try to use online support I need an authorization code to get to them. This is a conundrum of a sort. Can anybody tell me how to obtain an authorization code? Also, is this a temporary authorization or is it permanent for the personal edition?#VisualCOBOLautoscalemodescreenresolution
what is SRF file ? Please give me model program to understand SRF fileLet's look at an SRF file for a SOAP web service.{{ Handler * }}{{//}} {{ RunPath(bin,../common) }}{{//}} {{ StartService(tutorial2 -v) }}{{//}} {{ XMLExchange }}
anything wrong in this statement??XML EXPORT TEXTws-variable3response-payloadresponse-len"ws-variable3"IF NOT XML-OK GO TO Z.
My question is simple,Below which one create xml file? XML EXPORT FILEXML EXPORT TEXTXML IMPORT FILEXML TEST WELLFORMED-FILEXML TEST WELLFORMED-TEXTXML TRANSFORM FILEXML TRANSFORM TEXTXML VALIDATE FILEXML VALIDATE TEXT
We are running a simplish Acu9.2 database, and one of our clients has a large database with about 1 million entries. The files are split since they're so big. Since upgrading to Server 2019 we have noticed a strange performance behaviour that's completely reproducible.If we run REPORTA which goes through all the data and pulls out certain records, on the first run after reboot/login it takes in excess of 1 hour. If I then run the same report again it's over 10 times faster. If we run REPORTA , on the first run after after login it takes an hour then I logout and into our application again, and run the same report but with different parameters, it's also 10 times faster ie. about 6 minutes. I can see it scrolling through the records much faster.What's going on here, and can I make it faster on the first run? I know I should be upgrading to Acu 10 and rekeying the database, but let's assume that's all impossible It looks like some kind of OS ca
Hi everyone.I've got an odd problem, but it's intermittent. I made a bunch of changes a while back, one of which was adding "bind to thread" to all my windows (they should all be bound to the same thread). Before that, this problem did not happen.Situation. Have one floating window. Start a 2nd floating window. Type info into that 2nd window. Hit the key which triggers the program to close that window. I keep typing, wanting to fill in the fields in that first window that I just told the program to make active again. Sometimes, the first few keys I type "disappear" only to show up later when I create another floating window.Anyone know what this is?Is it related to "bind to thread"?Any idea how to handle this?(I've tried adding a little "buffering" routine to read all characters that are available according to "ACCEPT FROM INPUT STATUS" and save them in a buffer before closing the window. No change in behavior, the characters
Is it possible to get an environment variable of the windows client (for example %systemroot%) using Thinclient without redirecting the output under windows and then opening and reading the output file under linux (our host operating system) ?
Hi MicroFocus community Team,XML PUT TEXTresponse-payloadresponse-len"Doc-response"if not XML-OK go to z.The above logic has been executed and generated below XML file, i just wanted to know how do we get <AuthenticateUserResult> values(marked below as red) into one variable? using String/Inspect verb we can play or any other way?<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="docs.oasis-open.org/.../wsa:To><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-706eb5b2-5679-4772-8f70-7e8beeac6642"><wsu:Created>2019-11-13T13:14:17Z&l
Hi MicroFocus Community Team, I am using ACUGT cobol. My requirement is to call below web service and get the pdf document thru webservice and place pdf file on my local C drive. .. Any sample program or manual to study this please?https://px-demo.avcm.esvccenter.com/services/wse/delivery.asmx
Memory violation with runtime 10:77 DATA-STRING PIC X(32000).DISPLAY "Data :" LINE 09 COL 05 DATA-STRING LINE 10 COL 01 REVERSE SIZE 78Had to replace with:DISPLAY "Data :" LINE 09 COL 05 DATA-STRING(1:78) LINE 10 COL 01 REVERSE #HowTo-BestPractice
Dear MicroFocus community people,With help of "" https://px-demo.avcm.esvccenter.com/services/wse/Authentication.asmx "" web service i was able to get successful authentication token result using AcuGT cobol. But, my further requirement is to pass the single document id to below web service and if matches, then document should be placed in my local C drive path. Any clue on this how do we attempt in AcuGT cobol version for document retrieval.? I attached my cobol program which i was executed successful to get authentication token.https://px-demo.avcm.esvccenter.com/services/wse/WebSearch.asmxhttps://px-demo.avcm.esvccenter.com/services/wse/delivery.asmx
I have a full license for Visual Cobol 5.0 update 2 running in Visual Studio 2019 with all of the latest updates.I am working through the Visual Cobol for Visual Studio Essentials online course and am to the section "Using the Open ESQL Assistant". I've confirmed in the Tools Options that the mode is ODBC.When I select View -> Micro Focus SQL Tools -> OpenESQL Assistant, a new tab opens, but I don't see the window like in the tutorial. It is simply blank.I've rebooted several times, but the same result. I am running Windows 10 (1903).Does anyone have suggestions on how to resolve this?Thank you.
There is a post in the Cobol Forum regarding executing Unix commands from within a Cobol program using CALL "SYSTEM"..... When I try to do the same thing from a program running on a Linux-server the program ends with return code 51277 ws-command pic x(40) value 'ls -l > lsout.txt'.77 ws-rc-out pic s9(9) comp.call 'system' using ws-command returning ws-rc-out.display 'RC=' ws-rc-outThe file lsout.txt is created but it is empty.The return code is 000000512I have tried executing windows-commands when I run program in eclipse and that works well.Am I barking up the wrong tree or is this possible to achieve?Regards/Peter
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.