Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
This article explains the message "LMF 006 You are not licensed to use this product or version". Problem: After new licenses were installed we received the error message "LMF 006 : You are not licensed to use this product or version" at compile time. There is definite proof that the licenses are installed. Why are they not being found? Resolution: This situation can occur if there are multiple mflmf directories. Best practice is to have only one license directory that is not underneath any COBDIR. The latest version of the LMF software will always run older versions of the product. If a new version of Server Express is installed, that version's License Manager should be used. Either overlay the existing mflmf directory or create a new directory and enter all old and new keys, then remove the old mflmf directory. Ensure that all licenses are installed in the mflmf directory that is pointed to by the start-up script /etc/mflmrcscript. To find this directory: Is
This article explains why the RTS 173 error on 'cdi2' ocurrs when trying to run cobprof. Problem: In Server Express v5.0, you might get the following error when trying to run the Profiler (cobprof): Load error : file 'cdi2' error code: 173, pc=0, call=1, seg=0 173 Called program file not found in drive/directory Resolution: This is a known issue and is fixed in Server Express v5.0 Websync 4 (WS04) Old KB# 14004
This article explains how to identify a problem statement in a program. Problem: When running a production program the following error occurs: execution error : file '/home/prd/bin/appgm.int' error code: 163, pc=328c, call=1, seg=0 163 Illegal character in numeric field Is there a way to identify the problem statement in the program? Resolution: To find the area in the program where the error is occurring make sure that the program has a corresponding .idy file. The .idy is produced at compile time when the -a flag is used for .int's or -g for all other formats (for example, .gnt, .o, -so, executable). To create a listing with a cross-reference showing the offsets run the cobfflst command for the COBOL program involved. To get this output go to the directory containing the .idy file for the program and run the cobfflst command. Syntax: cobfflst <infile>[.int] [<listfile>] For example if the program getting the error is test163.c
This article explains how to analyze intermittent Signal 115 errors when using Oracle. Problem: How do you analyze intermittent unexpected Signal 115 errors when using Oracle? Resolution: Analysis of the core dump using dbx stack trace will indicate where the error is occuring. The steps taken to analyze the RTS 115 error using a core dump are as follows: The default action of the COBOL RTS is to catch the signal and report a 115 error to highlight an unexpected signal. When the core_on_error=2 runtime tunable is set in cob.cfg file, then the RTS does not catch the signal and a core file is produced instead. Create a cob.cfg file and enter: set core_on_error=2 export COBCONFIG=$Home/cob.cfg The core file is of no use without the original executable and all the shared objects it has loaded, so it must be analyzed on the same system and with the same environment variables under which the core file was produced. For example, if the application is compiled to
This article briefly explains that 9/199 File Status Error means that the runtime system does not understand a status coming in from the operating system. Problem: 9/199 file status or RTS 199 A system call has returned an unexpected errno which is not expected. 9/199 errors are generated when a file handling call fails and the operating system returns an error that does not get translated to a file status value, as it is expected. How can the error number be determined and what does the error indicate? Resolution: Micro Focus COBOL file handle will handle expected values for errnos. The list of errnos is located in /usr/include/sys/errno.h. or /usr/include/errno.h depending on the platform. Errno.h is a table of error numbers and their meaning. Animator can be used to determine what statement is causing the error. File Status Error 9/199 is a legitimate error. It means
This article explains what to do if an incompatible version of the system assembler is invoked. Problem: We are receiving a 114 error when running an executable build using the cob command. A truss trace of executable shows the error Incurred fault #6 FLTBOUNDS and the failing executable is a custom created version of the run time system: cob -e "" -x -o ./myrts This error occurs because an incompatible version of the the system assembler is being invoked. To ensure that the correct version of the 'as' command is being used, look at the file $COBDIR/docs/env.txt. In this file the expected assembler version is specified along with the command that can be used to get the version information. Compare the assembler version information on the failing system with the version identified in $COBDIR/docs/env.txt. In some cases there is more than one 'as' command on your system, therefore it is important to place the directory name for t
This article explains the various reasons why an RTS 115 Unexpected Signal (Signal n) might be generated. Problem: If the runtime system is not expecting the signal at this time, or never expects to catch the signal, then the default runtime system signal handler will produce the runtime error message (where n is the signal number): Execution error : file 'name' error code: 115, pc=p, call=c, seg=s 115 Unexpected Signal (Signal n) Resolution: The COBOL Runtime System posts signals handlers for various signals, including all signals whose Operating System default action is to cause the process to terminate. This allows us to clean up before the process terminates and allows us to achieve other COBOL functionality. When a signal is generated, it is processed using the list of prioritized posted signal handlers. If the Operating System default action is to cause the process to exit, t
This article explains how a Net Express revoke key is generated to deactivate the product. Problem: How is a Net Express revoke key generated in order to deactivate the product? Resolution: From the Windows Start menu, click ALL Programs > Micro Focus Net Express > Configuration > License Management System. The License Management System Configuration window should appear. Check your product and its components. Click Revoke license. Using the generated license key, go to the Licensing Solution web pages at http://supportline.microfocus.com/licensing/LicensingHome.asp to generate your own product revoke/deactivation key.Old KB# 13967#COBOL#netexpress#Licensing
This article explains what is involved in transferring an Application Server license from one computer to another. Problem: What is involved in transferring an Application Server license from one computer to another? Resolution: Transferring an Application Server license from one computer to another depends on the setup access to runtime and\\or licenses. If the license database is installed on a server, you need to point a client to it, setting ASLMFNET=\\\\server\\sharename pointing to the server where the license resides. If the runtime and license is installed directly on a users machine, then it must be uninstalled from the old machine and reinstalled on the new machine before running APPTRACK to install the license number. However, if you are running static EXEs and just need the license on a client machine, simply create a directory and put the following files in it (these can be copied from the Application Server CD): prodfile semfile apptra
This article explains how to resolve the error message "Unable to add licenses to the security key" in License Server 4.0. Problem: When inserting a Response key into the License Server, we received the error message "Unable to add licenses to the security key". How is this resolved? Resolution: A possible reason for this error is that the IUSER_servername (where servername is the actual name of the machine) entry in the server Admin group is not set to Power User (or even better, Administrator). This is required because Microsoft IIS needs to have at least Power User privileges to be able to add its entries to the registry since Microsoft has tightened up on the registry access in Windows. The steps below should resolve the matter: Log on with full administrator privileges. Go to Control panel. Double click the administrative tools icon. Double click the computer management icon. Expand the "Local users and groups" entry. Expand the us
This article explains how a Net Express reset key is generated to reactivate the product after a problem. Problem: How can a Net Express reset key generated to reactivate the product after a problem? Resolution: Within a DOS command window, navigate to the product's \\base\\bin directory. Enter the command PROTCFG /FORCE_RESET. The License Management System Configuration window appears. In the License Management System window, click the appropriate check box to select your product and components. Click REQUEST RESET License. Using the generated license key, go to the Licensing Solution web pages at http://supportline.microfocus.com/licensing/LicensingHome.asp to generate your own product reactivation key. This will provide the ability to reset the product license within 30 days. Use the response key generated from the License Solution web pages to activate the product. Reactivate the product. Old KB# 13968#Licensing#netexpre
This article explains how to set directives specifically for individual build types. Problem: Is there a way to set directives specifically for individual build types? In other words, how to set directives specifically for Release and others for Debug? Resolution: Here are the steps to accomplish this: Go to Project | Types of Build... Select Debug under Types. Click on the Change button. Add directives to Build directives field by leaving a space between them. Click on the OK button. Select Release under Types. Repeat steps 3 through 5. Click on the Close button. Note: The above settings are per project. Old KB# 13957
This article addresses whether there is any effect on a Net Express license after renaming a server post-migration from Windows 2000 to 2003. Problem: We are migrating from Windows 2000 to a Windows 2003 server, and want to know if CLU09ALL is applied, will renaming the server cause the license to be corrupted when it is in evaluation mode or full license mode? Resolution: For development products released before 2006 you need to have CLU09ALL applied before renaming machine. For development products using Microsoft Install shield no updates are required. Old KB# 13960
This article explains how to move a Net Express license from one machine to another. Problem: How can a Net Express license be moved from one machine to another machine? Resolution: In order to move a Net Express license from one machine to another, the product license on the old machine must be revoked. This is done automatically when the product is uninstalled. To generate a manual revoke key, follow these steps: From the Windows Start menu, click Programs > Net Express > Configuration > License Management System. The License Management System Configuration window should appear. Check your product and its components. Click Revoke license. Using the generated license key, go to the Licensing Solution web pages at http://supportline.microfocus.com/licensing/LicensingHome.asp to generate your own product revoke/deactivation key. After installing the product on the new machine, the product must be activated using a request key. To generate
This article explains how to resolve an ASLM semaphore failure 1002 after installing Net Express 5.0 on Vista. Problem: When trying to start an application via Net Express 5.0 IDE installed on a single Vista machine we received the following messages: ASLM: Semaphore failure. It is probable that licensing home location is not correctly set up. If using ASLMFNET check that it is set to a valid path, otherwise check that the location in the registry is valid (run aslmpclocate) and that the location exits and has appropriate access permissions. ASLM: Errno 1002 Resolution: Check the environment variable COBDIR first and to ensure that the installation path ..\\Net Express 5.0\\Base\\bin is included as well. Note: Depending on the application it may also need: ..\\Net Express 5.0\\Unix\\DSCHAR\\BIN or ..\\Net Express 5.0\\DialogSystem\\BIN On a Net Express 5.0 command prompt >set COBDIRwill provide an overview of which paths are included. COBDIR should not point to paths along wi
This article explains what to do if the message "Unable to connect to License Manager" occurs. Problem: When running APPTRACK we encountered the error "Unable to connect to License Manager". Does this type of error only occur in the Windows runtime product server for COBOL version 5.0 WrapPack 5 onwards? Resolution: License Manager runs as a Windows Service. First, check that the Micro Focus License Manager has been started. Run the services menu (services.msc) or access it via the control panel. Search for Micro Focus License Manager. If it is present, hit the Start option. If not present, from a DOS prompt, enter the command mflmwin -i which will install the service and should also start it. If it doesn't start automatically, then start it using the Services menu. Old KB# 13972#Licensing#netexpress#COBOL
This article explains why the error 912-s dictionary invalid may occur when compiling a COBOL program. Problem: We are receiving the error 912-s dictionary invalid when compiling a COBOL program. Why is this? Resolution: This error indicates a fault in the compiler, so first try the latest WebSync. If this does not resolve the problem, then please contact Micro Focus technical support. Old KB# 13959
This article explains how to ensure a Net Express 5.1 deployment environment is licensed properly and ready for installation. Problem: In the 5.1 Release of Net Express, and subsequent releases, deployment licensing is enforced. How can you ensure that the deployment environment is licensed properly and ready for the installation? Resolution: To ensure that the Net Express deployment environment is licensed properly and ready for installation you can run AppTrack to check deployment license usage. The MFLicenseCheck utility will find and report the number and types of installed deployment licenses in Windows. However, MFLicenseCheck is for analyzing deployment license usage in Windows only. (ie: Server for COBOL, Application Server, Server 5.0). Therefore, it will not report on development license usage and is not intended for usage on other operating systems. This program is available at http://supportline.microfocus.com/licensing/MFLicenseCheck.zip. Note: The
This article explains how to generate a Net Express product activation key required by the licensing management system for a full license. Problem: You need a product activation key to activate a full license for Net Express. Resolution: From the Windows Start menu, click Programs > Net Express > Configuration > License Management System. Check Net Express and the components you want to activate. Click Generate Full License. Start a browser and go to the Micro Focus Licensing home page at http://supportline.microfocus.com/licensing/LicensingHome.asp. Generate the activation key. Use the generated key to activate Net Express. Old KB# 13966#netexpress#COBOL#Licensing
Problem: Customer has a page ASP that accesses a COM Object generated by Net Express. In the Windows environment this works correctly. Now the customer would like to know this solution can be migrated to the UNIX environment. Resolution: There is a company, Mainsoft, that has produced the COM/DCOM support for UNIX. They can be found @ www.mainsoft.com. You can see an article on Microsoft's website on this subject: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvc60/html/msdn_unixcom.asp However, they would need to solve the following issues: - migrate or find an ASP web server on UNIX (it may be possible to use: Sun's ONE Active Server Pages 4.0.1 -formerly Sun Chili!Soft ASP-) - migrate the COBOL bits (calls to Microsoft API's, use of non-portable COBOL routines, names of files... ) - Server Express also has no support for COM/DCOM
Problem: How can I use Altova MapForce to generate import and export stylesheets? Resolution: Start a new Mapforce project. Add the Schema (XSD) document that describes the input XML document. For the import (to COBOL) stylesheet, this was the XSD document you obtain from the external standard or specification. As you add this Schema document, Mapforce asks if you would like to add an XML instance document. If you have a sample XML document that complies with the schema, add it here. Add the schema that describes the output XML document. For the import (to COBOL) this is .xsd file created by the cobtoxml utility. As you add this Schema document, Mapforce asks if you would like to add an XML instance document, to which you respond 'No' since this is the output schema. (Notice that Mapforce does not distinguish between the input and output schema as you add the schema documents. Instead, it relies on the direction in which you connect the documents in the
Problem: You may get the "undefined reference" error message when compiling and linking a program with cob that contains a call to another program and this second program is not included in the cob command line to be included in the resulting executable. For example, if inside mainprog.cbl there is a call to a program prog2.cbl: call "prog2" using ... the following command cob -x mainprog.cbl will return an "undefined reference" error message on the symbol "prog2". Resolution: Assuming that you have already compiled prog2.cbl independently because you want it to be loaded dynamically at run time when you run mainprog as a shared object: cob -z prog2.cbl or as .int code: cob -i prog2.cbl or as .gnt code: cob -u prog2.cbl (please have a look to your User's Guide manual to understand the differences and how th
Problem: Customer uses ServerExpress's cobjrun to start IBM WebSphere 5.1. Customer wrapped a COBOL application with Java. The Java Wrapper is called by EJBs in an J2EE application running on IBM WebSphere 5.1. In a typical J2EE application running on WebSphere, the memory usage increases during daytime (peak) and decreases during night time (off-peak) due to Java's garbage collection. However, customer noticed that after running with cobjrun the memory usage increases during daytime, but stays the same during the night, and the next day it increases again. Resolution: This way of working it is not the way we recommend. When a java EJB needs to call COBOL, the recommended way of working is to run your COBOL program under Enterprise Server as a service and use the Interface Mapping Toolkit and the Resource Adapters technology to communicate the java EJB with the COBOL Service. We don't think that these memory problems have anything to do wi
Problem: If you have an output file defined as SELECT myoutfile ASSIGN TO "OUTFILE"... and when you run your program you need to print the output, you define it as follows: export dd_OUTFILE=">lp -s -dmyprinter" or export dd_OUTFILE="|lp -s -dmyprinter If instead you need the file on disk, you define it as follows: export dd_OUTFILE="mypath/myfile" But what if you want to direct a file to another file AND print it at the same time? Resolution: If you need both, to get the output to a file and also to print it at the same time, what you need is to duplicate your output. So what you need is a command that is capable of duplicate what it gets from the standard input to the standard output and to a file. I think that the UNIX tee command is what you need. This is an extract of man from HP-UX: " NAME
Problem: Is RM/COBOL supported on virtual machines? Resolution: Micro Focus uses some virtual machine technology in its quality assurance testing. Specifically, VMware is used to emulate some Unix and Linux environments. However, none of the RM/COBOL family of products is subjected to a complete quality assurance test on any virtual machine environment, nor is any attempt made to emulate Windows environments on Unix. Customers that choose to use virtual machine technology are relying on the claims made by the vendors of such technology. As always, Micro Focus will attempt to support our customers who choose to use virtual machine technology subject to its capacity to demonstrate product issues on 'native' systems. Old KB# 7504
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.