Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
We are getting communication error while calling WINAPI. Earlier it was running fine but somehow from today onward its started giving this error. My code looks like as below: call WINAPI CPIC-INIT using by reference ws-conversation-id symdest ws-cm-rc We are getting communication error 20 while doing this. Any thoughts
Hi I'm porting a large desktop MicroFocus application that is currently compiled to gnts onto the Web. I'm using Eclipse 2.2.2 on Windows 10. The app will deployed on a Windows Server 2010 or later. The old architecture uses a sockets C program, compiled to a dll that was itself called by a compile Cobol gnt. Here's an extract from the COBOL program that called the sockets.dll 01 W00SOC-REC PIC X(6144). 01 ws-msg PIC X(6145). string w00soc-rec x"00" delimited by size into ws-msg call dynamicNTStdCall "sockets" using ws-msg The other side of the socket connection is a Java program that paints a Gui screen using the passed information at run time. Gnts needing to use the sockets Cobol program pass W00SOS-REC in linkage. As far as I can tell there is no native support for sockets on the Web, apparently for security reasons. However there is socket like protocol "Websockets" that is widely supported. I can install and use To
I installed VC3.0 for Visual Studio 2017 PE free for 1 year. When I create a project it says there is no license. I ask for a license, automatic via the web, but it says my e-mail isn't registered. When I try to register my e-mail it sends me to a website http://www.microfocus.com/p-visual-cobol-pe and that's it... It stays waiting for a response from >MicroFocus. After more than an hour I gave up... Can you help?
Above is a window with the error I'm receiving when trying to connect to a Microsoft Access DB from VS Cobol 3.0. I connected it under tools which appeared successful. Help!
This might be a simple question... I declare a cursor for: SELECT TOP 10 * FROM tablename but, there is only 1 row in tablename and I am fetching until SQLCODE = 100 Does the FETCH reach 100 after 1 row or does it keep processing until all 10 have been fetched?
Currently we have code that runs in a 64-bit , Net express 5.1 , and windows 2008 R2 environment , we are looking to upgrade to windows 10 or windows 12 and run the code there using NETX51 , but have sporadic issues running the programs under a WINDOWS 10 environment , so for the time being we have compiled the programs in windows 2008 , and run the executable on WINDOWS 10 , by setting the compatibility mode to windows 8, But going forward windows 8 is not going to be supported , so how do we do this COBOL CODE migration developed under MF 64-bit NETX51 to Windows 10 , or 12 without going to VISUAL COBOL. Is there any special lines of code that can be added to the source COBOL programs to make it run under WINDOWS 10 . Appreciate any help.
Hopefully someone can point me to where I am going wrong. Long story short.. IBM RS6000 AIX 4.3.3/Server Express 2.0.11 Server crashed and had to load from tape and thus corrupting the license db files. I went in and tried to recover from backup db but fail. Looked on the KB's and said to delete mflmf folder and go to $COBDIR/lmf and did the .install. This is a developers license so went back to /usr/lib/mflmf and ran ./mflmadm and put in the S/N and L/N and it says "invalid platform." I have looked everywhere in the forums and KB's and followed everything to a "T." Is there something I am doing wrong or missing or is this out of my control and need to contact Micro Focus? Thanks! and PS this server is almost as old as me and I have been tasked with reviving it and AIX isn't my thing so bear with me! Dan#ServerExpress#aix#license
When I try to read a record, that is locked by another user, I receive the status code 9-68 or 9 65. Is there any possibility from within the Cobol program to know besides this Status, the name of the user, or computer who holds the lock? That would be very helpful for the person that is waiting until the record is released. Thanks for any help Rolf
Hi there, I need to get the MySQL db name I'm connected to. MySQL command below gets pre-compiler error, "Incorrect SQL statement syntax near: database". exec sql select database() into :aName from aTable end-exec. 'Select schema()...' gets same error, while 'select whatever()...' is fine. Seems to be a reserved word problem? How to solve? Thanks, Linden
Hi Team, XA Resource is keep on disabling and we noticed below errors in the logs. Kindly help me on this . WE are suspecting we need to change XA resource parameter. ERROR:- XA Resource Manager initialization error. Resource BDP1 open failed, reason -00003 Thanks in Advacne
PROBLEM Starting from AcuBench 10.0.0 and higher there is an issue with strings that contain a hyphen. Place the cursor on a string with a hyphen, for example "file-status", and press ctrl-f, the search window will only contain part of the string. Double clicking on the string will also only highlight part of it. The last version where this worked was AcuBench 9.2.5 RESOLUTION This is fixed from 10.2 but can also be fixed in previous versions by modifying acucobol.ini. Find the [Parser] section, and the Delimiters line. Remove the dash (-) so the line looks like this: Delimiters ="'()* ,./:<=>| N.B. If the copy of acucobol.ini is changed in the installation directory, then all new users will get the change. If you fix the copy in your personal directory (usually C:\\Users\\<username>\\AppData\\Roaming\\Micro Focus\\AcuBench\\acubench.ini) then only the current user will get the change.#acubench#ACUCOBOL-GT
Hi I have a .dll written in F# that I need to integrate with. When trying to make a definition file with NETDEFGEN, the correct classes and methods are not found. Seems like the last class is found, with strange names. Is it not possible to integrate with a .dll written in F#? Regards Dagl
Problem Is it possible to print a Unicode file for a COBOL program when the local language is different to Unicode? Resolution Before the file can be printed, it needs to be converted from Unicode (ie UTF-8) to the local code page (in this case CP-864). This conversion is done using the standard Linux/Unix command iconv. The attached COBOL program performs the following tasks: Call iconv in open to prepare to convert the file Calls iconv to perform the conversion from UTF-8 (Unicode) to CP-864 (Arabic) Call iconv to close and release its resources. Convert_File.zip The program has been written as a subprogram so that it can be called prior to the output being sent to the printer. The program uses the following parameters when making the call to iconv: The UTF8 buffer (input buffer) The CP864 buffer (output buffer) The size of the UTF8 buffer The size of the CP864 buffer More information about iconv can be found in the standard Linux on-line manual (if it is installed), by
Hi all, Any ideas? How might I call out from Visual COBOL (Windows environment) to measure the height of a given piece of text rendered with a given font, point size, column width? e.g. A call to calculate the size of this text in Arial 12 point in 50mm width column, "FORD FOR SALE. Lovely condition, very economical, £30 road tax, low insurance. MOT to August 2018 with no advisories. Cambelt Water Pump and Coolant all changed in August 2017. Continental tyres with plenty of tread all round. Ford Radio CD with auxiliary port for I Phone MP3 etc. Owned by us since May 2011." Anyone done this from COBOL? Any ideas appreciated. Thanks, Linden
We are getting below error. Please Wait. Extracting Payload... ./setup_entdev_3.0_patchupdate04_168607_redhat_x86_64: - ERROR - File size does not match that expected. Perhaps this file is truncated or corrupt. When transfering via FTP ensure binary mode is used. Please get a new copy and try again. Can you please help on above issues.
Hi, I am currently try to use acucobol 10.1 to print the document with vietnamese character. The Vietnamese character is input using UTF8. I can see all the character is correct but the problem that i face is the alignment is run. Please advise how to made the program to print the document for UTF8 character without alignment issue. Thanks You.
Hi, I am facing issue when rebuild the file, it show chain broken/file broken. May i know that how can rebuild a corrupted file with 100% recover without any records lost? Thanks You.
Hello, I am trying to use the same screen section for several purposes. In a case all input fields must be available to the user, and in another case some fields must be protected and not visible. Of course the change in the field attribute has to be done at run time. I tried to play around with the ACCEPT CONTROL clause, I simply move "PROTECT" to a variable previously linked to the CONTROL clause in the SCREEN SECTION. Result: The field is effectively protected but the cursor stop on it when I hit tab from the previous field!!! Is somebody knows if there is a way to avoid the cursor to pause on it? #VisualStudio#ACCEPT#VisualCOBOL
Hi.On some Windows 10 PCs I have been confronting a problem when my software executes the next instruction from a rm cobol program. In the majority of the PCs with which I work this instruction works perfectly, but in the new Windows it ignores the instruction and I can not open the text file. Does anyone have any suggestions to solve this problem? CALL "SYSTEM" USING QUE-TEXTO-OPEN 02 QUE-TEXTO-OPEN. 03 FILLER PIC X(6) VALUE "WRITE ". 03 FILLER PIC X(17) VALUE "../Programas-wow/". 03 FILLER PIC X(13) VALUE "doc-inventar/". &nbs
I've recently added a MAC to my collection and found a VS 2017 for MAC download. Has anyone used this or is familiar with using a MAC with Visual Studio and Visual Studio Cobol PE. Is it the same Cobol download for the MAC as the one for Windows? Need to know if it will function the same as my Windows versions.
Is there an easier way to convert a RM Comp-6 to something that OpenESQL would recognize. The error I get is "does not have a suitable definition to be used as a host variable" The only way I've gotten this to work is move it to a Non Comp-6 Field first (into a signed non-packed field for example) ... then using that variable. I was hoping that CAST or CONVERT functions would work, but Haven't had any luck getting it to work, or I've just go the Syntax wrong. Thanks for your help/insight. Eric Boatman
Hi, we are trying the following: when the user starts a runtime we want the initial program A to call a little program B (as a thread) that runs independently as long as the runtime is running. Even if for example program A calls program C with CALL PROGRAM. Is this possible ? How would you achive this ? The thread was our first idea. If you come up with something other than thread we are open for your solution.
Hi all We are experiencing better execution 2nd time we run a program in the day, especially with large amount of records. The program read through a big file much faster second time. Has anybody else experienced anything like this Of course, this can happen by using the computer's cache. But if the computer is not closed, how can the same happen the next day. First execution takes a lot longer time that the second. Is there a way to control this cache? First of all make it as big as possible. Second, how do I avoid the cache is deleted during the night. I have been told that Acu only makes cache for programs when using acuserve. Is it possible to see what is stored in the cache? The programs is executed with Wrun32 directly on the server, version 7.2 but it is also seen in 9.2.1 Best Regards steen
Hi all, does anyone had this problem already? With the latest version Micro Focus Extend Runtime Version 10.1.1 I receive very strange values in wprtdata-lines-per-page (like 1431 or 1766, every time something else) when I use the command: call "WIN$PRINTER" using winprint-get-page-layout winprint-data. If I do the same with an earlier runtime (I used 7.0.0) I get normal values like "76". So, is it a bug (serious one) or do I have to change something?
Hi everyone, I've a Java program called consStatServ.jar and basically the main method creates a XML, and send it to a web service and returns a response, however to send it to the web service, I need to put in it a signature, for do this is necessary using certificate. In this case, I'm using Oberthur. This method works fine when I execute it in Eclipse, but when I call it within Acucobol C$SYSTEM causes error: "error signing certificate verify". I've already tried using the C$JAVA and it triggers other error caused by use of protocol object in a Java method. What's wrong? Is there another way to do this? Regards, Carlos#AcuCobol#CSYSTEM#JavaClass#extend
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.