Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: Are Centrino Core 2 Duo processors that are 64-bit capable compatible with Net Express 5.0 64 bit? Resolution: According to:- http://www.intel.com/products/centrino/duo/310199.pdf the chip is compatible with X64. This should be compatible with 64-bit applications created for X64 as long as they have a 64-bit operating system installed onto it. Old KB# 4300
Problem: How to pass a Picture Object to an Active X control? Resolution: The control will expect an IPicture interface. You can pass this from COBOL using the GUI and OLE Class libraries as follows:- - Create an OLEPicture object from our class library (perhaps the fromICON or fromBitmap) - use GetDomainObject to get an object reference - pass that object reference as the parameter This should then pass the Picture to the control as expected. Old KB# 4326
Problem: Release: 4.0 Beim Starten des COBOL-Programms wird folgender Fehler gemeldet: Der Prozedureinsprungpunkt "CBL_CTF_TRACER_GET" wurde in der DLL "cblrtss.dll" nicht gefunden. Was könnte das Problem sein? Resolution: Die gefundene Laufzeitumgebung passt nicht zum Compiler, mit dem das Programm übersetzt wurde. Bitte stellen Sie dem Programm neben der aktuellen Entwicklungsumgebung die passende Laufzeitumgebung (Runtime) zur Verfügung. Die aktuellen Versionen sind: all08n40.exe für die Entwicklungsumgebung / aps10a40.exe für den Application Server (Runtime) Old KB# 4305
Problem: What is the meaning of exception error 65537? Resolution: The 65537 error normally indicates an OLE exception of some description during runtime. We would suggest you review the following Micro Focus knowledgebase articles for further information: http://supportline.microfocus.com/mf_kb_display.asp?kbnumber=21875 http://supportline.microfocus.com/mf_kb_display.asp?kbnumber=18139 Old KB# 4281
Problem: Using Visual Studio 2005 and NX 5.0: When opening an existing .NET COBOL project or creating a new one and then doing a build the following error message would occur: "Either the project file is invalid, or no project configuration matches the current active configuration. This project will not build, and Language Service parsing will be inaccurate until the project is fixed." Resolution: Go to Add/Remove programs, highlight Net Express 5.0, click on the link that says "click here for more support information", then click the Repair button. Old KB# 4303
Problem: Net Express 4.0 Net Express hangs when opening source files if developing on a Unix machine (eg using SAMBA to access the source as NT files across the network). This will happen if the IDY files exists on the unix box. Resolution: You are only able to open the source file after the IDY file is deleted. This is fixed in fixpack all07n40.exe. The problem is also fixed in Net Express 5.0 GA version. Old KB# 4293
Problem: MFCLBINP Error 402 when calling/invoking COBOL COM component created with the Interface Mapping Toolkit. Resolution: MFCLBINP Error 402 means "program/entry point not found". The program not found would be the one that the COM interface was built for, your subprogram that you used in the Interface Mapper. If your COBOL subprogram is a .DLL, you can place it in the same directory as the program that uses the COM interface to your subprogram, or you can append the PATH environment variable on the machine to where this .DLL resides. If your subprogram is an .int or .gnt module, you can specify it's location using the COBDIR environment variable. Old KB# 4329
Problem: If you have an object reference instance, is it possible to tell if it is a CharArray or a something else at runtime. Resolution: You can use the "class" method on the object and compare that to the class in class-control. Example program is attached. The code to do this is:- $set ooctrl( P) program-id. TestClass. ****************************************************************** * * Author - Micro Focus Technology Support (davs) * ****************************************************************** special-names. call-convention 74 is winapi
Problem: Where are the options for the javac compiler call specified? To change the option -g:none which can be seen in the compiler output window, also to have -g as an option. Resolution: To find these options for the EJB generation in the file deploy.mfscript, which is located in the Net Express\\base\\bin directory. For any java compile, to specify the options in the mfj.cfg-file, where to be specified javac.exe to be called in the IDE. (Doing so with EJB does not set the -g option, because the compiler would be started as javac -g -g:none which overwrites the intended -g settings.) For java files in the IDE, to specify also the java compile options with right-clicking on the java file on the left side in the project view. Choose build settings and change to the tab compile. Old KB# 4309
Problem: If you have a segmented program (one in which SECTIONs have segment numbers), you may notice that the reference count for a particular paragraph is incorrect. The reference count (how many times the paragraph is referenced) can be seen by hovering the mouse over a paragraph name after the program has been compiled. Resolution: To get an accurate reference count, you will need to compile the program with the NOQUALPROC compiler directive. Old KB# 4272
Problem: Release 4.0 above: Installation - Install NetExpress on Microsoft Terminal Server and/or Citrix Resolution: To use Netexpress on a Terminal Server or with Citrix you have to ensure the following things: This file system.dat in ..\\documents and settings\\all users\\application data\\micro focus\\netexpress\\4.0 must have normal user rights. The user needs to have read access to HKEY_CLASSES_ROOT and HKEY_LOCAL_MACHINE. They also need write access over HKEY_CURRENT_USER/Software/Micro Focus for Net Express. Old KB# 4275
Problem: If you animate and double clicking on a variable that has a NULL value, the examine box comes up. When the Change button is clicked it might be expected that a 'box' is displayed as the ASCII representation of the NULL value. Instead it might only display spaces for the NULL values Resolution: Changing the Examine Results Font to 'Courier New' displays a 'box' for the ASCII representation of NULL values. The customer was using the 'Terminal' font. Click on Options | Customize. On the Fonts tab select Examine Results, click 'Change' and select the appropriate Font. Old KB# 4273
Problem: Having created html web pages using Form Designer and have then used the Internet Application Wizard to create a CGI program, there will be .cpy and .cpf copyfiles that relate to the fields on the web page form. Modifying the html in Form Designer by adding fields, these copyfiles should be regenerated with the new fields included. An incident had been reported that saving the page in Form Designer would not regenerate the copyfiles. Resolution: The Net Express 4.0 Websync WrapPack in use was all07n40.exe (wrappack 4.0.007). If encountering this problem, to ensure that Net Express 4.0 WrapPack all08n40.exe to be installed. Old KB# 4336
Problem: There is an own callable file handler available and have built it as a DLL. Trying to work out how to get a COBOL program to use it? Resolution: If there is a callable file handler available, the need to do is to recompile the programs with the CALLFH directive: CALLFH (myhandler) It is as simple as that. By default, programs are compiled with CALLFH (EXTFH). So any I/O sentences are compiled to calls to "EXTFH". EXTFH is well documented in the help as it can be called explicitly within your programs. Considering to compile the programs with CALLFH (myhandler), then "myhandler" has to be able to resolve the same type of calls that EXTFH is able to resolve, that is why the EXTFH documentation can be very useful. Another example of an alternative file handler is Fileshare. To be able to use Fileshare (that allows to access files in other platforms in the network -please check the do
Problem: Creating COM objects has always been done using a COBOL class. However did you know you can expose a .NET managed COBOL program as a COM object? How? Basically, you add a couple of class-attributes to any COBOL program that is compiled with the ILOBJECTIFY directive (which is the default in Net Express 5). Resolution: Here is a sample that shows how to expose a .NET managed "Hello World" COBOL program as a COM object. The sample comprises: helloworld.cbl - the COBOL program blddeliver.bat - builds the program as an assembly bld.bat - puts the program in the Global Assembly Cache (GAC) usehw.cbl - the test harness to try out the program helloworld.cbl: $set sourceformat"free" program-id. Program1 as "HelloWorld". environment division. &
Problem: It is possible to create a virtual file handler that can replace EXTFH. This is accessed from a program via the CALLFH directive. However, this applies globally to a program. How can it be made to apply to only certain files? Resolution: As stated above, there is a restriction that means the CALLFH directive applies to all files defined within a program. Here are a couple of suggested solutions to this issue: 1) Separate programs. There is a need to place all the file handling that requires EXTFH in one program and the user defined filehandler in another. The advantage is that this is easy to implement and maintain but may make the coding of programs more complex. 2) Add intelligence to the user defined filehandler. To add logic to your own filehandler to determine the file currently being used. Thi
Problem: Is the data stored in a COBOL file stored as portable data? That is, if copying a COBOL file to little or high endian systems, will still be able to access the data? Resolution: The answer is no, but there are workarounds. Defining data within programs as COMP-5, the local bit ordering will be used and therefore it will vary within different platforms. Obviously this is the type needed to define if passing this data to C programs that the define it as int, long.... But Micro Focus COBOL allows to define data as COMP-X which is a platform portable data type. COMP-X has the same bit ordering as COMP-5 in some platforms but it differs in others. So the solution would be to store data in files as COMP-X, but if doing a lot of mixed language programming, ensure to move COMP-X to COMP-5 data items to be used as parameters for the call. Old KB# 4302
Problem: Using the ASP.NET Website Admin Tool and the Login Control Resolution: ASP.NET 2.0 provides a website admin tool that allows you to view and manage your websites configuration. The attached .zip file contains a WORD document (ASP.NET_Website_Config.doc), which has step by step instructions for using the Website Admin Tool to create and manage users, roles, and access permissions. For more information on this tool take a look at the following link: http://msdn2.microsoft.com/en-us/library/ms228053.aspx Also included in the .zip file is a demo website, Login, which uses the Login control that is new to ASP.NET 2.0. The demo also uses the HttpContext class to get the name of the user for the current HTTP request. For more information on this class take a look at the following link: http://msdn2.microsoft.com/en-us/library/system.web.httpcontext.aspx Attachments: Website_Config_and_Login.zip
Problem: Is there any easy way to identify any other products running under the Micro Focus runtime on Windows ? Resolution: To use the Windows command prompt command:- tasklist /FI "MODULES eq cblrts*" and this will list any processes that are running under the Micro Focus Net Express runtime. Old KB# 4330
Problem: This issue applies to Net Express 4.0 pre-all07n40 wrappack v4.0.007. Assuming that there is an existing htm/html web page form with the <PRE> tag included in the html text, then it was possible that saving this form in Form Designer could alter the format of the page. Resolution: This happened during EHTML preprocessing where line splitting did not keep the format of the text. This is fixed with the All Websync WrapPack v4.0.007 (all07n40.exe) and higher. Old KB# 4306
Problem: Which XFHFCD.CPY should I use? Resolution: A number of XFHFCD copybooks are provided with Net Express. Although the following is documented it is repeated here as other customers have asked for clarification. Mainframe Express use XFHFCD2.CPY 32-bit Net Express use XFHFCD2.CPY 32-bit Net Express and creating a virtual file handler under Fileshare use XFHFCD3.CPY 64-bit Net Express use XFHFCD3.CPY .NET Support and Net Express with .NET use XFHFCD3.CPY 32-bit Server Express use XFHFCD2.CPY or XFHFCD3.CPY 64-bit Server Express use XFHFCD3.CPY Old KB# 4311#netexpress#RMCOBOL#AcuCobol#COBOL#ServerExpress
Problem: A blank page displays when viewing the documentation for Net Express, Mainframe Express or Revolve, when using Internet Explorer 7. This happens after clicking on the name of a section in a chapter in the Table of Contents (TOC). Resolution: Instead of clicking on the name of the section in a chapter, click on the chapter name in the TOC and scroll down to view the information in the section. This problem is fixed in the latest WebSync for Mainframe Express, and will be available in the WebSync2 for Net Express 5.0, and the first WebSync for Revolve 7.0. Old KB# 4333
Problem: Getting Error message:- 1606 - Could not access network location \\\\USERID$\\PRV\\My Pictures\\. when attempting to Install Net Express V5 Resolution: This issue is caused by a corrupt registry entry that the Microsoft Installer technology checks. In the case the corrupt registry was at:- HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurentVersion\\Explorer\\User Shell Folders In this case the value of "My Pictures" was set to the location above. Setting it to the default of:- %USERPROFILE%\\My Documents\\My Pictures resolved the problem. Please see Microsoft KB at http://support.microsoft.com/kb/886549/en-us for more details on other potential corrupt keys that could cause this. Old KB# 4299
Problem: Assuming that an Indexed datafile exists that you want to be able to look at without having to write a COBOL program read and display all the fields. This file may also include compressed fields etc. Resolution: Net Express has a tool called the Data File Editor which will allow you to look at such things as indexed files in a text editor style format. It also displays compressed fields in numeric display format. Firstly, for the Data File Editor to be able to read an indexed file it needs to have a file that specifies the layout of the file so it can mask the data. The obvious thing it uses to create this is the FD as specified in your program. To create this file do the following: Open a project with a program that you know has the file you want to read specified in the FD. Compile the program if it's not already compiled. In the left hand pane of the project (i.e. Project View) right click on the program name .cbl (ie progname.
Problem: This program demonstrates how to create a Windows 32-bit .DLL from a COBOL program which can be called by a Microsoft Visual C program. Resolution: The .DLL will be loaded by the C executable CALLER.EXE. The entry points will be made public and then GETSTR1 will be called to get the first string to display and GETSTR2 will be called to get the second string to display. Both of these strings will then be output in the Window which is created and maintained by CALLER.EXE. This program was tested using Microsoft Visual C/C V6.0. SOURCE FILES: ========== Program Files Description --------------------- --------------------------------------------------------- WINDLL.CBL Program which is built into WINDLL.DLL and is called by CALLER.EXE WINDLL.DEF Definitions file created by the Net Express build. CALLER.C &
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.