Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Created On: 21 September 2012 Problem: An ACUCOBOL program running on Linux gets the following error message: "Missing required termcap function `cm' in entry for `dumb'" Resolution: As the program is run via Thin Client, it's possible that the environments may be different between server users. Here's an easy way to determine the environment in which the runtime is running: Use a command-line instruction like this to determine the environment from the user's prompt: env > env-from-prompt.txtThen, run this code from within the runtime, using C$SYSTEM: MOVE "env > env-from-runtime.txt" TO WS-CMD-LINE CALL "C$SYSTEM" USING WS-CMD-LINE, CSYS-SHELL GIVING EXIT-STATUSAt the end, compare the two .txt files. In this particular case, this comparison showed a mismatch between the two TERM environment variables: TERM=xterm (prompt environment) TERM=dumb(Thin client envir
Created On: 03 October 2012 Problem: Server for COBOL (formerly known as Application Server for Net Express) was using a different license mechanism and networked licensing (ASLMFNET). Is it possible to set up a similar networked licensing with COBOL Server 2.1 or Enterprise Server 2.1? Resolution: Here are the steps to set up networked licensing with COBOL Server 2.1 to run native (non .NET) applications. [Server side]1. Install COBOL Server 2.1 on the server2. Install the license3. Copy mfcesd.exe (MF CES Daemon) and mfcesdchk.exe (this checks if MF CES Daemon is running) a. In 32-bit Windows – from C:\\Program Files\\Common Files\\SafeNet Sentinel\\Sentinel RMS License Manager\\WinNT to C:\\Program Files\\Micro Focus\\COBOL Server\\bin b. In 64-bit Windows – from C:\\Program Files (x86)\\Common Files\\SafeNet Sentinel\\Sentinel RMS License Manager\\WinNT to C:\\Program Files (x86)\\Micro Focus\\COBOL Server\\
Created On: 02 October 2012 Problem: Is Net Express compatible with Windows 8 and Windows 2012 Server? Resolution: Net Express and Server for COBOL products do not support Windows 8 or Windows Server 2012. Micro Focus will review this situation again in July 2013. Customers intending to deploy on this platform should do so using the Visual COBOL product line which supports Windows 8 deployment; Windows Server 2012 support is expected to be available later this year (2012). Old KB# 36391#netexpress#COBOL#VisualCOBOL
Created On: 21 September 2012 Problem: There is a known issue when installing or running Micro Focus products after having previously uninstalled the runtime product Server for COBOL 5.0. When attempting to start, for example, Net Express or run a Net Express application, you may encounter the error ‘Micro Focus License Manager service is not running’. You may also be unable to view license information in the License Management Configuration tool. This is caused by having installed runtime licenses in the previous installation of Server for COBOL 5.0. This affects registry permissions rendering them inaccessible to subsequent installations of Micro Focus products.This issue was subsequently addressed and fixed in version 5.1 of Server for COBOL. Resolution: 1. Download and decompress the attachment FIXREG.ZIP into a temporary folder.2. From an administrator's command prompt navigate to the temporary folder and run FIXREG.BAT3. Once these steps have been carried out the iss
Created On: 10 September 2012 Problem: The main program calls by the data-item a module that is created into .DLL. Resolution: This is an issue with Net Express 5.1WS5 . The issue is fixed in Net Express 5.1WS6. Incident #2586639 Old KB# 36294#COBOL
Created On: 10 September 2012 Problem: Customer has Oracles Pro*COBOL installed and is using the COBSQL option of Net Express to invoke the precompiler when compiling embedded SQL programs under Windows.Customer is getting following error from compiler: * CSQL-I-020: Processing output of ORACLE8 Precompiler* CSQL-I-027: Detected Working-Storage, now processing it* CSQL-I-028: Now processing through Procedure DivisionCOBPR0000S 000008:Must use option SQLCHECK=SEMANTICS(FULL) when there is embedded PL/ : "C:\\Work\\Net Express Projects\\testeval.pco"(618,7) * CSQL-I-001: Cobsql has finished returning to the CheckerRebuild complete with errors------------------------------------------ Customer asks, "How might I go about setting "SQLCHECK=SEMANTICS(FULL)"? Should this be done in the cobol.dir file? Resolution: SQLCHECK=SEMANTICS or SQLCHECK=FULL are synonymous and are Oracle Pro*COBOL directives not COBOL or COBSQL directives. From the Net Express docs: For both project setti
Created On: 12 September 2012 Problem: I have two projects of type .Micro Focus .INT/.GNT set up in a Visual COBOL Solution. The startup project project1 contains program "program1.int" which is doing a call to "program2.int" which is in project2.I have added an application.config file to project1 and have set both the PATH and COBDIR environment variables to point to the output folder of project2 which is where "program2.int" resides.When the call to "program2" is made a run-time error 173 occurs which means that "program2" cannot be found. Why does this occur? Resolution: In Visual COBOL the environment variable COBPATH is used to locate .INT/.GNT files that are being called.Change your PATH setting to COBPATH and this should be found. Old KB# 36312
Created On: 29 August 2012 Problem: Windows Forms application has a form on which there are a number of Listbox and Combobox controls. As the application moves through a file of employees these controls get updated as new items are added to their lists. How can the application remove the data from these controls when it needs to start again with a new record? Resolution: Each of these controls has a Clear method on their Items collection. The following will remove all current items: invoke listBox1::Items::Clear invoke comboBox1::Items::Clear Old KB# 36255
Created On: 12 September 2012 Problem: Customer has a Visual COBOL Windows Forms application on which several comboBox controls reside. When the user selects a new item in the combobox the application needs to set some textbox controls to the value of the selected item.The problem is that the SelectedIndexChanged event also fires when the combobox is first created during the form load.How can SelectedIndexChanged event be used only when a user actually clicks on a new item and not when the form is being loaded? Resolution: You can set up a condition flag in working-storage so that you can avoid the first time the SelectedindexChanged event is fired. Example: class-id testcomboselect.Form1 is partial inherits type System.Windows.Forms.Form. working-storage section. 01 isInitial condition-value value
Created On: 10 September 2012 Problem: Customer is installing Fileshare as a service using FSSERVICE -i command.Customer uses Fileshare Manager (FSMGR) to shut down Fileshare so that backups can be done.Since FSMGR doesn't have a function to restart Fileshare, is there another command that can be used to do this? Resolution: The Fileshare service can be started and stopped using the NET START and NET STOP commands once it has been installed. NET START "Micro Focus Fileshare Service"NET STOP "Micro Focus Fileshare Service" When you start Fileshare as a service it will write its fsscreen.lst file to its current directory which will be C:\\Windows\\System32 when started as a service. You can change this by using the /wd command in the fs.cfg file or on the command line when installing fileshare as a service. If you use the following command to install fileshare: fsservice -i "Server1" /s server1 /wd c:\\testfs /pf c:\\testfs\\password.fil then it will install fileshare so whe
Created On: 29 August 2012 Problem: A Visual COBOL Windows Forms application has a form on which a combo box control has been placed. The combo box is statically populates with a list of strings. The application retrieves data from an indexed file and needs to search the entries in the combo box to compare them with the value of one of the fields in the data record. When it finds a match it needs to set the current index of the combo box to the position within the combo box where the compare was true. How can this be done? Resolution: Something like the following should work: 01 compareField string. 01 emp-type pic x(20) value "Full Time". set compareField to emp-field set comboBox1::SelectedIndex to comboBox1::FindStringExact(compareField::TrimEnd(' '))
Created On: 31 August 2012 Problem: Customer copied their Visual COBOL Windows Forms solution to another development machine with a different screen resolution. The Form size and controls are not the same (lined up etc.). Is it the Form's AutoScaleMode property that controls this?Original developer is using a resolution of 1980 x 1080 and the second machine is 1680 x 1050. Will this also be an issue when deployed on end user machines? Resolution: Yes, it is the AutoScaleMode property of the Form that controls how the Forms and their Controls will be scaled if the application is run on a system that has a different screen resulution or uses a different default font. You can read about this at http://msdn.microsoft.com/en-us/library/ms229605.aspx: A Forms AutoScaleMode property is set to inherit by default, which means use the mode specified in the Forms parent. If there is no parent then this defaults to no scaling. You should try setting this prop
Created On: 24 August 2012 Problem: Program is executing a COBOL SEARCH statement but it appears to be failing on a data match that is definately in the table.What could be wrong?The program looks like: 01 ERROR-MSG PIC X(28) VALUE SPACES. 01 ERR-IO-STATUS PIC X(02) VALUE SPACES.
Created On: 09 September 2012 Problem: After installing NetExpress 5.1 WrapPack 6 (nxp3251060079.exe), applying WrapPack 7 (nxp3251070047.msp) fails with the following error: "Error 1920. Service EnterpriseLink Loader Service (ELService) failed to start. Verify that you have sufficient privileges to start system services." Resolution: For some reason, the Net Express settings got corrupted and need to be repaired. Here is the step to do a repair on Windows 7 and Windows Server 2008: 1. Go to Control Panel > Program and Features 2. Select Micro Focus Net Express 5.1 3. Click on Repair from the tool bar above the column names 4. Click on Yes to allow NXP32MSI to update software Here are the steps to do a repair on older Windows platforms: 1. Go to Control Panel > Add or Remove Programs 2. Select Micro Focus Net Express 5.1 3. Click on Change 4. Click on Next 5. Select Repair 6. Click on Next
Created On: 13 September 2012 Problem: Is it possible to download a version of 'MF Visual Cobol for Eclipse' that just contains the MF Visual Cobol parts as plugin for being installed additionally to an already existing Eclipse version? Allowing Eclipse to run with MF COBOL Plugin and any other plugins is what we need. Resolution: Visual COBOL for Eclipse will still need to be installed into your program files and licensed as normal.Step 1:You need this update site for AJDT if not installed into your eclipse.Get fromhttp://www.eclipse.org/ajdt/downloads/ Make sure you get the AJDT for your version of eclipse, and add it to your update sites in eclipse.http://download.eclipse.org/tools/ajdt/37/update The above for 3.7 eclipse file ajdt_2.1.3_for_eclipse_3.7.zip. Step 2:You need to get at the update site for Visual COBOLThis is contained in your Visual COBOL installation.On my machineC:\\Program Files (x86)\\Micro Focus\\Visual COBOL 2010 R4\\UpdateSite.zip You need to
Created On: 07 September 2012 Problem: How to improve the performance of an AcuConnect Thin Client application. Resolution: In general two are the most important factors in performance terms when executing Thin Client applications, the application and the network latency, rather than bandwidth, latency is almost always the cause for poor thin client display performance, increasing the bandwidth does not necessarily reduce latency. In fact, when a client sends a request to acurcl, it just makes the connection via a socket, once a client is connected to the child runtime, acurcl is never again utilized for that client except during the runtime shutdown, in this case, during the execution of the application, all the performance depends on the speed of the network. The above points to the fact that the memory requirements are those for the runtime, which are minimum. A thin client program is less affected by the network latency if it has fewer calls that require a response. Re
Created On: 26 July 2012 Problem: Which is the exact syntax to use as a connection string with AcuODBC or AcuXDBC? Resolution: With AcuODBC, the connection string to use is:"Dsn=acuodbc_demo;Uid=yourusername;Pwd=yourPassword" With AcuXDBC Client, the syntax is:"acuxdbc04:system/manager/xvision:acuxdbc.cfg" where system is the default user of AcuXDBC syscat and manager is its default password. With AcuXDBC Client, connected to AcuXDBC Server:"acuxdbc03:system/manager/xvision:acuxdbc.cfg@20222:servername!acuxdbc04"where 20222 is the default port of AcuXDBC Server service. With AcuXDBC, using JDBC libraries:"jdbc:vortex:system//manager/testjava:acuxdbc.cfg!acuxdbc04" Incident #2584530 Old KB# 36155
Created On: 26 July 2012 Problem: After configuring the RM/COBOL Runtime to use the RM/InfoExpress Client for remote file access, the printing mechanism for your COBOL application no longer functions. Resolution: When the RM/COBOL Runtime is configured to use the RM/InfoExpress client, all UNC paths(\\\\servername\\resource) are handled by the InfoExpress client. This includes any shared printer that is referenced by a UNC name. However, you can instruct the RM/InfoExpress client to ignore certain UNC paths using the "PathPrefixExcluded" configuration keyword in your RM/InfoExpress client configuration file(rmixclnt.ini). The RM/InfoExpress client configuration file, rmixclnt.ini, is a text file that contains configuration keywords for the client. This file should be placed in the Windows directory(C:\\Windows) on an affected client machine. For more information on the RM/InfoExpress client configuration file and the "PathPrefixExc
Created On: 26 July 2012 Problem: If you are using RM/COBOL data files with a Visual COBOL application, it might be necessary to enable Fileshare(remote) access for your RM/COBOL data files. Resolution: The Fileshare Server(fs.exe) is included with the Visual COBOL product in the installed bin directory and can be executed from the Visual COBOL Command Prompt. Below are instructions for configuring the Fileshare server to enable RM/COBOL file access: Start a Visual COBOL Command Prompt box from your installed VCR4 Start Menu. Specify the following in the fs.cfg file: /s /cm CCITCP/d dbase.ref where is the name you want to give to this Fileshare server. Specify the following in the dbase.ref file: /f * /ap ACUFH This line tells Fileshare to use application ACUFH for all files. Please see the Fileshare documentation if you desire any other Fileshare configuration. Set environment variable A_CONFIG to specify a config.cfg file. If you want to access RM files
Created On: 09 August 2012 Problem: Is SQL Server 2012 supported in AcuCobol? Resolution: SQL Server 2012 will be supported/certified in AcuCobol Extend V9.1.2 due for release in September 2012. Old KB# 36203#Acu4GL#AcuSQL#SQLServer2012
Created On: 14 August 2012 Problem: Users are asked to save the profile when exiting the Rumba program. The setting "Do not save profile on exit" in the Rumba options would only work if one user logs on to one PC but if you have several users on one PC it will ask the question again per user, each user who logs in has to change the setting within the software to not ask to save upon exiting. Is a registry fix or a config file that can be edited so that it does not prompt to save, for all users who log into the PC? Resolution: After a Rumba install, there is a config file located in \\system called: RumbaPage.exe.config and in this file the default setting is AskToSave:AskToSave After the first activation of Rumba by the user, this file is copied to his local data file folder: %localappdata%\\ Micro Focus\\Rumba and saved under the name:Rumba.configThere you can change the value to DoNotSave, and you are all good:DoNotSave Old KB# 36218#Rumba
Created On: 16 August 2012 Problem: Customer has a managed code .NET solution in Visual COBOL where many of the programs to be called actually reside in managed code class library assemblies, (.DLLs) that reside on a network share called \\\\compname\\myprograms.When I try to call one of these programs I get the following error: Could not load file or assembly 'file://\\\\compname\\myprograms\\ManagedCustomer.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)If I move the programs to a folder on the local drive it works correctly.How can I configure this to load my programs from a network share? Resolution: This error occurs because of the User Access Control Trust issues associated with .NET assemblies. Assemblies downloaded from the Internet or that reside on a network drive are not trusted by default.To allow for these assemblies to be loaded you can add the following highlighted section
Created On: 16 August 2012 Problem: When using Dialog System Addpack in Visual COBOL can I use project types x64 or anyCPU? Resolution: Dialog System is provided as a 32-bit native .DLL and therefore it can only be called by a 32-bit project. Although it may appear to work correctly when using calling Dialog System from a project defined as anyCPU when run on a 32-bit computer it will fail if the same application is moved to a 64-bit computer.All projects that contain programs that call Dialog System should be defined as "x86" Platform. Old KB# 36228
Created On: 16 August 2012 Problem: I have a managed code application that has a main project (.EXE) that calls programs in other projects (.DLLs) When the call is made to some of the programs in these other projects I get the following error: Inner Exception: BadImageFormatException Could not load file or assembly 'file:///X:\\PLK\\LXXO000.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. What is causing this error? Resolution: This error means that most likely you have a mismatch between project types in regards to bitism such as a project defined as x64 or anyCPU is trying to call a program in a project defined as x86.When calling between projects, you must ensure that the project types all match so that 32-bit calls 32-bit and 64-bit calls 64-bit, etc.When you are using anyCPU it may work correctly when calling x86 or x64 projects on one computer and then fail when run on a different computer where the bitism is different.
Created On: 27 July 2012 Problem: I have a managed code COBOL project in Visual COBOL for Visual Studio that contains multiple COBOL programs that I need to call from a C# main program. I am using the ilsmartlinkage compiler directive so that the COBOL compiler will generate a .NET class for the linkage section group items that are being used as parameters to the COBOL programs.Each COBOL program has the same linkage section parameters defined by using a common copybook.This works fine if there is only one program in the COBOL project but as soon as I add a second program, I get compile errors because it is trying to generate a duplicate class name for the linkage section group.How do I get around this? Resolution: You can get around this by using the ilsmartnest directive in conjunction with ilsmartlinkage.When specifying the ilsmartnest directive the compiler will generate a unique class for each of the parameter groups by qualifying its name with the program name that i
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.