Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: Is it possible to remove the scroll bar of a Dialog System's MLE control? Resolution: It is not possible to remove the scrollbars from a standard Dialog System MLE control. It is however possible to create a MLE (Multiple Line Entry field), by using the Programmed Controls Text Entry Field control. Look at the sample under DialogSystem\\CommonControls\\TextEntry. Open up the Screenset and modify the Window so that you can make the first Text Entry Control field larger by stretching it downwards, like an MLE. Then save the screenset and regenerate the control program so that it uses the new coordinates. Open up the control program EFDEMOTXTFLD.CBL and add the following two lines of code just prior to the last invoke in the Create-Entry-Field section. invoke aTextEntry "multiplelineentry" invoke aTextEnt
Problem: Release: Net Express 4.0. Can an Application Server install silently with Application Server Service Pack only? Resolution: Yes, it is not necessary to install the Application Server directly from the CD. The related Service Pack file aps*a*.exe (e.g. aps05a40.exe) can be used instead. 1. Prerequisites: - The APS Service Pack needs to know, where the Application Server should be installed. Set the following registry entry, e.g.: HKLM\\SOFTWARE\\Micro Focus\\Net Express\\4.0\\COBOL\\4.0\\Setup\\apslastfulldir = "C:\\MyApplicationServerDirectory" - The APS Service Pack needs to know, where the License Database should be installed. Therefore a registry entry must exist similar to: HKLM\\SOFTWARE\\Micro Focus\\ASLMF\\ASLMFDIR = "C:\\mfaslmf" Please use aslmpclocate.exe to locate the license database, e.g. to C:\\mfaslmf 2.
Problem: Tips on how to use data type 'SQL TYPE is TIMESTAMP' vs. MSSQLSERVER also ORACLE database. Column in MSSQLSERVER is declared as 'DATETIME'. Column in ORACLE is declared as 'DATE'. Both databases reflect a date format 'dd.mm.yyyy hh:mm:ss' which is different to 'yyyy-mm-dd hh:mm:ss' by default. Resolution: A string should be redefined as follows, i.e.: 02 upd-date. 05 upd-dd pic 99. 05 filler pic x value ".". 05 upd-mm pic 99. 05 filler pic x  
Problem: When updating the Net Express 4.0 product where can the various fixpacks be found? Resolution: With Net Express 4.0 fixpacks are now bundled together so only one wrappack module will have to be downloaded and installed. It will start with ALLnn. Download and save this file and then run it while Net Express is closed. Old KB# 5208
Problem: Debugging through COBOL calling C with both debuggers. Resolution: Debugging through Net Express 4.0 COBOL int code and Visual Studio 6 C DLL code =========================================================== The project locations for this example are "C:\\cobol\\cobcallc" for the COBOL project and "C:\\cobol\\csubprog" for the Visual Studio C DLL project. It may be necessary to first edit the Windows System PATH environment variable to add the location of the C DLL so that the COBOL program can load the C DLL if they are in different locations. Open the Net Express project. Choose the "Animate" menu, "Settings..." menu: In the "Mixed Language Debugging" group, make sure that the "enable mixed-language debugging and disable generated and linked code debugging" radio button is selected. In the "General" group, the "Start Animating at" field should point to the loca
Problem: How to convert a sequential file to an indexed file using a cmd file. When deploying a Net Express project to a client machine that doesn't have Net Express installed and it is necessary to convert a sequential file into an indexed file before the file can be used in a COBOL program how can this be done using a cmd file? Resolution: Run rebuild from a command prompt. ....\\RebuildProject\\rebuild<Enter> Rebuild will display it's usage on the screen grouped into four categories: Rebuilding; Validation; Recovery; and Converting. Refer to Related tab above for a text copy of the following information. Rebuild command line options, Net Express 4.0, All04n40.exe, 1/26/2004 1) Usage for rebuilding: rebuild in-file[,out-file] [ /option ...] /i[:command] - rebuild and display information /v[:n] - display running count ever
Problem: Processing text files containing "tab" delimited data. Resolution: Create an "extfh.cfg" File Handler Configuration file with these settings. (TABXMPL.TXT is a text file name that contains "tab" characters. [XFH-DEFAULT] BASENAME=ON [TABXMPL.TXT] EXPANDTAB=OFF The default setting turns BASENAME ON. The TABXMPL.TXT setting turns EXPANDTAB OFF for a file named "tabxmpl.txt". This will preserve the "tab" characters as each record is read making it possible for a program to detect these characters in a text file record. The following is an example program that will isolate each element of data delimited by a "tab" character. $ set Ans85 Mf"10" NoOsvs NoVsc2 NoAlter NoQual DefaultByte"00" select textFile assign 'tabxmpl.txt'  
Problem: Is there a way to call a .NET DLL (VB.NET) from a DLL developed in NX 4.0?, and if there a way to call a VB 6.0 DLL from a NX 4.0 DLL?. Resolution: When calling a VB.NET dll from a Net Express 4.0 .dll,you need to expose the VB.NET dll as a COM object. You can use the regasm command on the vb.net dll to expose it. Once you have done this, then you will need to call it by using INVOKE's from COBOL, using OO COBOL syntax in the same way as you would when calling a COM object from COBOL. Old KB# 5194
Problem: Using "inspect ... converting" to convert signed, EBCDIC numeric data to signed, ASCII numeric data. Resolution: The example program, "CONVERTING.cbl" (see attachement). illustrates how to use an "inspect ... converting" statement to translate EBCDIC numeric display values to equivalent ASCII numeric display values. The following syntax is used. INSPECT identifier-1 CONVERTING identifier-6 TO identifier-7 "identifier-1" is a pic x(9) item initialized to a hexadecimal value 'F1F2F3F4F5F6F7F8D9' that is equivalent to "123456789-", a signed, numeric display value on an EBCDIC computer system. "identifier-6" is a table of the numeric EBCDIC characters that might appear in a signed, numeric display item. There are three groups of possibilities. The first group, (C0C1...), are positive, unsigned digits. The second group, (D0D1...), are negative, si
Problem: A program has been developed and compiled on Net Express and then copied over to a UNIX machine. When running the program on the UNIX system, an RTS0165 error is encountered. Resolution: The problem here is that there is likely a library file or COBOL module which isn't looking in the correct pathname caused by a missing or wrong $COBDIR, or a newer version of Object Cobol Developer Suite, Server Express, or Application Server has been installed while parts of a previous product installation have not been removed correctly. Therefore a check should be done of the opt/lib or cob/lib (or shlib) and also where the $COBDIR is pointing to. If it is unknown which versions of product modules and libraries that are installed on the system on which the error is encountered, it is advisable to remove the products completely and reinstall the product to insure that the modules available are not from mixed product releases.
Problem: The word "INSTANCE" was not a reserved word in Net Express 3.1 but it's now a reserved word in Net Express 4.0. Resolution: As a workaround, use the REMOVE compiler directive and re-compile. ie: REMOVE"INSTANCE" Old KB# 5200
Problem: Having trouble with installation on a Windows 2003 server. Getting an error when trying to run a web service: "File or assembly name MicroFocus.COBOL.Runtime, or one of its dependencies, was not found." Resolution: Check the update version of the Application Server - one of the websyncs changed the key where the runtime is being searched for. If the Net Express development product is at a higher websync level than the Application Server then this will occur. Updating the Application Server corrects the problem. Old KB# 5239
Problem: File systems on different operating systems can use different size addressing. Most current file systems use 32-bit or 64-bit addressing. The operating systems/file systems using these two sizes are listed below. Resolution: The File Handler is configured to work with either 32-bit or 64-bit addressing. It is vital that all applications sharing a file use a File Handler configured the same. Otherwise, data corruption can occur. You can configure the File Handler to use 32-bit addressing in a file system that uses 64-bit addressing. In this case, all files will be safely limited in size (to 32-bit addressing) by the File Handler. 32-bit file systems: - Windows 95 - Windows 98 - Windows Millennium - Windows NT (FAT) - Windows 2000 (FAT) - Windows XP (FAT) - UNIX without large file system enabled 64-bit file systems: - Windows NT (NTFS) - Windows 2000 (NTFS) - Windows XP (NTFS) - UNIX large file system - Linux File syste
Problem: It is possible for Net Express Windows applications to issue HTTP requests and interact with Web applications. There are a number of ways that an application can make use of this technology. For example, POST could be used to send data to a remote Web Server for processing locally at that site. An application could also "screen scrape" HTML pages and parse the information for use within the application. As long as the server supports http then an application should be able to interact with it. Resolution: There are a number of ways you can do this. In order of difficulty the available options are:- - TCP Sockets APIs. Windows has a Sockets API that could be called. This however would have a very high learning curve to learn both the Sockets API and also the HTTP protocol in order to interact with a Web Server. - Windows Internet API (WinInet). This is a higher level API and hides the lower level network protocol. It allows an application to
Problem: How to get data mapping of working storage maps in relation to Net Express. Resolution: By creating a listing file using the directive LIST() and the DATAMAP directive to add the working storage mappings to the listing. Old KB# 5190
Problem: What is the definition of the XML-CODE's that can be returned from XML-PARSE? XML PARSE WS-XML-DOCUMENT PROCESSING PROCEDURE 20000-PROCESS-XML ON EXCEPTION DISPLAY 'XML DOCUMENT ERROR ' XML-CODE STOP RUN NOT ON EXCEPTION DISPLAY 'XML DOCUMENT PARSED SUCCESSFULLY'
Problem: How to code Border select attribute LVS_EX_BORDERSELECT constant in COBOL ? Resolution: In the Microsoft Windows C/C Header files the LVS_EX_BORDERSELECT constant is defined as:- #define LVS_EX_BORDERSELECT 0x00008000 // border selection style instead of highlight 0x denotes hex in C so you could have something like:- 78 LVS-EX-BORDERSELECT value h"00008000". in a COBOL program. Old KB# 5180
Problem: Net Express Release 4.0: Fileshare is being used with a direct port connection, e.g. according to the doc files: set CCITCPS_server_name=MFPORT:3000 set CCITCPT_server_name=MFNODE:server_hostname,MFPORT:3000 The CCITCP2 environment variable has not been set. The CCI and MFDS services have not been set on the computer. This works fast and starts in one second up to Net Express 3.1 If I use Net Express 4.0, Fileshare starts with a 120 seconds delay. Resolution: Do not set CCITCPT_server_name on the Fileshare server, only on Fileshare clients. Be aware: server_hostname is the network name of the computer server_name is the name of the fileshare server specified by the /s parameter of FS.EXE or in fs.cfg Old KB# 5183#RMCOBOL#netexpress#COBOL#AcuCobol#ServerExpress
Problem: When I apply a wrappack against my Net Express product where I have already installed Micro Focus Net Express with .NET, it reinstalls the .NET piece. Is this suppose to happen and if so why? Resolution: Yes, this is done by design. The All WrapPack installs the .NET piece if it finds it installed on a users machine. It will always install the .NET piece, even if the same version is found. This helps to fix broken installs of .NET. Old KB# 5179
Problem: Error Installing Net Express Service Pack on file MFNXCL31.chm When installing SVP00N31.exe onto a Net Express 3.1 install it is possible for it to fail on the file MFNXCL31.chm. Resolution: To resolve this issue rename the MFNXCL31.chm file in the original Net Express install directory and try to install the Service Pack again. If this does not resolve the issue then contact you local SupportLine contact. Old KB# 5178
Problem: The data compression module cbldc001.obj has been linked into the .dll program. When the program is run a file status 9/173 is returned on the write. Resolution: Linking the module cbldc001.obj into the .exe instead of the .dll resolved the problem. Old KB# 5186#RMCOBOL#netexpress#COBOL#AcuCobol#ServerExpress
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: 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: Is it possible to <show copyfile> in the editor? It works fine for the copy member but not for the include files. Is the environment variable COBCPY not correct here? Resolution: The IDE uses these environment variables to look for copyfiles and called subprograms if they are not in the project directory. However, they cannot be set in the IDE. They should be set outside of Net Express, for example in the autoexec.bat file. Old KB# 5184
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
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.