Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: When building web pages the resulting page on the client side has Net Express comments included which bloats the html size. These comments look like <!--/*MF NetExpress embedded COBOL begin*/>. Resolution: In eht02n40 of the all08n40 Net Express 4.0 WrapPack, a new preprocessor flag (NOCGICOMMENT) has been added to optionally ignore the MF comments being inserted into the HTML sources at runtime. This means that pages output by the COBOL CGI program will not include the comments (you can check by viewing the html source from a browser), but the source in the project will have them. Below is a description of the flag: CGICOMMENT Causes the preprocessor to insert Micro Focus specific comments into the output HTML codes. Syntax: >>-.---.-.----.--CGICOMMENT---------------->< -/- -NO- Parameters: None Properties: Default: CGICOMMENT Phase: Syntax check $SE
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: Applies to Visual Studio 2003 and 2005 COBOL .NET project contains serveral source files. How to compile just one of those source files? Resolution: In Solution Explorer, for each source file that you do NOT want to compile, right click on it and select Properties. In the Properties window set Build Action to 'none'. By default it is set to 'Compile'. Old KB# 4314
Problem: Release 4.0: Runtime DLL 'CBLRTSS', version 4.0, entry point CBL_CTF_TRACER_GET not recorded in registry, not found or incompatible with requirements of dynamically bound COBOL program. Dynamic binding of RTS requires: Any Runtime DLL, at least Version 4.0 Resolution: There is a mismatch between the update version of the compiler and the update version of the application server (runtime). Please update the runtime to the same level as the development environment. recent: all08n40.exe for Development environment / aps10a40 for Application Server. Old KB# 4304
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: 'Page cannot be found' message when trying to edit an htm page or view Solo admin. If you double-click a .htm file in a Net Express Web project or if you double-click the Solo web server icon in the Windows systray to bring up it's admin screen, but get an error '404 the page cannot be found', then the problem may be with configuration of the Windows Internet Explorer Web browser. Resolution: Check the Internet Explorer browser settings by selecting the Tools menu from Internet Explorer, select "Internet Options...", select the "Connections" tab, click the "LAN Settings..." button, and notice if the "Use automatic configuration script" checkbox is checked. If it is checked, then a script may be specifying configuration information that may affect interactions between the browser and web server. Please contact your IT administrator to find out what configuration can be altered to allow it to
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: This demonstration works fine on Net Express and on Server Express. The aim of this demonstration is to simulate a functionality which exists on the transation manager TDS of GCOS7 which launches x transactions ( == PROCESSES ) launching x TPRs ( == x COBOL programs ) under TDS, when a transaction has overpassed a TimeLimit, TDS stops the transaction.... Resolution: The multithreaded launcher named ctrlbythread gets the command-line retrives the firts parameter of the command line ( which is the program to be called ) sets a new command-line with the parameters after the firts one == program to be called ( see KB 21920: http://supportline.microfocus.com/mf_kb_display.asp?kbnumber=21920) se
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: 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: 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: .cblproj not installed when loading a Visual Studio 2005 COBOL Project. The Visual Studio integration was installed with Net Express V5 however the error message above was still displayed. Resolution: To resolve this issue:- - Open a Net Express V5 command prompt - cd c:\\program files\\micro focus\\net express 5.0\\packages - regsvr32 cblprj.dll The issue was caused by some previous Beta versions of Net Express 5 being installed on the same machine. Old KB# 4307
Problem: This pertains to Net Express 5.0 with Visual Studio .NET 2005: Using Open File and Save File dialog boxes in .NET. The 2 WinForms classes used to create dialog boxes for Open and Save are System.Windows.Forms.OpenFileDialog and System.Windows.Forms.SaveFileDialog. For more details about the properties and methods of these classes, do an index search through the Visual Studio 2005 Help or go to http://msdn.microsoft.com/library where you can search the classes by their full names (namespace and class). Resolution: To use an Open File dialog box, double-click OpenFileDialog from the Dialogs section of the Toolbox in the Visual Studio .NET 2005 IDE. An icon of the object will not appear on your form, but you will see it below the form on the Form Design window. Click on it to see and set it's properties in the Properties window. The OpenFileDialog object has a ShowDialog method which makes it appear to the user. If a single file is c
Problem: This demo shows how to generate an exception in a COBOL COM Class and trap it in a .Net C# Application. Resolution: INTRODUCTION ========== This demo shows how to generate an exception in a COBOL COM Class and trap it in a .Net C# Application. DESCRIPTION ========= This demo shows: o Create a COM Exception in COBOL o Trap and handle the exception in C# Projects ========= The example contains 2 folders with 2 projects:- - COBOL COM Object.app This is the Net Express COBOL Project for the COM Object - TestCOBOLCOMException.sln This is a C# .Net application that invokes the COBOL COM Object and traps the generated exception via a try catch block. REQUIREMENTS ========== .Net Framework V2 and Visual Studio 2005 OPERATION ========= - Open the COBOL App file and rebuild the project - Open a
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: Previously the customer was asking about using REENTRANT(2) to achieve a multi-user COM component for use with Microsoft.NET. They have now developed that module and it is working well. Whilst working on that project they found that all COM modules within an application seem to run sequentially. Let me give an example to explain what I mean by this: This is an ASP.NET Web application. User 1 runs program A.aspx which calls COM module AA.dll. If User 2 runs program B.aspx and this tries to call COM module BB.dll then this call will be suspended until the Method in AA.dll completes. They can see that if we want 2 users to be able to run the same program and call the same COM module simultaneously then this will need to be built as REENTRANT(2). They are not sure what we have to do to resolve the problem that only one COM module will execute at any one time and so all calls to Methods in different COM modules are effectively queued up and executed seque
Problem: using the following mfsort instructions gave the error SORT(EXTSM) failed - sort engine status = 39: INREC FIELDS=(0001:0021,0020, 0021:1970,0008) * SORT FIELDS=(0001,0020,CH,A) SUM FIELDS=(0021,0008,PD) use d:\\input.dat org SQ record (f 5940) give d:\\output.dat org SQ record (f 28) Resolution: Problem was due to the SORT state
Problem: The attached readme includes changes since Net Express 5.0 went GA. Resolution: Attachments: READN-50.ZIP Old KB# 4296
Problem: How to compile and to link a project from the command line? Resolution: Yes. There is a utility called PROJMAKE Goto Net Express ->Help Click on Index tab in Help type in projmake select Projmake and click on Display this help shows the following: (options , file and build type are clickable to see what to enter) Projmake Command Line >>-projmake---- options----- file----.------------.---->< - build type- s. Examples for more details Old KB# 4313
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
Problem: This demo accepts an amount (Canadian Dollar) to calculate taxes and converts the total amount in US Dollar Resolution: SOURCE FILES: ========== Program Files Description ---------------- ----------------------------------------------------------- Cbl2VBx.app NetExpress project file QcCalc.cbl COBOL source code QcTax.dll Visual Basic ActiveX DLL QcTax.vbp Visual Basic project file Tax.cls Visual Basic class code Copy Files: ---------------- ----------------------------------------------------------- QcCalc.cpb &
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: The Net Express 5.0 install does not show PVCS Version Manager in its install options. It was available in Net Express 4.0 install. Resolution: PVCS Version Manager is not a Micro Focus product, and it is not available an install option in Net Express 5.0. If you are interested in acquiring PVCS, you will find more details about it at the Serena Software site (http://www.serena.com) See also KB #20582 for support Source Control System. Old KB# 4332
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: FILLER in a COBOL data structure given as for this structure: 01 daten. 02 Eine pic x(5). 02 filler pic x(5). 02 Zwei pic x(5). The CBL2XML wizard produces the following XD structure: 01 Pre-daten identified by "daten" count in Pre-daten-count. 02 Pre-eine pic X(5) identified by "eine" count in Pre-eine-count. 02 Pre-filler pic X(5). 02 Pre-zwei pic X(5) identified by "zwei" count in Pre-zwei-count.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.