Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: Is there a script or utility to do this. Resolution: For information on installation and use of Application Server, open Net Express Help and these folders and books: Contents Using Net Express Shipping Applications How to... various scripts, etc. Script to install silently rem This script installs Enterprise Server or Application Server silently rem Where d:\\mfserver is the installation directory rem Where d:\\mfserver\\licensdb is the location of the license database rem Where NXDEVAS5 01280 ... is the license key rem Before running this script: rem modify the file MicroFocusAppServ??.ini or MicroFocusEServ??.ini as appropriate, rem so that setup does not prompt for a license key. rem Set the entry A
Problem: How do I create a Static Constructor for a COBOL class under .NET? You should NOT use the "new" method in the static paragraph as a static constructor. The "new" method would act as a type of instance constructor and is better used in the object paragraph. Instead, you can code a procedure division directly in the STATIC area (following the declaration of any static data), and you should find the code will get excecuted as a class constructor. Very simple example: class-id. MyClass as "MyClass". environment division. configuration section. repository. static. working-storage section. procedure division. &nb
Error Executing AcuXUI 8.1 with Java 1.5 This article describes what to do when you receive an error while attempting to execute AcuXUI Version 8.1 with Java Version 1.5. Problem: When executing AcuXUI Version 8.1 with Java Version 1.5, you will encounter the following errors:C:\\test>"c:\\Program Files\\Acucorp\\Acucbl810"\\acugt\\bin\\acuxuiPlease enter the runtime command-line options that you want to use (e.g., -d -c cblconfig -l -e errorfile):Please enter the object file and path (e.g., V:\\Dev\\Source\\program1.acu):test.acu java com.acucorp.acuxui.AcuXUI --acucobolgt "C:\\Program Files\\Acucorp\\Acucbl810\\AcuGT\\wrun32.exe" test.acujava.io.IOException: CreateProcess: wrun32.exe --java-host:52742 test.acu error=2 at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) at java.lang.ProcessBuilder.start(Unknown Source)
Problem: Calling sub programs, total size limitation. Queston is about the "1020 limit" noted in the documentation. "The total size of all the parameters passed must not exceed 1020 bytes, where each BY REFERENCE and BY CONTENT parameter occupies 4 bytes." This limit would permit the passing of 255 "by reference" parameters in a single call statement. This limitation is documented in Net Express Help under: Programming ......Calling Programs ..........Passing parameters to a called program Resolution: The complete article from Net Express Help Passing Parameters to a Called Program Parameters are passed to a program by specifying them in the USING phrase of the CALL statement. For example: CALL "program-name" USING parameter-1, ..., parameter-n Similarly the called program specifies the parameters in the USING phrase of its Procedure Division header or its ENTRY statement. The parameters need not have the
Problem: When using Data Connect I aways get two logon prompts. Does Mainframe Access (MFA) not remember what I typed in previously? Resolution: There have always been two logon prompts for Data Connect. The first one is issued for the default MFA server. The second is issued when the OPEN for the first dataset is encountered. Old KB# 5079
Problem: Received a Net Express 4.0 CD but but did not get the .NET piece after installation. Resolution: If the basic Net Express 4.0 version is installed then you can download the .NET addpack, the netx50n40.exe from the patches and fixes download site on the support page. Also download the latest ALLnnN40.exe and run this update after installing the .NET addpack. Old KB# 5181
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: 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: 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: Is there a possibility to assign keyboard events, i.e. CURU (cursor up) and CURD (cursor down) if the focus is set on a push button? Resolution: Unfortunately, the answer is: no. According to the Keyboard Events documentation: "You cannot assign the left, up, right or down keys on buttons. Also, you can trap Tab or cursor key events only when focus is on entry fields and selection boxes. Note that the CURU/CURD, TAB/BTAB, and F4 keys can be trapped by dialog only on objects. This also applies to ANY-OTHER-EVENT if it is connected to any of the above keys." You can find this topic by opening the Net Express help and using the contents to navigate to: Programming-> User Interface Programming -> Dialog System -> Dialog Statements: Events -> Keyboard Events. Old KB# 5015
Problem: There is no option to print data validation rules from Dialog System. Resolution: Instead you can export the data block as a text file and print it from a text editor (Notepad). To export data block to a file: 1. load screenset into Dialog System 2. click on File > Export 3. uncheck all options under "Sections to export" except "Data Block" 4. rename the file extension to TXT, so it can be opened automatically with a text editor 5. click on the Export button Old KB# 5019
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: 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 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.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: Can I set the WOW tooltips to use Kanji? Resolution: Easy. See the attached example. It's really just a question of setting the tooltiptext property with the CORRECT Kanji data. Attachments: tooltip.zip Old KB# 4707
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: 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 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
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.