Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: Making a change to an existing form, and trying to Save, gives an error that the form.cpf cannot be saved. Resolution: Has the project been moved ? alternatively Check whether the Working Directory field is filled in in the Project Properties. Old KB# 7079
Problem: Machine hangs when running all03n40.exe wrappack. It appears to be working but hangs in the installation of the runtime (RTS) fixpack. Resolution: Try the following:- - Open Services in Windows Administration Tool. - Stop the Micro Focus Directory Services Service - Retry the all03n40.exe wrappack. If this procedure does not work then please raise an issue with your local Micro Focus Support contact for further investigation. Old KB# 7101
Problem: You can find the data mapping between COBOL and .NET from the Net Express with .NET Help. Resolution: 1. Go to Start > Programs > Micro Focus Net Express with .NET > Net Express with .NET Help 2. Click on the Contents tab (if it is already not) 3. Go to Using Net Express with .NET > User's Guide > Interoperating with Managed Code in Other Languages 4. Click on "COBOL Type Compatibility" under the Type Compatibility section Old KB# 7116
Problem: When installing Net Express 4.0 under XP Professional from a Net Express 4.0 CD dated 2003, the following Internet Explorer display will be presented: The Internet Explorer Titlebar will display the following jump-to-target - Microsoft Internet Expolorer In the body of the Internet Explorer display, a yellow tinted "security report" will appear with this information. To help protect security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options... Resolution: Right mouse click on the yellow tinted "security report" and a context menu pops up with these buttons: Allow Blocked Content... What's the Risk? Information Bar Help Click "Allow Blocked Content..." (button) A Windows MessageBox opens with "Yes" and "No" buttons and this message: Allowing active content as script and A
Problem: Fatal error LNK1181: cannot open input file "winspool.lib" when linking a Net Express application. Resolution: winspool.lib is not supplied with Net Express. This file is supplied by Microsoft with their Platform SDK for Win32 systems. It is freely available for download from the Microsoft website. Old KB# 7078
Problem: Which 'User rights' are needed when running Net Express in general? Resolution: Net Express must be run under a user account with a user-ID that has write access to the registry structure under HKEY_LOCAL_MACHINE, HKEY_CLASSES_ROOT, and HKEY_CURRENT_USER so the installation software can set the environment for running Net Express. To uninstall Net Express, the same user-ID must be used as when you installed it. Especially, apart from this you should check the registry as follows: HKEY_LOCAL_MACHINE\\SOFTWARE\\MICRO FOCUS HKEY_CURRENT_USER\\SOFTWARE\\MICRO FOCUS Old KB# 7124
Problem: Is it possible to configure how Net Express searches COBDIR to locate programs ? Resolution: The COBOL runtime which is responsible for the loading of programs is configurable using runtime tunables. The locations searched for during the call of a program is configurable using the "program_search_order" runtime tunable. Old KB# 7117
Problem: Is Net Express 4.0 compatible with Windows XP SP2? Resolution: Net Express 4.0 has been tested on SP2 and the results did not show any problems. Full support will be announced from the WebSync released in November 2004 (ALL04N40.EXE). Old KB# 7113
Problem: Trying to use Net Express 4.0 Help via IDE returns an error similar to: "Internet Explorer script failure" or "object does not support methods and properties" It is completely impossible to run the Net Express 4.0 Help via IDE. Resolution: There is a related Microsoft Knowledgebase article to resolve this problem if you have included some additional cumulative patches for Internet Explorer after Feb 2003: HTML Help Update to Limit Functionality When It Is Invoked with the window.showHelp( ) Method Microsoft Knowledge Base: Q811630: http://support.microsoft.com/default.aspx?scid=kb;en-us;811630 Old KB# 7106
Problem: From time to time, you may encounter the need to uninstall one or more FixPacks, AddPacks, or Service Packs that you have installed for the Net Express, Mainframe Express, and/or Revolve products. There are two separate mechanisms that you can use to accomplish this task. Resolution: They are: 1) Go to the Windows Control Panel (select the Start button and then Settings > Control Panel) and select the "Add/Remove Programs" function. You should see the individual FixPacks, AddPacks, and Service Packs for the products listed in the list of programs. Simply select the individual 'Packs' that you wish to uninstall and select the 'Change/Remove' button to uninstall. 2) You can also use the Webpacks utility to perform the same task. The Webpacks utility can be found at http://supportline.microfocus.com. Use your SupportLine login ID and Password to logon. Under
Problem: How can I autoconnect to an Oracle database when using procob / COBSQL ? In OpenESQL.ODBC you can by using the SQL(INIT) directive to connect to a database. How can you do this using Oracle and the COBOL Precompiler (procob) ? Resolution: Procob has the AUTO_CONNECT configuration option. Old KB# 7074
Problem: INSERT with ACCESS ODBC gets SQLCODE -106 optional feature not implemented Resolution: Compile the application with the SQL(USECURLIB=YES) compiler directive. Old KB# 7103
Problem: We have done web service development using VB and C# in the .NET environment, and would like to incorporate COBOL. However, it appears that the University edition of COBOL .NET restricts the creation of a web service. It compiles, and is visible in IIS, but the required files to reference the web service are missing. Resolution: You cannot deploy a Web Service created with Net Express UE, as it does not include Enterprise Server and its associated facilities. You will need a Server installation to create and deploy a Web Service. Old KB# 7102
Problem: Normally, when inserted the Net Express CD starts automatically by Autostart.The setup.exe in the root directory is started and launches the Internet Explorer to start this process. How can be the Micro Focus Net Express Setup.exe started when this is failing? Resolution: 1. You may try to copy the CD to your c: drive and start the setup.exe from there. 2. if this also fails: - start a CMD prompt - insert the CD into the drive - change the actual directory to the root directory of your CD drive - enter: \\setup\\setup.exe /ini=\\setup\\nxsetup.ini to start the Micro Focus Net Express setup. Old KB# 7100
Problem: The ODBC trace is somewhat difficult to decipher. Are there any other diagnostic capabilities available from OpenESQL? Resolution: Yes, you can compile your applicaion with the SQL(TRACELEVEL=n) directive. Notes : 1. The trace filename is actually OpenESQLTrace.processID.log . If your application is compiled with the SQL(DBMAN=ADO) directive, the trace filename will be ADOTrace.processID.rununitID.log . 2. If the OpenESQL application is executing under the auspices of ASP.NET, the effective user ID under which the application invokes is not your Windows user ID -- instead, the ASPNET user ID -- hence the location of the trace file may not be where you expect it. 3. If you have installed the ESQ08N40.EXE FixPack, or ALL06N40.EXE WrapPack , OpenESQL will write out trace files to the current directory. If the process doesn't have write permissions to the current directory, the trace file will get written to the directory specified by the TEMP
Problem: Problem with trying to drop/delete a table in XDB and getting error X153 no space for locks Resolution: Increase the sort space size in the XDB Server Configuration Old KB# 7135
Problem: How to replace a single file using: run library file.lbt and how to note down? Resolution: a) for a single file, i.e. RUN LIBRARY FILE1.XXX LIBRARY1.LBR = LIBRARY1.LBR b) within .LBT file, i.e. FILE.LBT: FILE1.XXX LIBRARY1.LBR = LIBRARY1.LBR RUN LIBRARY FILE.LBT Old KB# 7107
Problem: If it is desired to debug .NET code (C# or VB .NET) that is invoked from an unmanaged COBOL program, please try the following: In the Visual Studio .NET Project Properties menu, select Configuration Properties, Debugging. Make sure that "Enable Unmanaged Debugging" is set to true and that "Start Application" specifies the name of the COBOL executable (or the runw.exe trigger program if using .int or .gnt code). The "Debug Mode" property should be "Program". When debugging, the COBOL program should run and execution should stop at the breakpoint you set in the .NET code. Resolution: If it is necessary to debug .NET code (C# or VB .NET) that is invoked from an unmanaged COBOL program, please try the following: In the Visual Studio .NET Project Properties menu, select Configuration Properties, Debugging. Make sure that "Enable Unmanaged Debugging" is set to true and that "Start Application&qu
Problem: Use an environment variable for the compiler directive OUTDD($OUTDDENV) The $ is used to let the runtime know that it is to read this environement variable when the program does the first DISPLAY. Resolution: $SET INITCALL(MFEXTMAP) OUTDD($OUTDDENV) * * TO CHANGE THE CONTENTS OF AN ENVIRONMENT VARIABLE, * MFEXTMAP MUST BE LOADED. * IDENTIFICATION DIVISION. ************************************************************** * PROGRAM-ID. OUTDDENV. * ******************************************
Problem: What functions are supplied with Net Express that allow an application to establsih if a file exists within a given path and then also what functions allow you to delete it? Resolution: There are 2 routines supplied with Net Express that can check\\delete files in given paths - including paths that contains spaces. Please note that these functions do not work against paths that contain wildcard characters. The first function is CBL_CHECK_FILE_EXIST - this checks whether a file exists and returns details if it does. The other is CBL_DELETE_FILE Both routines are fully documented in the Net Express help. It is recommended when specifying the path concerned that it is enclosed in quotes so as to ensure that the spaces in the folder names are accepted. Old KB# 7114
Problem: COBOL Web Service Clients default to PIC X(100) for Strings. This can cause issues as more than 100 characters may be returned in a string. Resolution: You can amend the WSDL for a WebService to specify the expected string size and then generate the COBOL Client from the amended WSDL. An example of this is below:- <?xml version="1.0"?> <definitions name="CATrafficService" targetNamespace="http://www.xmethods.net/sd/CATrafficService.wsdl" xmlns:tns="http://www.xmethods.net/sd/CATrafficService.wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:new="new"> <types> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="new"> <simpleType name="string2"> <restriction base=&q
Problem: How do you define a custom collating sequence? Resolution: Check the language reference manual. Below is the syntax that can be used to define an alphabet and how to make that alphabet the collating sequence for the program. Changing the collating sequence in this manner impacts everything in the program, if statements, condition name conditions, key sequences in randomly accessed files and sort statements. The alphabet is just an ordered series of literal values. Ranges can be specified with through/thru. environment division. configuration section. object-computer. program collation sequence is alphabet-name-1. special-names. alphabet alphabet-name-1 is literal-1 thru literal-2 literal-3 also literal-4. For an example, see attach
Problem: If an application creates a .NET dialog box and then tries to make it modal to an unmanaged character-base app built as graphical, it won't seem to be purely modal. This is because the text window runs in its own thread so if the dialog box is created in the main thread each window will be using a different message queue and so the text window will still be able to process messages (such as Close). There is an EnableWindow API on Windows to enable/disable message processing on a window, that could normally be used within a Dialog Box, but there may not be any equivalent in .NET so the C# code would need to access it via a platform invoke to the unmanaged API. The application would call EnableWindow(hwnd, false) when the dialog box is entered (on the Activate event maybe) and EnableWindow(hwnd, true) before the dialog box is removed (on the Closing event). Resolution: If an application creates a .NET dialog box and try to make it modal to an unmanaged
Problem: In Dialog System is there a password field type entry field? When entering the password into this entry field, an asterisk will appear for each keystroke. Resolution: In Dialog System use Object -> Entry field. Right mouse click on the entry field object and click on Properties. An Entry Field Properties window will appear. Click on the Options tab and checkmark Noecho. Next, click on the OK at the bottom of the Entry Field Properties window. By checking this Noecho option, asterisks will appear for each keystroke that the user enters into this entry field object. Old KB# 7139
Problem: I'm getting a return File Status code of 35 with a spacey directory/file name: MOVE 'C:\\PROGRAM FILES\\SAMPLEFILE.TXT' TO WS-FILE. Resolution: When using dynamic file assignment, you need to use double quotes for spacey paths. If you were using static file assignment it isn't necessary- Because of the spacey path you need to change this move statement MOVE 'C:\\PROGRAM FILES\\SAMPLEFILE.TXT' TO WS-FILE to add " s around the file path and name (i.e. single quote double quote) MOVE '"C:\\PROGRAM F
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.