Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: There is an issue in tool-tip during a debug session when a variable contains a low-value. In this case, the shown content is cut after the low-value and you are not able to see the whole content. This also happens in the auto-window and the monitor-window. In Net Express the content was fully shown. Resolution: This behaviour is expected in Visual Studio. The tool-tip displays the value of the item as a string and strings are terminated by a null byte. If you hover over a buffer in a C/C program containing a null byte you see exactly the same behaviour. The tool-tip has a magnifying glass and if you click the arrow next to it and select the Text Visualizer the entire content of the item is displayed when debugging native code, with the null byte shown as '.'.
Hi all. We notice that from runtime versione 9.2.2 (or higher) the DLL convention seemes to be automatic set by the runtime ignoring the user specification. Is it correct ? Can we trust it and stop explicitly setting the environmental variable ? Thank you -- Davide Giudici#extend#DLL#AcuCobol
Hi, we encountered an issue with Vietnamese characters whereby the we can input and save the record into vision 3 file. However when we recall the record, the Vietnamese character will show up as '?'. This does not happen in the previous version which is v10.0.0. For additional information, we are using the Vietkey software to input Vietnamese and it is actually VISCII character set. Any configuration parameters that will affect this? We have tried both TRANSLATE_TO_ANSI and COBOL_CHARACTER_SET, both does not work.
I have a new CR3003 compact USB Cash Drawer because the new computers doesn't have serial port. The cash drawer is already configured like you can see in the picture. I need help to understand why it's doesn't work. Serial cash drawer with real port work good but now look like cobol can't communicate appropriately using USB cable HID to Virtual COM Port. The Cash Drawer open good using that program, but from rmcobol program doesn't work, ignore. This is the windows configuration port. Wascar Guerrero.
In Sept I bought the Visual COBOL book from MF and downloaded VCVS PE which worked just fine. But I had to get away from it for a while and now it tells me that my trial has expired. I thought the PE version lasted longer than 30 days. I tried downloading it again, but still have the same problem, your trial has expired. I will need VCVS PE to finish the book and I was wondering if there is some way to download it again without getting the error message?? Thanks.
Problem: When rebuilding the version 10.1.0 Runtime on Windows there are errors about missing libraries: acme2.lib, avision5.lib and wcpp32.lib. Solution: 1. Download libpdf.zip attached to this article, which contains two libraries missing from the 10.1.0 installation, and extract to the lib directory of your 10.1.0 installation. 2. Open the .sln (in the lib directory of the 10.1.0 installation) in Visual Studio 2012 and accept the prompt to “Update VC Projects”. Note that you must use Visual Studio 2012. 3. In the Visual Studio Solution Explorer remove these three files under ‘Source Files’: acme2.lib avision5.lib wcpp32.lib 4. Right click on ‘Source Files’ and select ‘Add’ then ‘Existing Item’ and add these three files: avision6.lib libhpdf.lib libpdf.lib The solution
I have a problem figuring out how to control threads. Have 2 programs: Program1 should stay in control, program2 contains a window that the user may activate. Summary of source: --- Program1 (called from my main application): display floating window, modeless bind to thread. call thread "Program2". display screen-1. accept screen-1. --- Program2: display floating windows, modeless, bind to thread. display screen-2 accept screen-2 --- My problem is that control is in Program2 and not in Program1 even if Program1 displays and accept screen-1. User has to click window in Program1 to make it active. What do I do wrong?
I have a set out .cbl files and migrating the system from Solaris to Linux. The executable which were used earlier were in .out format and called through a shell script. I have been trying to compile the the .cbl files using Visual COBOL for Studio. After compiling the executable created, have extension as .int. I would like to know how to convert them to .out so that I don't need to change anything in the script.
Problem Trying to relink ACUCOBOL-GT runtime on Linux/UNIX, static libraries, the following error may occur: make -f Makefile.ora [...] cc: ./libhpdf.a: No such file or directorymake: *** [runcbl] Error 1 Resolution The mentioned library is missing in some installations, for instance: 10.1.1 ST for Linux 64-bit.As this is a third-party library, it may be recovered by any other previous ACU installation. If this is not possible, please contact your local Customer Care office, who will take care of your request and provide you with the missing library. The library will be included in next release 10.2.0. SI 3121985, 3121791#10.1#libhpdf.a#make#ACU#Missing
Problem AcuToWeb Desktop may show some conflicts when Edge is used as browser on the client device: 1. "Connection to server refused, access denied"It may occur when AcuAccess file has <same as client> as Local Username.Trying to connect to an alias, the error is shown using Edge, only.Any other browser will work correctly with the same configuration. 2. AcuToWeb Desktop remains in "Listening" mode and no new "Waiting for alias" process is started.Using Edge, the ATWDesktop "Waiting" process never comes up, even after having hit F5 for 10 times.Any other browser will work correctly with the same configuration. Resolution Both issues are caused by a restriction of the Edge browser itself.The Localhost loopback is blocked.The option "Allow localhost loopback (this might put your device at risk)" is ignored under 10 Enterprise. But it is working under 10 Pro.This is a bug in the system. To solve the situation, open the DOS prompt "As Administrator" and launch the
How can we query Windows to determine if a specific program is currently running?
It is possible to collapse/uncollapse sections in visual cobol for eclipse but I can't find a way to collapse if-statements. It would enhance the overview of a program significally to be able to toggle complex if-blocks on and off. Anyone that know a way to do this? PI#VisualCOBOLEclipse
Whenever I attempt to run acuprof.acu, I get a file error 92 (File is already open. (open)) on a temp file that is created, and the report is not generated. I was wondering if anyone else had experienced this. We are on version 10.0.1. The profiler used to work in previous versions of Extend. *========================================================= | || File error 92 on APa16452135.tmp || COBOL error at 00013A in /lprod/acuinst/tools/acuprof || &nbs
Hi Guys. I'm a student, and in college we're using Visual COBOL. At home, I have both VS and Eclipse installed. At first, I succesfully installed VC for VS, and it activated fine. Later, I tried to activate the Eclipse version, but I'm not getting to. I've already tried different emails, uninstall and reinstall VC for Eclipse, have already removed VC for VS, and nothing it's working. Any help on how to proceed on this? Best Regards #VisualCOBOL#Eclipse#COBOL#activation
Can the username who created a print file be extracted somehow using one of the library routines or ???
I am trying to debug a program. My data structure has a mix of alpha and numeric data. When the programs stops on a breakpoint, none of the numeric fields show any values. They just display Cannot evaluate expression, error code '0x80004002'. If I edit the watch value, I can see the value. This occurs whether the PIC 9 field has COMP or not. The structure 01 INTERNAL-DATA-FORMAT. 04 INT-X15. 06 X15-DIRECTION-IND PIC X(1). 06 X15-EOR-IND PIC X(1). 06 X15-MAX-COUNT PIC 9(4). 06 X15-TYPE-DESC PIC X(20). 06 X15-R
I am working on a modernization code where we are upgrading netexpress to visual cobol for visual studio. In one of the code special register character "Tally" is being used which is throwing back error saying that "Operand tally is not declared. After doing some search got to know that I need to enable it using either the OSVS or VSC2 compiler directives. Since I have basic idea on cobol and not an expert, so can someone please help me as how to include the compiler directives to get rid of the error.
Starting with a RM idxformat 21 file. Loading text data, encountering an extended ascii character (value above ascii 127). Debug step in Visual Studio, value is as appears in the original file. Debug window with value of ASCII-VALUE This is the entire record, where the character is. After moving that record to a location in Working Storage, that record is written. This is the code in that section: if WORK-FIELD3(WS-SUB1:1) < SPACE or WORK-FIELD3(WS-SUB1:1) > "~" then MOVE WORK-FIELD3(WS-SUB1:1) TO ASCII-VALUE move spaces to special-characters-record move ASCII-VALUE to special-character move SF-AR-PRIMARY-KEY to special-character-agr move WORK-FIELD3 to special-character-rec move DUMMY-FIELD-NAME to special-character-rec-name move special-characters-line to special-characters-record write special-characters-record display "special character: " ASCII-VALUE display "agreement = " SF-AR-PRIMARY-KEY move "?" to WORK-FIELD4(WS-SUB2:1) end-if
Problem With Net Express, to use the single threaded runtime, the following .lib file would need to be linked to the affected cobol program:"C:\\Program Files (x86)\\Micro Focus\\Net Express 5.1\\Base\\Lib\\cblrtssi.lib". In Visual COBOL this file is not present any more, so what is required? Resolution There are two types of the imported library of the COBOL runtime system in Net Express, one is for single-threaded runtime system (CBLRTSSI.LIB) and the other multi-threaded (CBLRTSMI.LIB).In Visual COBOL, since everything is multi-threaded, there is no single-thread imported library.For this reason, the solution is to link CBLRTSMI.LIB. This library can typically be found in "C:\\Program Files\\Micro Focus\\Visual COBOL\\lib" in 32-bit Windows or in "C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\lib" in 64-bit Windows, depending on where Visual COBOL is installed to.
We are getting an XML Status: Error 70[0] in function: AddText. The error messages in Appendix C of the XML Toolkit for RM/Cobol Version 2 contains error messages up 49. Is there a newer version I can download?
Hello, I've got a memory leak issue, where launching a program will bleed between 600KB and 1MB of memory as shown in the windows task manager. We call the program in a thread and destroy all bitmaps/fonts/activex controls when we're exiting the program. When I look at the debugger's -u output, I can see that the Program memory is staying constant, the file memory is constant, but the Windows and Overhead memory buckets are constantly increasing each time I call the program. Is there any way for me to see what is in these buckets or to tell why they are increasing and not falling back when I exit the program? There are 9 ActiveX controls in total on the window, and some bitmap buttons, I'm assuming destroying them when exiting should release their memory. As this program is run in a thread that we're not waiting for, there is not a cancel that's run after the call, but we do run a Cancel All prior to calling the program, which should free up any memory used by i
Folks, Hello. I am implementing PeopleSoft Campus Solution 9.0 for a University. My Operating System is Oracle Linux 5 with PeopleTools 8.53. I have downloaded Micro Focus Server Express 5.1 Wrap Pack 6 for RedHat Linux x86-64 from Oracle edelivery and installed it successfully. I have also installed the 30-day temporary license succeessfully that is "AS Developer" in license summary. Micro Focus Server Express 5.1 Wrap Pack 6 is installed in directory /Install_COBOL_CompilerAll COBOL programs are in directory /opt/PT8.53/src/cbl.I am using Unicode Oracle Database 11g. All COBOL programs should be converted to /opt/PT8.53/src/cblunicodeIf COBOL is compiled successfully, all executables *.gnt files should be in directory /opt/PT8.53/cblbin. I compiled COBOL programs and get the errors as below: [user@linux PT8.53]# . ./psconfig.sh [user@linux setup]# export PS_HOME=/opt/PT8.53 [user@linux setup]# export COBDIR=/Install_COBOL_Compiler [user@linux setup]# export LD_LIBRA
Hi! I will convert this c# code snip in Visual Cobol code: ============================================================================== #region MinimumValue Property public static double GetMinimumValue(DependencyObject obj) { return (double)obj.GetValue(MinimumValueProperty); } public static void SetMinimumValue(DependencyObject obj, double value) { obj.SetValue(MinimumValueProperty, value); } public static readonly DependencyProperty MinimumValueProperty = DependencyProperty.RegisterAttached( "MinimumValue", typeof(double), typeof(TextBoxNumeric), new FrameworkPropertyMetadata(double.NaN, MinimumValueChangedCallback) ); private static void MinimumValueChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { TextBox _this = (d as TextBox); ValidateTextBox(_this); } #endregion ============================================================================== I know that #Region = $Region is... But how can i convert the rest? Have anyone an idea? &
Has anyone ran into this issue before? I am using Micro Focus Visual COBOL for Eclipse Personal Edition Windows. As part of my course curriculum at my college, we were provided instructions as shown bellow to install Micro Focus Visual COBOL 365 days trial; I experience problems with the margin settings where I could not set them to the COBOL standard starting at margin "A". ================================================================= Basic steps to download COBOL with Eclipse for Windows. Begin by going to the registration link www.microfocus.com/visualcobolpe Select (click) TRIAL DOWNLOAD Select (click) Visual COBOL for Eclipse Personal Edition – Windows Complete the registration form (identify yourself as a student) An e-mail will be sent to you with further instructions.
This article addresses COBOL search and replace of substrings in a string, the size of searched string and replacing strings being different. Problem: When doing a COBOL search and replace of substrings in a string, the COBOL statement INSPECT … REPLACING cannot be used. Why is the size of the searched string and replacing strings different? Resolution: The attachment CobSearchReplace.cbl is a COBOL implementation of a ‘search and replace’, the size of searched string and replacing strings being different. This sample was tested on Net Express 5.1 and Server Express 5.1. Incident Number: 2420505 Old KB# 14755
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.