Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
In a program (Netexpress 5.1) that writes directly to a printer via LPT1 I change the fontsize via PCL5 strings to a heigh of 8 LPI and a pitch of 10 CPI. How can I have the same height and pitch using PC_Printer routines? As far as I see it is only posible to select the Font-Size, one value. Using Lucida Console with Font-Size 12 is 10 CPI and 6 LPI . Font-Size 10 reduces both: 12 CPI and 7.2 LPI Is there a way to select heigh and pitch separately using PC_Printer routines for the printing itself, draw boxes, etc. . Or is there any fixed Font with that combination of height and pitch? How can I send PCL strings to the printer using PC_Printer Can I mix the PRINTRAW system using Windows SDK Printing and Spooling functions to print a document mixed with the PC_PRINT or must I selecto one or the other method? Thanks for any help.
We want to send emails from an Acucobol version 6.2 program using various email protocols We have successfully been able to send emails using the ActiveX control autogen for Outlook. We have also used the sample program WINBMAIL which uses C$SOCKET to send emails from Yahoo and MIcrosoft email applications (Live, Outlook, Hotmail, MSN). However we have not been able to successfully send emails using this version of WINBMAIL with Gmail even after installing STUNNEL. Our clients use many different email protocols for sending emails and Outlook is not a built-in feature in Windows7. We do not want to force our customers to install it or have Outlook as their default email client. Is there a newer version of WINBMAIL that supports the newer email protocols? Is there a sample program using an ActiveX autogen for Thunderbird? Old posts on this forum indicate that there is a product from Marshallsoft that can be purchased to send emails. We d
Is there a way to provide a default parameter in Visual Cobol like you can in C#? public void MyString(String passedString = " ")#VisualCOBOL#TranslatefomCtovisualcobol
We're currently trying to convert our ISAM files to a database solution using SQL server. We've been able to succesfully connect and use SQL during our system test phase, with fewer than five users. But in the production test environment we encountered severe performance issues, as soon as at least fifteen users were using our application simultaneously. Has anyone had similar experiences? Could there be something missing, which needs to be configured a certain way (ODBC driver, cobol code produced by Net Express, SQL Server, etc)? What about server-specific things we need to consider? Our setup is:Apache server, 32-bitNet Express 5.1Windows 2008, 64-bitSQL Server 2008ODBC-driver Native Client 11.0, 32-bit Thanks for your help, Raffi
I have created a thread using the CBL_CREATE_THREAD routine. However, when I attempt to kill the thread using CBL_THREAD_KILL it does not kill the thread. The thread remains running. My thread is defined as follows 01 THREAD-StatusBar-Routine USAGE IS THREAD-POINTER. and my call statement is CALL "CBL_THREAD_KILL" USING BY VALUE THREAD-StatusBar-Routine Move Return-Code To Thread-Return-Code.The return code I get is 1009 Invalid parameter passed into a multi-threading library routine. A parameter has been detected that is not within the valid range, or that is inconsistent with the library routine. Also in visual studio intellisense it says can not find method CBL_THREAD_KILL with this signature. Will create dynamic call.What am I doing wrong? Thanks
How can I delete objects I can't 'see' on the screens? For example, I created a listbox for a dialog box, was editing it via group properties, and then, after clicking ok and saving it, it disappeared from the dialog box. However, when I go back to recreate it (say LB-REVPAY as the name), it says it already exists! Sure enough, when I export the screen and dialog, there it is! How can I get rid of it - or short of that - get it back on the dialog screen? Obviously can't do it by clicking object and listbox - it just wants to create a new one then!Thanks.#disappearinglistboxes#deletingobjects
Hi! I have an application running on a Windows Server 2012. One of the users logs in remotely and is trying to print reports. Most of all the reports print 132 columns. They are running V12.07. In the past I set the raw mode in rmconfig and that would work. Now it doesn't even print. Any suggestions?
Is there a way to write custom intrinsic functions? Currently, the list includes items like LENGTH, ABS, LOWER-CASE, UPPER-CASE, and so on. Can I add additional ones to this list, or should I continue to use stuff like C$SYSTEM and pipe files? Specifically, I would love to add some string searching and manipulation functions.
I see in the documentation that a property ITEM-COLOR is available for tree-view controls. I have tested this, as I want to show the user that something is wrong with some of the data in the tree-veiw control. Therefore, I need to mark some nodes in the tree view control with red text color. This works at first glance, the text really appears as red on the nodes I want to be red. But; the outcome of the added node is not a real pointer to the node. It always gives "1" - one as pointer. Therefore, I am not able to track the correct node in event-handling, and I cannot get the hidden-data for the node. Thus again means that my program does not find the information that the node is representing, and showing to user. This statement: modify tr-melding parent = ws-parentId item-to-add = ws-fieldName  
Problem: There are a large number of errors in the error log after indexing of Eclipse help has completed. Not all of them are shown, as they are all basically the same error: !ENTRY org.eclipse.help.base 4 0 2014-03-18 15:51:59.938 !MESSAGE An error occured while pre-processing help XHTML document "/com.microfocus.eclipse.help.ed.windows/html/HRERRHSERRLA.html" for search indexing !STACK 0 org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.eclipse.help.internal.dynamic.DocumentReader.read(DocumentReader.java:56) at org.eclipse.help.internal.dynamic.XMLProcessor.process(XMLProcessor.java:49) at org.eclipse.help.intern
Problem: A treeview can be expanded fully by pressing he multiplication ( * ) key on the numeric keypad. When the keyboard has no numeric keypad, such as in many laptops, there is no multiplication key. The asterisk (shift 8) is ignored. How can the user fully expand the tree when no keypad exists? Resolution: On most modern laptops there is a numeric keypad simulated by pressing the function ( Fn ) key. Pressing Fn then P produces the multiplication sign and activates the full tree expansion. If the laptop has no such numeric keypad then there is no shortcut for fully expanding the treeview. In that case the application must be programmed to fully expand the treeview for a certain keystroke. There may also be third-party ActiveX or .Net treeview controls that have other options for fully expanding it.
Problem: Need a simple way to embed a file in a Vision data file. Resolution: The byte-stream library routines (cbl_*_file) provide an easy way to embed files into a Vision data file. Here are the basic steps: 1. cbl_open_file: Open the file. 2. cbl_read_file: Get the file information by using a special flag. 3. cbl_read_file: Read the file into working-storage. That's it! Now simply write the data into the Vision file. Attached is a sample program, imagetest.cbl, demonstrating how to embed an image file in a Vision file using this method. Extracting the file from the Vision file is equally simple and is also demonstrated in the sample program. Details of the various byte-stream routine parameters are noted in the source. You will also find those details in the documentation for those routines.imagetest.zip
Problem: AcuXDBC 64-bit driver was installed because the PC is 64-bit. However, when using Microsoft Excel the DSN which was set up is not listed. Resolution: While the PC hardware is 64-bit and the operating system is 64-bit, the Microsoft Office installed on it was the 32-bit version. Installing the 32-bit AcuXDBC driver will resolve the problem. The determination of whether to install 32-bit or 64-bit is based on the bitness of the application which will be accessing the AcuXDBC driver, and NOT on the bitness of the operating system. A 64-bit operating system can host 64-bit or 32-bit applications. So first determine the bitness of the front-end application which will be used, then install that version of AcuXDBC.
Hi! After some Windows Updates the comand "CBL_DEBUGBREAK" is not more working!?Nex Epress 5.1, lastest FixesWindows 7, 64 BitThe Debugger will not come up if the Compiler find the comand...What is wrong?Regestry Key? Best RegardsBernd#CBL_DEBUGBREAKNetExpress
Question: The size of the logging files are quite large. Is there a method to reduce these? Answer: One UNIX/Linux you can change the value of the LSERVOPTS variable called in the startlserv.sh script in /var/microfocuslicensing. The default value is LSERVOPTS="-s /var/microfocuslicensing/bin/lservrc.net -l /var/microfocuslicensi ng/logs/lserv.log -z 10m" where 10m would permit a 10 Megabyte file to be generated. You can change the value to something lower such as 2k for 2 kilobytes. After change the value in the script, please restart the license services.
Question: What should the umask be set to when installing RM/COBOL on UNIX/Linux? Answer: First, you should always install Liant products as root.Set the root umask to 022 if not already set that value. This will provide read/execute permissions to the files for group and other users within the RM/Installation paths.
Question: Where are the runtime and debug configuration files stored or remote projects on Eclipse. Answer: The workspace stores the configuration files in <workspace>/.metadata/.plugins/.org.eclipse.debug.core/.launches. This file can be opened via any text editor.
Is there a possibility sending emails via cobol without the MAPI ?
I have found that national characters like ÄÖüß and so on do not show correctly in a UTF-8 coded managed application when read from an ASCII file created by a native app. Based on an answer I read here on encoding I came up with this code: method-id UTF_conversion. procedure division. *> Specify the code page to correctly interpret byte values set wsEncoding to type Encoding::GetEncoding(1252) *> Windows set codePageValues to Auftragrec *> sequential file to be displayed set n3 to codePageValues::Length *> set Original length of ASCII set tAUFTRAGrec to Auftragrec *> save record to temporary record *> Same content is now encoded as UTF-8 set unicodeValues to wsencoding::GetString(codePageValues) set cAUFTRAGrec to unicodevalues *> for Display *> Same content "äöüß" is stored as UTF-8 initialize Auftragrec set A-Empfaenger to cA-Empfaenger *> set item containing national characters displayed in list b
Environment is 64-bit AIX, Visual COBOL 2.1 but compiling on the command line.I have a simple COBOL program calling a simple C program. The COBOL program is compiled as 64-bit. The C program is, as far as I am aware, compiled as 64-bit - I have used the compilation option -maix64 and the loader option -b64. Running the program generates the error "253 Cannot load file - unsupported format". I have also tried compiling the COBOL program as 32-bit but with the same result. A previous question in the forum about this same result was apparently due to a 64-bit COBOL program calling a 32-bit C program, but I think I've eliminated that.To eliminate anything else, I edited the two programs down to absolute basics (the return 19 in the C program is so I can check that a value is definitely being returned): program-id. testc.&
Problem: Is Apache 2.2.? Supported with Xcentricity BIS v12? Resolution: All versions of Apache 2.0.x and Apache 2.2.x are supported, and compatible, with Xcentrisity BIS v12. For additional information on this subject, please see section "1.3 Installation on UNIX" of the attached Xcentrisity BIS User's Guide: bisuge02v12.pdf **The Xcentrisity BIS documentation can also be located on our web site at: http://supportline.microfocus.com/productdoc.aspx
Hi! I will Install Net Express 4.0 Application Server on a Windows 2003 Server with a 64 Bit System.... Anywhere i have read that i can install the application Server from Net Express 4.0 on a 64 Bit Windows.. Have anyone a idea how i can install the application Server (net express 4.0) on a 64 Bit machine? #ApplicationServer54Bitmachine
Hi! I becom until a few hours an Error if i will starting Net Express... The Error means that the License Manager is not running... But I have not install the License Manager from Net Express... The own License Manager that is running is the License Manager from Visual Cobol... Have anyone an idea? #NE5.1Error
I am trying to figure out why I get the error message "extend 32-bit Runtime has stopped working". We use the 9.12 runtime. I ran a trace file and the last entries before the error occurs is as follows : --------------------------------------------------------------------------------------------------- PS1: write (thread 673)PS1: write (thread 673)PS1: write (thread 673)PS1: write (thread 673)VPINT003.PAY: next (thread 673)>>>key 0 = ' 1205301 'VPINT003.PAY: close (thread 673)translating ("VPINT003.PAY", INDEX, 0) -> "VPINT003.vix"closing index segment (#0): VPINT003.vix>>Header accesses: 502 updates, 503 locked reads, 0 unlocked reads>>0 unlocked reads waited for update, 0 unlocked reads retriedclosing data segment (#0): VPINT003.PAYPS1: write (thread 673)PS1: write (thread 673)PS1: close (thread 673)>>>trying alias = PS1Set parameter 'DLL_CONVENTION' to 1 -------------------------------------------------------------------------------------------------
Hello all, ¿Anyone knows if an OLAP Cube database system can be implemented with vision files? Thanks#database#Vision#olap
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.