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: Net Express 3.1 When using the PC_PRINTER_OPEN or PC_PRINTER_DEFAULT routines, it has been found that using a printer name with spaces in it i.e HP Laser, causes an error 9. Other than remove the space - is there anything else I can do? Resolution: Put the printer name in quotes, and add a NULL terminator, for example: move "spacey printer name" & x"00" to l-printer. Old KB# 4286
Problem: DEMO - How to set the date on a WinForms DateTime control Resolution: INTRODUCTION ========== This demo shows how to set the date on a DateTimerPicker control in .Net WinForms DESCRIPTION ========= This demo shows: o How to create a instance of the DateTime class o How to set the DateTimePicker control to a specified date. REQUIREMENTS ========== Net Express V5 OPERATION ======= Build and run the example project. This has a datepicker which has been set to 25th December 2006. Look at the code in the Form_Load event. This uses the DateTime class to set the date on the picker control. Keywords: demonstration, sample, example, demo, .net , winforms , datetime , datepicker control demo.ex demo.ne Attachments: DateTime.zip Old KB# 4321
Problem: Can a Visual Studio 2005 solution or project be rebuilt directly from the command line? In the classical Net Express IDE, there is the utility ProjMake.exe. Is there a program similar to this for .Net COBOL solutions/projects? Resolution: Yes. In the .Net Framework V.2.0, there is the program MSBuild.EXE for this purpose. The .Net Framework V.2.0 has to be used together with Net Express Version 5. The program MSBuild.exe is located in a directory similar to: C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727 You can rebuild the solution MyApp.sln e.g. by: MSBuild MyApp.sln /t:Rebuild /p:Configuration=Release Or a COBOL project by: MSBuild MyApp.cblproj /t:Rebuild /p:Configuration=Release For full details of the command line switches for MSBuild, just enter MSBuild /? For more information, please read also: 64-bit Support in the chapter: Known Errors and Restrictions in COBOL Support for .NET in Net Express Help - Start here! -
Problem: Release 4.0: How can an XML file be created without NAMESPACE and XMLNS attributes? Resolution: If your SELECT statement contains the clause: DOCUMENT-TYPE "dummy.xsd" and your XD contains: 01 Support identified "Support" NAMESPACE "http://www.microfocus.com/Support" You get: <Support xmlns="http://www.microfocus.com/Support" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.microfocus.com/Support dummy.xsd"> <Person Job="Supporter">Harald Cordes</Person> </Support> The DOCUMENT-TYPE clause is optional since some updates and can be left out. If your compiler (XML preprocessor) installation sti
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: When using the GUI Interface Mapping Toolkit within Net Express to create a Web Service mapping for a COBOL subprogram which will be run as a service, the drop-down list of possible data types is a bit confusing. The IMTK currently allows you to create mappings between fields in a programs linkage section or within a BMS screen or COMMAREA. These can be mapped to services such as Web Services, EJB's COM Serrvers or .NET WinForm/WebForm front end. Resolution: Please look at the attached table in a Word document format named "COBOL Data Item.DOC". This will show the best fit selection for a data type from the dropdown list of data types in the Interface Mapping Toolkit. Although you can choose a different data type then what is used in the sending program and receiving Web Service there is always a chance that if you specify the incorrect type then invalid data might occur or an invalid parameter might occur because of truncatio
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: 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: 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: The documentation for NetExpress states that for this to work it is necessary to have SCP and SAMBA installed. Could something like Microsoft Services for UNIX be used in place of SAMBA? Resolution: Publishing or indeed using other options like verify server settings, unix publisher uses scp to interrogate the capabilities of the cobol system publishing to. This is unavoidable; scp has to be used for this. Samba (or anything equivalent) is not needed for publishing. Importing a project, then that is when something that maps the unix end to a drive is needed. Something other than Samba should work ok, as it should be transparent to the Net Express IDE. Old KB# 4308
Problem: Is there a way to turn the default file locking from exclusive to automatic without having to code LOCK MODE IS AUTOMATIC on the SELECT statement. Resolution: It is possible to affect this via the AUTOLOCK compiler directive. Old KB# 4280#RMCOBOL#netexpress#COBOL#AcuCobol#ServerExpress
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: 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: Release: 4.0 How to setup Application Server for Net Express at client site? Resolution: Install from cd by running setup.exe in application server folder. Also, you can manually copy the runtime folder to the deployment machine and create the license database folder see below. Note: If not installing from the cd (manually copy runtime folder to deployment machine), then there is the need to update the path to where the runtime files are located. Please make sure that where the deployment of the application is also on the path and may need to be on the cobdir. If your customers have already tried to setup their license database without success. If this is the case tell them to go into the registry and delete the Micro Focus folder that can be found under HKEY_LOCAL_MACHINE/Software\\Micro Focus\\ASLMF The hkey_local_machine\\software\\micro focus should not be deleted just the ASLMF fol
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: 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: A potential memory leak has been encountered in Net Express. This was first encountered by a client running a Net Express 4.0 application that uses OpenESQL embedded SQL support to access a SQL2000 database. They could connect to the database ok. However, when they did a large amount of accessing they eventually received the following error: Communication Link Failure. Testing showed memory usage increase (in Windows task manager) as repeated calls to the database were made until they eventually ran out of memory - subsequently causing the error above. This only occurred in their production environment. Resolution: A lot of time was spent looking for leaks in the database, ODBC driver and OS etc. and making certain patch levels for these were correct. However, it was found that a simple CALL "CBL_DEBUGBREAK" had been inadvertantly left in the COBOL program that was called for each database access. Testing showed that each time this r
Problem: Is there a way to dynamically set the position of a screen created with Dialog System when we call it from a program, depending on some parameters? Resolution: You can do this with the "dsmovsz" function in Dialog. This allow you to dyanmically set and change the Windows location and also its size. Old KB# 4282
Problem: Release 4.0: You may get an error when opening a Btrieve file using OPEN OUTPUT: returning file status 9/139. Resolution: Run-time system errors produced by a Btrieve file, i.e. 9/139, are mapped 'backwards' to this COBOL run time system. To determine the reason for this exception you should do the following: a) Net Express Help -> Help Topics -> Index -> Btrieve -> status codes At this point you will find references to Btrieve status code numbers related to that run time error 9/139 -> 7, 22, 27, 28, 44 b) Net Express Help -> Help Topics -> Index -> Btrieve -> errors shows you a table including all 'Btrieve error codes' also 7, 22, 27, 28, 44. In that case: You should check the Btrieve environment first because record length is greater than 1024, according to the doc files: BTRPAGE Environment Variable The BTRPAGE environment variable specifies the page size that is use
Problem: Release 4.0: COBCH0912S Internal error - Dictionary invalid r/w 00000000 Inform Technical Support when compiling program with XML PARSE statement. Resolution: The specific problem description is: Compiling XML PARSE syntax with the directive VSC2 resulted in the error "COBCH0912S Internal error - Dictinary invalid r/w". This issue has been fixed with the Net Express 4.0 all06n40.exe WrapPack (compiler fixpack version 4.0.008) Old KB# 4327
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.