Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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: How can I get the WOW 10.0p patched dlls? Resolution: The new dlls are in the attached zip file. Please see the included text file for more information. Attachments: WOW10.0p.zip Old KB# 4704
Problem: How can I get the WOW 10.01 patched dlls? Resolution: The new dlls are in the attached zip file. Please see the included text file for more information. Attachments: WOW10.01 .zip Old KB# 4703
Problem: The HCO Precompiler issues an error message, if the SQLCA structure is missing. The program does not contain an EXEC SQL INCLUDE SQLCA Resolution: SQLCA will be generated by the HCO precompile, if you set the compiler directive DB2(GENSQLCA) . Old KB# 5039
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 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: What method for adding features to RM/COBOL was used prior to version 7.1? Resolution: Beginning with version 7.1 of RM/COBOL for UNIX, the customiz/relinking method for adding features to RM/COBOL was replaced with a simpler, more flexible system using optional support modules. It is no longer necessary or possible to relink the runtime system, the compiler, or the recovery utility. The customiz Bourne Shell script that was available in previous versions of RM/COBOL is no longer available. UNIX versions of RM/COBOL prior to 7.1 allowed non-COBOL subprogram libraries to be linked into the runtime by modifying the source file sub.c and using a Makefile generated by the customiz script. The source file sub.c is no longer present on the distribution media for UNIX. However, the source file usrsub.c and the various header files that it needs (all present on the RM/COBOL for UNIX distribution media and in the installation direc
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: 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: 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: What is missing in app server Resolution: The error was caused because the compiled program specified testcover compiler directive and did not ship the test coverage files. From the docs- If you want to use test coverage in a production system, you can compile TESTCOVER into your production system. However, we do not recommend this because of the high overhead costs. You will need to ship the files testcover.dll and gntcfg.dll in order for your users to be able to run the program if it has been compiled with TESTCOVER. You will also need a .tcf file, and your user needs to set up the environment variable accordingly. You need to store the .idy and the .cbl or .cpy file for the production code so that you can run reports on the .tcz files when you get them. This will enable your user to produce .tcz results files. In order to produce reports, you need the Net Express tcreport.exe file, as this is used to match the source lines in the code with the resu
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: 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: 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: 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: When you delete a record from a C-ISAM index file, it doesn't phisically disappear straight away. That record gets marked as deleted but the information is still there, although it can not be accessed to by a COBOL program or any tool. Within time that free space may be used to store new records and the information that was there before is then completely lost. But while the information is still there, you may want to undelete a deleted record if it happened by mistake and there are no backups of the file. This behaviour is similar for files with Micro Focus format instead of C-ISAM. Resolution: Currently there is no tool in the products to do this. As we don't own the CISAM format we can not give you the information about its internal structure, but if you edit the data part of the file with a hexadecimal editor you will see that at the end of each record there is an extra byte that can contain: - the value x"0A" for a norm
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: A nesting underflow error occurs when attempting to save the Dialog System screenset. If you try to export the .GS you get a 153 error. Resolution: This error can be cleared by: IMPORTANT: Take a backup copy of the original .GS file before trying the following: 1) Load the screenset in to DSWIN e.g. dswin example.gs. 2) Open the Data Block editor and close it again without making any changes. 3) You should be able to save the screenset (Save As) to a new file e.g. TEST.GS. 4) Load TEST.GS in to Dialog System and undertake a full export. 5) Create a new screenset and import TEST.IMP in to it. You should now be able to save the screenset to its original name. If the problem persists, then please contact your local Micro Focus support office. Old KB# 5022
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: How can I get the WOW 10.01 patch? Resolution: The new files are in the attached zip file. Please see the included text file for more information. There is also a test program attached that shows how to use the new functions provided for defect #5648. Old KB# 4705
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: 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
Problem: What does XML-Status=050, Missing XML Parser mean? Resolution: On a Windows system, this would indicate that MSXML has not been installed. XML Extensions normally installs MSXML when it installs xmlif.dll. You can also get MSXML directly from Microsoft. Be sure to check the XML Extensions documentation for the correct MSXML version number. Old KB# 4709
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: 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
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.