Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: Is it possible to develop COBOL CGI applications by using Net Express with .NET? Resolution: Unfortunately, CGI is not supported in our current Net Express with .NET product. According to the online help the following areas are not available: * Some CBL_ and PC_ routines (the majority are supported) * ADIS (Extended Accept/Display) * CGI * Micro Focus class libraries * Multithreading syntax * Mainframe performs (perform-type(osvs/vsc2)) * SOC 7 * Mainframe pointers * ANSI debug * GLOBAL declaratives in nested programs * CICS commands * Screen section * CALL-CONVENTION * Threading syntax such as THREAD-LOCAL-STORAGE and SEMAPHORE-POINTER. Please see the .NET online help for full details. Old KB# 5306
Problem: Serial number was sold as Net Express with .NET 4.0 Installed Net Express Professional which installed the Revolve product with Net Express Resolution: Need to exit licensing windows. Go to START bar Select All Programs Select Micro Focus Net Express 4.0 Select Configuration Select License Management System Make sure that only Net Express is checked or high-lighted; depending on the license update version installed. Select full license and internet licensing Response YES; two times max; to the question; server is not responding do you want to wait License request has been completed message was received Old KB# 5316
Problem: We are writing an output file that is a Record Sequential data file. We need to convert it to a Line Sequential file. Can this be doen from a Cobol program? Resolution: Yes. Reference the following example: Identification Division. Program-Id. LORINCE. * Converts Record Sequential to Line Sequential * via PRINTER keyword in ASSIGN clause Environment Division. Input-Output Section. File-Control. Select Out1 Assign to Printer 'RS2LS.Dat'. * Select Out1 Assign to &#
Problem: Release 4.0: Working with sources to migrate SIEMENS copybooks and getting messages for TIMEOUT as follows: > Micro Focus Net Express V4 Version 4.0.38 Copyright (C) 1984-2005 Micro Focus International Ltd. URN AXCGG/AA0/00000 1514 01 TIMEOUT 00031100 * 666-S*************** ( 0)** ** Res
Problem: Installing Net Expresss and getting an error stating Application Server is already installed. Resolution: This sounds like an intermittent issue with the Net Express 4.0 installation. The following steps should be followed: 1) Using REGEDIT, rename: HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall to HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall-temp 2) Start the Net Express setup. 3) At the setup welcome screen, rename the above key back to Uninstall. 4) Continue with the installation. Old KB# 5262
Problem: Receiving message "ASLM Semaphore failure" when trying to run an application deployed using Net Express 4.0 Application Server when logged in with standard user priviliages. Resolution: This is actually a known issue when installing from the base release (or first release) of the Net Express Application Server. This version had a problem with setting the registry privileges correctly. This has been fixed. Simply update the current version of Application Server using the latest build on the Micro Focus SupportLine web site: http://supportline.microfocus.com/websync/aps40.asp - (as of 6th September 2005) the file to be downloaded and applied is APS06A40.EXE. This will install the latest build of the Application Server and allow users to run applications when logged in with standard user privilages. Old KB# 5309
Problem: Release 4.0: Setting the compiler directive PERFORM-TYPE"ENTCOBOL" to ensure that programs have the best compatibility with the mainframe COBOL dialect. Since doing so, the user cannot do a RUN RETURN in the animator to step out of a performed paragraph or section. Resolution: This is the expected behaviour. Setting a mainframe dialect for PERFORM-TYPE has an implementation, where the appropriate information to determine the correct return point is not available. The PERFORM-statement behaves different from the default to the PERFORM-TYPE setting to mainframe compatibility (or RM). a. perform b through d. display "a1". goback.
Problem: MFSORT returns 9/007 when sorting large (filemaxsize=8) file The TEMP and TMP environment variables are set to C:\\TEMP Resolution: The 'C' drive was not an NTFS drive. Creating a TEMP folder on an NTFS drive and revising the User environment variables for TEMP and TMP to the NTFSdrive:\\TEMP solved the problem. Note: Sorting a "large" file, MFSORT will be writing files to TMP and or TEMP paths that will require an amount of disk space equal to the size of the file being sorted. Sort files may also be very large as well. Therefore, TEMP and TMP must point to an NTFS drive where there is significant disk space available. Old KB# 5272#AcuCobol#COBOL#ServerExpress#RMCOBOL#netexpress
Problem: Which version of the windows compiler supports Unicode? Resolution: Micro Focus advises end-users with such requirments to employ the Micro Focus Net Express COBOL compiler, because there is now added support for many parts of the ISO 2002 COBOL standard including: o ISO2002 Object Oriented COBOL support delivering enhancements such as typed object references. o UNICODE support for global applications. Old KB# 5304
Problem: A text in your application appears differently once executed on another machine or a font routine fails to use a font that is installed in Windows. Resolution: It is possible that the selected font is not a True Type one, and Windows is set to use ONLY True Type fonts. Since Courier for example is not a True Type font, a routine such as PC_PRINTER_SET_FONT would fail with return code 13. Not only this Cobol routine cannot use it, but all applications in Windows. Here are the steps to turn off this setting in Windows: 1. Go to Control Panel 2. Open Fonts 3. Click on Folder Options from the Tools menu 4. Click on the True Type Fonts tab 5. Uncheck the only option in there, which is "Show only True Type fonts in the program on my computer" 6. Click on the Apply button 7. Click on the OK button, and you will be prompted to restart the machine 8. Restart Windows (after saving your work) Old KB# 5274
Problem: compiler directive set: $set p(prexml) o(basic.pp) ENDp $set ilpinvoke(cblxmls.dll) sum-up compiler directive ILPINVOKE ( extracted from MF .NET doc): Makes the specified unmanaged code available, so that the entry points in the unmanaged code are available to the program being compiled. See the Visual Studio Help topic Calling Unmanaged Code from COBOL Using Platform Invoke Services for more information. Syntax: >>-.----.--ILPINVOKE--"unmanaged-dll"------>< -NO- Parameters: unmanaged-dll The name of the .dll containing the unmanaged code that is required Properties: Default: NOILPINVOKE IDE equivalent: Add a reference to the unmanaged .dll to the References folder of the solution Resolution: Instead of $set ilpinvoke(cblxmls.dll) use &
Problem: The install of Net Express with .NET goes to a certain point, and it then abends without displaying any errors. In this case, Microsoft Visual Studio .NET 2003 is already installed. Resolution: Net Express with .NET requires the following products to be installed first: Net Express 4.0 with at least WrapPack 4.0.001 (all01n40.exe) Microsoft Visual Studio .NET 2003 with its own prerequesites It is worth to note that Net Express with .NET is an addon to Net Express 4.0. In other words, it does depend on Net Express 4.0. Old KB# 5283
Problem: CALL 'CBL_DEBUGBREAK' to animate a program vs. via Net Express command-line with COBSW= A or COBSW= a Resolution: The preferred way to debug programs under Net Express is to start via CALL 'CBL_DEBUGBREAK', whereas COBSW= A also COBSW= a are out of use, therefore not documented. COBSW= A was included within older 16bit/32bit Micro Focus products (e.g. Workbench), and it is not intended to use this under Net Express. Old KB# 5267
Problem: Is there any way to run the file conversion process from the command line in a batch job. Conversion of many data files with the tool can be easier and more reliable when done within a batch job. Resolution: This can be done using the following command line: run dfconv profile-fname [input-fname] [output-fname] where: profile-fname is the name of the profile file that contains the details of the task you want to perform. input-fname is optional and is the name of the input file. output-fname is optional and is the name of the output file. The input and output file-names are optional as they can be extracted from the profile file. If you specify file-names on the command line as well as in the profile file, those on the command line take precedence. After conversion, the operating system error level ERRORLEVEL is set to non-zero if an error occurred during conversion. If you are running the con
Problem: What does compiler directive SOURCETABSTOP do? Resolution: SOURCETABSTOP sets how many spaces tabs are expanded to when the checker reads the source code. In the Visual Studio IDE, when you press tab you get one space whereas, in the Micro Focus IDE, pressing tab will insert a set number of spaces. With SOURCETABSTOP"8" this would be 8. Old KB# 5302#netexpress#AcuCobol#ServerExpress#COBOL#RMCOBOL
Problem: Problem when running a sample downloaded from the Micro Focus web site. The sample is a Net Express 4.0 CGI application that sends email using CDO to access an SMTP server. When running the sample on a development server it can send email fine. When the application is moved to a test server that has Application Server 4.0 installed, the following error message is displayed in the browser: execution error : file '' error code: 200, pc=0, call=1, seg=0 Run-Time System internal logic error (in rtsarea.c 85. line 400). The Application Server is unprotected. see incident 2104379. The Application Server was updated with aps05a40.exe (4.0.005?) The CDO sample was on the Micro Focus website. see incident 2105768 Resolution: The sample was being linked using the static and multi-threaded options. After changing these options to dynamic shared and single threaded the problem was resolved. Old KB# 5257
Problem: Existing project - source has been moved, but there is a requirment to change the project location Resolution: First when building a Net Express project - the suggested way is to copy any source being used to the local directory. If this has not been done and the project now points to a particular directory other than the project directory, and the source has now been moved to a different directory The only way to correct the project settings is to remove the source from the project and read it to the project from the new directory. Note: Net Express is UNLIKE Mainframe Express project where the location can be changed without removing and reading. Old KB# 5288
Problem: Which versions of Net Express are supported on Windows XP? Resolution: Only Net Express 4.0 with WrapPack 4.0.004 (all04n40.exe) or higher has been tested and is supported on Windows XP with SP2. Net Express 4.0 and Net Express 3.1 with SP1 have been tested and are supported on Windows XP with/without SP1. None of the previous versions (3.1 without SP1, 3.0, 2.0, and 1.0) of Net Express has been tested, and therefore none of them is supported on Windows XP. Old KB# 5268
Problem: Customer was attempting to do a PInvoke function call from a C# ASP.NET code-behind program to an unmanaged COBOL .DLL created with Net Express 3.1 preSP1. Customer compiled the application using REENTRANT"2" but the application also uses embedded SQL Server ODBC statements and the SQL(Thread=Isolate) was not supported in 3.1 pre SP1. Customer could successfully run the ASP.NET application and call the unmanaged COBOL .DLL if only one user was running the application. When they added multiple users making simultaneous requests for the Web application the Platform Invoke call started to fail and one client's working-storage would end up in another client's program. Pgm1: 3rd party C# .NET? multithreaded exe calls/passes data Pgm2: COBOL dll calls/passes data Pgm3: COBOL dll Resolution: The following information is in regards to your attempts to create a C# based ASP.NET application which uses Platform Invoke to call an unmanaged
Problem: The system indicated 26 gig were available. Also, the install states 26 gigs were available The directory kept going to an Application Server directory with no browse button Resolution: Problem determination: Application Server was installed on the same machine where Net Express also resides. This is not permitted. Go to "Add/remove programs" and uninstall Application Server for Net Express 4.0 Restart the installation, and it should finish without errors. Old KB# 5293#ServerExpress#AcuCobol#COBOL#netexpress#RMCOBOL
Problem: Micro Focus has both Net Express and Mainframe Express. Is the Net Express Interface Mapping Tool just Mainframe Express's Component Generator renamed? Resolution: The answer is no. Net Express has an Interface Mapping Tool which allows one to select fields for mapping to a new display format. In COBOL, one can describe a data item's data type precisely, using its picture-string. COM, Java and XML (used for sending data between a client and a Web service) each define their own sets of data types. The Interface Mapper maps the COBOL types in your program onto the types available in COM, Java or XML. CG (Component Generator) is an interface allowing creation of Java and web components to allow testing of a legacy application that has been web enabled. CG allows one to (1) analyze an application, (2) capture its output screens (BMS or MFS), (3) create an eBiz transaction for displaying the output or for allowing access to a VSAM dataset or
Problem: Method to create line sequential files without stripping off spaces at the end of each line Resolution: Releases: 4.0 - 5.0 - In order to keep trailing spaces in each record of a line sequential file, use the STRIPSPACE=OFF file handler configuration option to leave the trailing spaces in the record. Please see the Net Express bookshelf programmer's guide "File Handling", chapter 6: File Handler Configuration. How To: create text file using notepad - call it extfh.cfg put this in it: [XFH-DEFAULT] [TEST.DAT] STRIPSPACE=OFF WHEN TYPING THIS FILE - MAKE SURE YOU HIT ENTER AFTER EACH LINE TO PLACE AN END OF LINE MARKER **ESPECIALLY THE LAST LINE [TEST.DAT] **THIS IS OPTIONAL IF YOU WANT TO USE THIS FOR ONE PARTICULAR FILE
Problem: FileShare is running as a service using sample FS.CFG located in the Windows\\system32 directory Using CCI.INI to set the PORT number. FS.CFG sample /s FSNAME /cm ccitcp /d ?:\\databse-reference-file /pf ?:\\password-file /wd ?:\\filehare-working-directory-path /sc CCI.INI file contains [ccitcp-servers] FSNAME=MFPORT:12003 [ccitcp-targets] FSNAME=MFNODE:machine-name-or-IPAdress,MFPORT=12003 Resolution: Problem existed was the CCI.INI file contained an error in the ccitcp-targets in that it had an "=" character and not a ":" character after MFPORT. Old KB# 5313
Problem: RETURN-CODE always 255 when program starts to execute Initcall"mfextmap" has been used to load the External File Mapper Resolution: Do not use the initcall"mfextmap" compiler directive to load Mfextmap. Initcall is causing RETURN-CODE to be initialized improperly. There are two alternatives to using the compiler directive to get the External File Mapper loaded into memory. 1) Add the following call statement: call "mfextmap" at the beginning of the initial program of your run unit (process). This will get the External File Mapper loaded and available to the application programs. 2) Use a "tunable", a configuration file and an environment variable to set up the External File Mapper without making changes to your application programs. Open Net Express 4.0 Help, and click Contents (tab), Programming, File Handling,  
Problem: To use the GUI Class Library ListView object within a Dialog System screen, and to set focus on a specific ListView Item and give it the focus, users should first put the focus on the ListView itself by calling "SetInputFocus". Then they can set focus on the ListViewItem. The following code assumes that aListView is an object reference representing the ListView itself and aListViewItem is an object reference representing the particular item for users to select and set focus on. This code would be placed in the appropriate area of the control program for the ListView: INVOKE aListView "SetInputFocus" INVOKE aListViewItem "setSelectedWithFocus" If you do not invoke "SetInputFocus" on the listview first, then the listview item may appeard gray because it was selected, but does not have focus. Resolution: In order to use the GUI Class Library ListView object within a Dialog System screen, and to set focus
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.