Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: What does error -119 from ComponentMoveData on Install mean? Resolution: The files listed in the ERRORFILENAME system variable are those that could not be registered. Make sure these files are indeed self-registering (that DllRegisterServer and DllUnregisterServer are listed in the Export table). Old KB# 4708
Problem: Can EnterpriseLink Cluster Server work with JSP or ASP? Resolution: SmartCOM is often used to access integrated host and application data delivered from EnterpriseLink through VBScript in a Microsoft ASP. EnterpriseLink comes with an example of accessing a host application from VBScript instead of from a Web page. This example, smartcom.asp, is in your EnterpriseLink installation folder under the scripts subfolder. To run the example, you use the sample repository provided with the HollisCOM application. You can start the example with the URL http://localhost/stdocs/ssdemo/smartcom.html. This simple form accepts two inputs from the user and then invokes the ASP application. Old KB# 5025#Rumba#EnterpriseLink
Problem: How can I diagnose a 30, 22 error on InfoExpress on a UNIX/Linux system? Resolution: The full error message is: COBOL I/O error 30, UNIX error 22 On UNIX/Linux systems, this is defined as: #define EINVAL 22 /* Invalid argument */ It means that a system call was made from InfoExpress using an arguement that makes no sense. This problem has been reported on two known occassions, in both instances, the problem was due to a misconfigured hosts file, on the line with loopback address. In particular, this line should always look exactly like this: 127.0.0.1 localhost You should examine this file on both the client and the server system. Old KB# 4701
Problem: How do you calculate the value of the "Cache Size" in the Enterprise Link configuration page? Resolution: The cache setting in EnterpriseLink is very simple. It is a single number which represents the number of screens or pages that are held in memory. So, if you have 150 pages and 200 screens across all the EL projects, a number of "200" would guarantee that all pages and screens are held in memory. Usually, an EnterpriseLink project follows an 80-20 access pattern: 20% of the pages are accessed 80% of the time. The remaining 80% of the pages are accessed the remainder of the time. This means that you don't need to have a cache size greater than the number of pages. Since EnterpriseLink uses a least-recently-used algorithm for cache replacement, only the most used pages and screens will remain in the cache. Setting the cache size to one-half the number of screens wo
Problem: How can I run the RPCPlusServer as a service? Resolution: There are two ways: 1. There is a Windows Resource Kit program (srvany.exe) that will run any program as a service (see Microsoft KB ID 137890). 2. Use the RPCPlusService described in Chapter 9 of the RPC 1.4 User's Guide, which you can download from here: http://www.liant.us/docs.html Attachments: RPCPlusService.zip Old KB# 4702
Problem: window move - ok what is the event for window size change? Resolution: WINDOW-SIZED Occurs when a window is sized. Remarks: The event can also be generated as a result of WINDOW-MAXIMIZED, WINDOW-MINIMIZED, or WINDOW-RESTORED events. Example: WINDOW-SIZED RETC See also: WINDOW-MAXIMIZED WINDOW-MINIMIZED WINDOW-RESTORED Old KB# 5013
Problem: How can I preserve horizontal tabs in my input to process a tab delimited file? Resolution: Use the RUN-SEQ-FILES configuration record. (See chapter 10 of the RM/COBOL User's Guide.) In particular, set TAB-STOPS=0. In this way, horizontal tabs are passed through to the COBOL program without expanding them into spaces. The attached program demonstrates this, as well as: - how to be informed of the input record length - how to symbolically define the horizontal tab character - how to unstring the record, and - how to convert numeric strings to numbers Unzip the attached file. Compile the COBOL program, and run it using the config.cfg file as the configuration file. Attachments: tabstops.zip Old KB# 4699
Problem: When I use the same selection box multiple times the value in the masterfield automatically gets added. How can I stop this happening? Resolution: This is quite a common (and frustrating) problem which a number of users have hit over the years. To correctly populate the selection box with the master field preset you need to do: move "Preset" master-field delete-list-item sb1 1 item-count insert-many-list-items sb1 group-item item-count refresh-object sb1 where: master-field is the Dialog data item containing the selected choice. sb1 is the object name of the selection box. group-item is the Dialog data array containing the items to populate the selection box with. item-count is the number of entries in our selection box. This ensures that the selection box is cleared out prior to population. Old KB# 5012
Problem: How can I fix 30, 12005 errors on InfoExpress? Resolution: Error codes in the 12000 range are generated by the Windows Sockets interface portion of the RM/InfoExpress Windows client program, or the Windows server program, and represent memory allocation failures or unexpected conditions. Error 12005 is "Unexpected event occurred during initial receive". Follow these suggestions to resolve the 12005 error: 1. Make sure the client's IP address is in the hosts file on the Domain Name Server (DNS) machine. If you are using DHCP to assign the IP addresses, you could set up "dummy" entries in the host file. For example, if the DHCP server is assigning address for 1.1.1.15 through 1.1.1.18 the hosts file might look like this: 1.1.1.15 dhcp-15 1.1.1.16 dhcp-16 1.1.1.17 dhcp-17 1.1.1.18 dhcp-18 2. In the rmixclnt.ini file on the client machine, add 'UseBlockingIO=Yes' under the [Options] heading and 'KeepSession=No' under th
Problem: The silent install of Application Server does not work from CD product. New SETUP.INS file required, see instructions below and use attached file. Resolution: 1. Copy the Application Server directory from the CD to a directory on your machine. 2. Replace the setup.ins with the one contained in the attached apssilentins.zip file. 3. Record a sample install to setup a valid install script using the following command. setup -r -f1c:\\directoryname\\your_silent_name.ISS NOTE to make it easy make the C:\\directoryname\\ be the directory you copied Application Server. 4. For silent install run the following command from the copied application server directory. setup -s -f1c:\\directoryname\\name.iss. Attachments: apssetupins.zip Old KB# 4998
Problem: A web application is failing with RTS 114 on ACCCGI.INT, and this is occuring with Application Server for Net Express 4.0. Resolution: This has been fixed since Service Pack for Application Server version 4.0.006 (APS06A40.EXE). Old KB# 5004
Problem: Exception 65538 not trapped by the class javaexceptionmanager. Description: "Java runtime exception" Unable to load class: (his calls name) Resolution: Check that CLASSPATH is set to the mfcobol.jar;. in the Net Express Application Server directory CLASSPATH=c:\\program Files\\Micro Focus\\Application server\\mfcobol.jar;. Old KB# 5008
Problem: It is possible to use one single program for validation of multiple input fields. Resolution: The key is that each user defined validation must be an entry point within the same program. This program then must be loaded in memory to allow all these entry points to be available upon validation. The program can be called before calling Dialog System for the first time, and it is important that the main entry point (PROCEDURE DIVISION, a dummy entry point) should have nothing but GOBACK. Old KB# 5020
Problem: How can I export a large number of repeating data elements in XML? Resolution: Some uses of XML manipulate large documents that consist of a large number of repetitions of a few data items. An example of this is the ability of many relational database packages to output result sets as rows encoded in XML. One very straightforward way to create these large documents is to use the LINE SEQUENTIAL file access method and COBOL procedural statements such as STRING to create text records. For simple applications where requirements are well understood and stable, this approach should work well. The attached example uses a different approach. The output is segmented into pieces that can be conveniently accommodated in a COBOL array (using the OCCURS clause). These pieces are then exported, using XML EXPORT FILE, into a temporary XML documents. Finally, when all the pieces have been exported, the temporary d
Problem: What is causing an Error 28[14] in LoadDocument during XML Import? Resolution: One main cause of this is that the schema file (.xsd extension) is among the model files. If the schema is present, the LoadDocument validates the input document against the schema. Unfortunately, most input documents are not schema-valid at this time, so the LoadDocument fails. Old KB# 4710
Problem: Problems still exist with running the service packs for the silent install of application server for Net Express 4.0 with .NET Resolution: Steps to do Silent Install of Application Server for Net Express 4.0 with .NET including the service packs. Step 1. On the machine you plan to do the Silent Install of Application Server, run the MFSUPPORTINFO utility and check to see if any Net Express development products are installed. Note: the MFSUPPORTINFO utility is located at www.microfocus.com at the top , click on Support login to Supportline on the left under Self-Service , click on Net Express Examples and Utilities click on Samples click on Utilities scroll down until you see MFSupporInfo.zip Step 2. From the Application Server for Net Express with .NET cd, copy the Application Server folder down to a temporary folder on your machine ( c:\\apsne40 ) The installation for application server will then
Problem: Why do parent objects shine through clipped child windows? Resolution: This is a known issue with Windows -- it actually dates back to the days of 16 bit Windows! Unfortunately, Microsoft has never fixed the issue in any versions of Windows and there is nothing we can do to "work around" it. This is why the majority of GUI Windows applications do not have objects on the parent window when using clipped children. Your options are: 1) Remove the objects from the parent window. 2) Do not use a clipped child window. Old KB# 5018
Problem: Is there a CodeBridge wrapper for Windows FindFile functions? Resolution: Attached to this solution is a zip archive containing the necessary CodeBridge template, a test COBOL program, and a pre-built DLL. Attachments: rmfindfile.zip Old KB# 4697
Problem: How to create an icon side file for Dialog System's screensets? Resolution: 1. Open a text editor (e.g. Notepad) 2. Add a line for each icon with the following format: unique-number ICON icon-name.ICO e.g. 200 ICON Bank.ICO 3. Save the file with RC extension 4. Start a Net Express Command Prompt 5. Change directory (CD) to the location of the RC file 6. Compile the resource file as follows: RC -R TheRCfileName.RC<enter> 7. Link the resource file as follows: LINK -MACHINE:I386 -DLL -NOENTRY TheRCfileName.RES<enter> 8. Edit the ICN file 9. Add [win-icons] if it is not there yet 10. Add the icons below [win-icons] as follows:
Problem: How to disable the ListView column headers to sort when the user clicks on them? By default, ListView sorts the rows when its column headers are clicked on. Resolution: You can simply invoke the NoSortHeader method before the List View control gets created. In case you are not sure where to insert this, just follow the steps below: 1. Edit the List View control program 2. Look for "Create-Entry-Point Section" (you will note a comment few lines below, which says "Create the control, nothing will be painted until the class library system event loop is resumed" 3. Insert INVOKE aControl "NoSortHeader" before INVOKE aControl "create" Old KB# 5021
Problem: A screenset is created in Dialog System on a monitor set at a resolution of 1024 x 768. However, when the programs are run on a monitor set at 800 x 600 the fonts and bitmaps present in the screenset change size etc. There is, however, a way to prevent this from happening. Resolution: Multiple Resolution and Dynamic Window Sizing Both the multiple resolution and dynamic window sizing features are enabled by a CALLOUT to "dsrtcfg" with a flag of 9 and an identifier that tells Dialog System what resolution the screenset was defined in. Dialog System uses Panels V2 generic coordinates, which provides a basis for cross-resolution support and compatibility with differing graphics adapters. This results in differing coordinate values for what otherwise appear to be the same resolution value. To check the value you need for your definition platform, a verification program is supplied with Dialog Sy
Problem: What is the maximum size of master field for Dialog System's Multiple Line Entry (MLE) field? Resolution: The maximum size for a master field is 65535 bytes (64K - 1 byte). In other words, PIC X(65535) is the maximum size. Therefore, that is the same maximum size for a master field to be associated with MLE. It is worth to note that the 64K limit that is specified in the documentation is for the size of the Data Block in 16-bit environment only. There is no limit for the Data Block size in 32-bit environment. Old KB# 5014
Problem: The message "Variable Syntax", and not the usual AppTrack options, may be returned when running apptrack in Application Server. Resolution: If you are running apptrack from csh try instead from sh and this should solve the problem. Old KB# 5006
Problem: In many cases, either due to a high number of runtime installations or logistical problems, it is not practical to install Application Server directly on to every client machine. Instead, the runtime can be installed just the once on the server machine and then on each client machine carry out the following steps. Resolution: 1) Install the Application Server on to the server machine. 2) As long as the client machine can be mapped to the server machine on a network, set the client COBDIR and PATH so that it points to the correct path of where the application program is installed on the server machine. 3) On the client machine then set ASLMFNET to the path on the server machine where the license database is installed with the license already set up with a valid key. Old KB# 5005
Problem: Is it possible to restrict the number of rows displayed in a Dialog System ListBox? For example, the CUSTOMER demo supplied with Net Express shows order lines with no data i.e. all zeros. Resolution: This issue is easily resolved with the SET-DATA-GROUP-SIZE function. You simply pass the name of the group associated with the ListBox and a variable containing the number of rows. This functions needs to be actioned before the refresh and displaying of the listbox. Old KB# 5017
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.