Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Created On: 12 November 2010 Problem: When installing the AcuCOBOL product onto a Linux platform and creating the licences with activator the following message may appear: ./activator:cannot execute binary file.AcuCOBOL products for Linux are built specifically for the operating system and glibc levels. The error is an indication that the wrong AcuCOBOL product build has been installed. Resolution: Contact Customer Care supportline and supply the following information:1. The PMK number which can be found in the AcuCobol product installation 'lib' directory in the file Makefile2. Details after executing from the command line - rpm -qa | grep glibc3. Details after executing from the command line the 'yum' utility if rpm is not available - yum info glibc4. Details after executing from the command line - uname -a5. The details of the Linux platform on loginThis information will what you have been sent through the PMK number and what the pltorm re
Created On: 12 November 2010 Problem: In the Micro Focus Product Updates web page it is possible to download latest updates for extend Version 8.1.3. In this section, both releases 8.1.3 and 8.1.3.1 are mentioned, but there is no description explaining the difference between them. What change was made between extend 8.1.3 and 8.1.3.1? Resolution: The only difference between 8.1.3 and 8.1.3.1 is an ECN (Engineering Change Notice) that's been further developed because it didn't fully work as expected. The initial issue was switching back from a modeless independent window to the main screen could cause the main menu to not work properly. It activated but it didn't work on the first attempt. The menu and its sub items displayed but nothing happened on clicking them.This was fixed in 8.1.3 but it generated a different issue where the menu didn't work correctly in paged grid control. To solve this issue, ECN-4001 has bee
Created On: 17 November 2010 Problem: How do I use the XA switch modules on a deployment server? What is the process for building XA switch modules for use on a deployment system?Can I re-use the XA switch modules from a Development system on the Deployment system?Note, this applies to both Net Express (Windows) and Server Express (UNIX) environments. Resolution: If you are deploying container-managed services under Enterprise Server which require database access, you will additionally need to deploy the XA switch module which provides that access. As the Micro Focus Server product family does not include support for the compilation of COBOL application, you won't be able to rebuild the modules under that product.However, you will be able to use the same modules as tested on your Development/Test machines, but only if the criteria cited below is true.For any reference to "extn" , read DLL (Windows), sl (HP/UX PA-RISC) or so (other supported flavors of UNIX)1.
Created On: 17 November 2010 Problem: Is it possible to connect to Oracle using OS, or External, authentication, rather than specifying an explicit user ID and password? Resolution: Yes. You firstly need to enable External authentication both server-side, and also client-side (in your network configuration). Oracle cover this within Chapter 10 of their Advanced Security Administrator's Guide.Having configured this -- and verified that it works correctly outside of your COBOL environment, for example, using Oracle's sqlplus utility, you can amend your SQL CONNECT statement to utilise OS authentication by specifying a username/password of / , i.e. EXEC SQL CONNECT TO MyServerAlias USER / END-EXEC Old KB# 32550
Created On: 17 November 2010 Problem: How can I build and run DB2 Stored Procedures on UNIX? When call a COBOL DB2 Stored Procedure on UNIX, I get a SQL0444N error. When call a COBOL DB2 Stored Procedure on UNIX, I get a SQL1131N error. How can I use the DB2 ECM for creating DB2 Stored Procedures on UNIX ? Resolution: In order to build DB2 LUW applications, you must have installed the DB2 Application Development Client, and preferably also the Application Development Client Samples.DB2 stored procedures execute as a setuid application on UNIX, which means that -- for OS security reasons -- do not inherit the environment when executed. In order to set up your environment, you need to do the following :1. Prior to starting your DB2 instance, set up your COBOL environment, typically COBDIR, PATH, and LD_LIBRARY_PATH/LIBPATH/SHLIB_PATH, as appropriate for your platform.See KB article #32552 for details on how to set up the DB2 environment correctly.2. In order for DB2 to
Created On: 17 November 2010 Problem: Can you hide the XA Open String from the Enterprise Server web admin page? Is it possible to hide the XA Open String from publically available Enterprise Server web administration pages? For security reasons, I don't want to expose the RDBMS connect criteria through the XA open string. Resolution: From Net Express 5.0 Websync 5, and the latest hotfix for Server Express 5.0 Websync 4, it is now possible to programmatically specify the XA open string within the switch module source itself.The latest switch module sources are attached to this article.Looking firstly at the DB2 (ESDB2XA.CBL) and Oracle (ESORAXA.CBL) switch modules, searching for CUSTOMIZE within the source, you will see code such as this, with the xa-open section. *> For example: *> *> MOVE z"DB=SAMPLE,uid=myuid,pwd=mypasswd,AXLIB
Created On: 17 November 2010 Problem: Compiling or Executing a DB2 application fails with RTS198 (load failure) against cobsqlecm or cobsqlecm64Compiling a DB2 application returns 801-S sqlecm or dependant module not found errorCompiling a DB2 application rejects all DB2(x) directivesLinking a DB2 application gives a "bad magic number" errorLinking a DB2 application on UNIX returns undefined symbol errors against sqlgstrt, sqlgaloc, sqlgstlv, sqlgcall sqlgstop sqlgintp, and cobdb2 Resolution: In order to compile and execute an application which has been precompiled using IBM's DB2 precompiler, i.e. if you have either :* Compiled your host program with the DB2 compiler directive, or* Precompiled your host program with the DB2 command line precompiler, db2 prep, and compiled the resultant outputthen you need to have the DB2 environment set up correctly. On some UNIX platforms, you will also need to ensure that the COBOL working mode matches the type
Created On: 16 November 2010 Problem: Prior to version 8.1.0 the date-entry control used to send a NTF-CHANGED event once a date was selected, in version 8.1.0 the control sends an event for every click. This causes the calendar to close immediately, rendering the calendar control largely useless. If you do not specify the NOTIFY-CHANGE property on the DATE-ENTRY, there is no way of knowing the user changed the date. Resolution: This problem was fixed in version 8.1.1 with ecn-3886, there is no available patch for version 8.1.0, the only solution is to upgrade the runtime to 8.1.1 or later. The programs can be compiled with any previous version and be executed with the 8.1.1 runtime. Old KB# 32537
Created On: 04 November 2010 Problem: When using Remote Desktop to run an ACUCOBOL-GT program on a Windows 2008 Terminal Server the print file using SPOOLER-DIRECT doesn't print. There are no error messages but nothing comes out of the printer. Printing using SPOOLER does print as expected. Resolution: Terminal Services Easy Print was introduced with Windows Server 2008. It is a proxy for every print action that simply redirects all printing-related work to the user's local machine without the need to install any print drivers on the Terminal Services server. The client PC's printers are exposed to programs running on the server and are identified with "(redirected 3)" when viewing the printers available. In that example the 3 is the Terminal Services session id.The Easy Print driver creates a print file in XPS format, then transfers it to the client PC where it is printed. SPOOLER-DIRECT will not work with Term
Created On: 11 November 2010 Problem: Acuserve start fails and the system returns this error message: "Unable to add user". Resolution: This error message is generated when acushare is not running and cannot be started. Usually, acushare starts automatically when acuserver or acurcl are launched. If Acushare crashes for any reason, its shared memory queue may become corrupt which will prevent acushare from being able to restart.To solve this situation, Acushare clean must be executed before starting AcuServer, AcuConnect or executing other processes that require Acushare. Incident #2485786 Old KB# 32444
Created On: 04 November 2010 Problem: First, some background on .ipf files:.ipf files are created when using the Profiler facility in Server Express. This is the procedure to do that:1. Use the PROFILE compiler directive with the cob command when compiling the program. That directive can be set in a number of ways, such as usage in a directives file or by placement in the compile command after the -C flag, as in this example: cob -xv -C PROFILE {program-name}This creates an executable which can then be used to create the .ipf file.(Note: .ipf files can also be created using .int, .gnt and .so files, not just when using executables. You would of course still use the PROFILE compiler directive as indicated in the compile commands used to create the .int, .gnt and .so files).2. The .ipf file is then created when you run the program: cobrun {program-name}This results in a .ipf file being created in your current working directory.
Created On: 04 November 2010 Problem: Before upgrading from Runtime version 6.1 to 8.1.3, when the Unix Runtime process (runcbl) ended, the program's displays remained visible on the console. Now with version 8.1.3 the program seems to run in a separate space and the displays vanish when the program exits. Resolution: Prior to ACUCOBOL-GT Version 6.2 the program displays from a character-based program did remain on the console after the Runtime exited, regardless of the type of display that the program did. However in Version 6.2 a change was made to destroy all canvases when the Runtime exits. That change was done to fix a memory leak due the canvases not being destroyed. So in version 6.2 and later the program displays disappear when the Runtime exits, when using default display handling.The Windows Console Mode Runtime, crun32, also behaves this way. The displays will remain on the console if all of these conditions are true:1. The
Created On: 01 November 2010 Problem: Mapping a shared drive on a Windows server either 2003 or 2008 to access a SQL server 2005, user can get a 9D,4060, which is the following SQL server error:42000 4060 - Cannot open database "db-name" requested by the login. The login failed. Resolution: The user must have the following variable added to the configuration file: A_MSSQL_DEFAULT_CONNECTION Server-name Incident #2484619 Old KB# 32384
Created On: 10 November 2010 Problem: The performance of queries on Vision files via AcuXDBC becomes slower the more concurrent queries are executed. Resolution: There are 4 variables within the AcuXDBC config file that can be set:LOCKS_PER_FILEMAX_FILESMAX_LOCKSV_BUFFERSThese are all well-documented in the Manual AcuXDBC User’s Guide. However, what is not well-documented is that the XDBC process will inherit the spawning process’ environment, so any efficiency tweaking that can be done with variable setting within the normal config file will be reflected within the XDBC environment. So, remember to review all the settings in the normal config file with a view to increasing performance throughout Acu products. These are described in detail in the Manual “ACUCOBOL-GT Appendices”, Chapter “H.2 Configuration Variables”.Tip : check the setting of V_LOCK_METHOD Old KB# 32451
Created On: 11 November 2010 Problem: Errors are produced when displaying signed fields in AcuXDBC. Resolution: The resolution for this is to amend the acuxdbc.cfg file and set the following configuration variable to:invalid_numeric_data truncate Incident #2484958 Old KB# 32460
Created On: 10 November 2010 Problem: How can we restrict a cell of a Grid to accept only Numeric data? Is there any property available to achieve this? Resolution: Refer to the AcuCobol GT User Interface Programming manual, section 5.11.2 - Grid : Special Properties. This will show you how to set the Special Property DATA-TYPE, which you can apply to columns within your grid to define what type of data entry to allow and disallow. Old KB# 32454
Created On: 29 October 2010 Problem: When using Net Express 5.1 or 6.0 in Windows 7 and moving the compiled files to a network drive, a runtime error 173 could show. Something like:Load error:file 'ADIS'error code:173, pc=0, call=1, seg=0173 Called program file not found in drive/directoryLocally all works ok, in Windows XP locally or from a network drive the same program runs normally. Resolution: Open the regisrty editor and go to the following keys and remove the " symbols.The fix for this is to make a few registry changes to handle this:- HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Micro Focus\\NetExpress\\5.1\\Dialog System\\5.1\\Environment • Remove the “ (quotes) from the PATH setting HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Micro Focus\\NetExpress\\5.1\\Unix\\Environment • Remove the “ (quotes) from the PATH setting The above keys are on a 64bit machine. You will need to remove the “Wow6432Node” for a 32bit machine. Incident #2
Created On: 29 October 2010 Problem: Python scripts do not seem to execute. There is no smartscript-stderr.log or smartscript-stdout.log created in the EnterpriseLink\\logs directory. Resolution: This is most likely a permissions issue. The userid that IIS (Internet Information Services) is running under (normally "Network Service") needs to have read/write access to the directories under the MicroFocus\\EntepriseLink directory. The Python compiler needs to compile the source modules and create the compiled output (.pyc files) in these directories. Old KB# 32352#Rumba#EnterpriseLink
Created On: 29 October 2010 Problem: Receiving errors such as read-only files or "General File Transfer Error... ERR -3". Resolution: These are either a permissions error (make sure you have full access to the MicroFocus\\EnterpriseLink directory and it's children) or your AntiVirus/Firewall software might be preventing you from updating these files. Old KB# 32353#Rumba#EnterpriseLink
Created On: 29 October 2010 Problem: We want to deploy a Visual COBOL application on a network server and be able to have users running workstations on the network be able to run the application without the need for the COBOL 2010 Runtime product to be installed locally on each workstation. In Net Express this could be done by setting the environment variable ASLMFNET on each workstation to point to the location of the license database file on the server computer. Resolution: For managed code .NET applications the COBOL 2010 Runtime product needs to be installed on each workstation.For unmanaged native Windows applications you can set this up as follows:1. Install your application on the desired server computer. For this example we will say that it is installed on: - //ServerA/appfolder It must be accessible by the workstations that will be running the application.2. Install the COBOL 2010 Runtime product on
Created On: 21 October 2010 Problem: When trying to install a version a Net Express 5.0 or 5.1, the install reports the error:Execution error: file " error code: 144, pc=0, call=1, seg=0 114 Attempt to access item beyond bounds of memory (Signal 11)But then the installation appears to finish alright.The same error can also occur when trying to start the Net Express IDE. Resolution: This error can happen if they have a Source Code Control System installed and it is not setup properly.The installation looks in the registry to find out the location of the Source Code Control interface DLL.It will then try to load it and initialize it.It is this initialization that is failing and it causes the IDE to display the reported error. If they are using the Source Code Control System installed, then the DLL supporting the Microsoft Common Source Code Control Interface isn’t working.This is most likely because the Source Code Control Sys
Created On: 22 October 2010 Problem: When using the Net Express IDE to generate client programs for a COBOL Web Service, the build might report errors like the following when attempting to build the clients for Winform and Webform programs.WSCalc-app.cblWSCalc-proxy.cblConsole client and proxy generation completedWSCalcProxy.dllcalcInput.cblcalcOutput.cblWSCalcHelper.dllWSCalcIntf.cblWSCalcIntf.dllWSCalcMain.cblWSCalcForm.cblWSCalcForm.Designer.cblWSCalcApp.exeWSCalc.aspxWSCalc.aspx.cblWSCalcProxyWrapperTrigger.cblWSCalcProxyWrapper.cblWSCalcProxyWrapper.tlbWSCalcProxyWrapper.tlb>>> Error executing program 'C:\\WINDOWS\\System32\\cmd.exe'c:\\WS_acctdemo\\WS_acctdemo\\Client\\WSCalc\\ProxyWrapper>set include=C:\\Program Files\\Micro Focus\\Studio Enterprise Edition 6.0\\Base\\INCLUDE;%INCLUDE%;c:\\program files\\micro focus\\studio enterprise edition 6.0\\base\\include ...midl : command line error MIDL1005 : cannot find C preprocessor cl.exeC:\\WINDOWS\\
Created On: 25 October 2010 Problem: Net Express 5.1 is installed on a 64-bit Windows system. If I develop my applications as 64-bit does this allow for larger indexed file sizes? Resolution: Net Express 5.1 supports the development of both 32-bit and 64-bit systems.The 32-bit components are always installed.The 64-bit components are only installed if the installer detects that a 64-bit OS is running.In the case that a 64-bit system is found then the folder:C:\\Program Files (x86)\\Micro Focus\\Net Express 5.1\\Base\\Bin\\WIN64 will be created which contains the 64-bit components andC:\\Program Files (x86)\\Micro Focus\\Net Express 5.1\\Base\\Lib\\WIN64will be created which contains the 64-bit version of the import libraries for linking.In addition a 64-bit Net Express command prompt will be available and a 64-bit check box will be available on project->properties.---------------------------------------File handling limitations have absolutely nothing to do with 32-bit
Created On: 21 October 2010 Problem: When using Micro Focus Net Express or Visual COBOL products for .NET managed code applications how does one determine which version of an assembly should be used when adding a project reference in the Visual Studio IDE?If multiple products are installed, such as Net Express 5.1 and Visual COBOL then multiple versions of assemblies such as MicroFocus.COBOL.Runtime, will be installed. Resolution: Each product version uses a different set of version numbers for the NET assemblies for its run-time files.Net Express 5.0 Visual Studio 2005 MicroFocus.COBOL.Runtime 2.0Net Express 5.1 Visual Studio 2008 MicroFocus.COBOL.Runtime 3.5Studio Enterprise Edition 6.0 Visual S
Created On: 19 October 2010 Problem: While installing AcuXDBC on 32-bit or 64-bit Windows, the installation appears to hang after the completion of 80% of the installation. Cancelling the installation allows the license activation screen to appear, but only the license file is found in the installation directory. Resolution: On Windows 7, Windows Server 2008, and Windows Vista check the status of User Account Control (UAC). UAC may need to be modified or disabled for the product to fully install. However, it should also be noted that permissions issues may persist even if UAC is not a consideration if the systems administrator has restricted access to users. Additionally, installations issues may arise if the user performing the installation is not a member of local machine administrators group or due to the activity of antivirus or other software. Incident #2444975 Old KB# 32112
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.