Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Created On: 30 March 2011 Problem: Installing Net Express 5.1 WrapPack 1 (NXP3251010074.exe) as administrator fails on Windows 7 with the following Microsoft Installer error:Error 1406.Could not write value CUSTOM_START_MENU_CMD to key \\SOFTWARE\\Micro Focus\\NetExpress\\5.1\\Setup. Verify that you have sufficient access to that key, or contact your support personnel.The above error indicates that MS Installer failed to write a value to a registry key. Resolution: Make sure your user id or the Administrators group that your user id belongs to actually has Full Control over HKEY_CURRENT_USER\\Software, HKEY_LOCAL_MACHINE\\Software, and their respective subkeys.This error may also occur if a prior attempt to install the product failed, especially from the original CD, which is already known to fail on Windows 7 and Windows Server 2008. If that is the case, then the install has left behind some corrupted registry keys.If there are no other Micro Focus products installed, you
Created On: 06 April 2011 Problem: An obscure error was encountered on a customer’s machine when attempting to open the Net Express IDE: Error C0000005 Access Violation at 042FAE7B 01:00019E7B C:\\Program Files Micro Focus Net Express 5.1\\Base\\Bin\\mfio.dll The IDE was not trying to load the last project at startup and there had previously been no issues with projects etc. Nothing seemed to point to why we were getting this error when simply attempting to open the IDE. This happened with Net Express 5.1 on Windows 7, although we believe the same may have occurred on an XP machine. Resolution: We checked all system and user environment variable settings but nothing seemed obvious. After some discussion they said they had added some configuration options to their cobopt.cfg file, which was being pointed to by the COBCONFIG_ environment variable. This had been set in the ‘User’ environment variables in Windows – i.e. Control Panel > System > Advanced System Settings &
Created On: 06 April 2011 Problem: Does any one know how to call Twitter as a web service from within a Visual COBOL application? Resolution: If you use the TweetSharp library at http://tweetsharp.codeplex.com/ and follow the instructions on the web site to download the binaries and get an OAuth key from Twitter then the following code will work to connect to Twitter and get a list of public Tweets.Steps:1. Download binaries .zip file from TweetSharp site and unzip it into folder called C:\\tweetsharp.2. Create a Visual COBOL managed Console project.3. Under Project right click References->Add a reference, then browse and select C:\\tweetsharp\\lib\\4.0\\tweetsharp.dll.4. Register your application with Twitter to get a Consumer Key and Consumer Secret number so you can authorize.5. When you run the code below, (after replacing the ConsumerKey and ConsumerSecret values with the values that Twitter gives you) it will open up a Twitter page that will ask you to allow
Created On: 06 April 2011 Problem: In Visual COBOL for Visual Studio 2010, how does one define a class as being serializable and how is the serialization accomplished? Resolution: You can create a serializable class in Visual COBOL by using the following attribute:class-id. mySerializableTypeattribute System.Serializable().The following is a sample that will serialize a COBOL object and write it to an XML file and then deserialize it to a new object and display the results. $set ilusing"System" $set ilusing"System.Collections.Generic" $set ilusing"System.Linq" $set ilusing"System.Text" $set ilusing"System.Xml" $set ilusing"System.Xml.Serialization" $set ilusing"System.IO" $set ilusing"System.Collections" progra
Created On: 06 April 2011 Problem: Compiler reports the following error when compiling a program with Embedded DB2 statements:* 801-S ( 0)** External Compiler Module message** DB0009 MF DB2 Connect program reported error condition '30082'.This** error prevents SQL processing from continuing - further EXEC SQL** statements will be ignored. Resolution: This problem is caused by a bug in versions of Net Express and Server Express prior to 5.1 WS4. The problem occurs when the password to connect to t
Created On: 03 March 2011 Problem: Net Express in Studio Enterprise Edition 6.0 fails with the following error: Micro Focus CesAdminTool failed to launch Unable to initialise: error(5): Cannot talk to license server on host "localhost". Server may not be running. Resolution: You need to look at the value specified for lshost in CES.INI that is located in “C:\\Documents And Settings\\All Users\\Application Data\\Micro Focus” or in “C:\\ProgramData\\Micro Focus\\” on more recent Windows.If the license server is installed on the same machine, then its value should be 127.0.0.1. If it is on a different machine, then the name of the remote machine should be specified. You then need to make sure this remote machine can be accessed through the network.Here are few things to look into if the remote machine cannot be contacted through the network: the firewall on the client machine is blocking access outbound, or the firewall on the remote machine is blocking port 5093 inbound, or
Created On: 30 March 2011 Problem: When using EnterpriseLink automatic translation, we found some texts were converted into buttons. Would you tell me the conditions that Enterprise Link converts text into buttons? Resolution: EnterpriseLink Automatic Translation mode will examine each host screen to determine if it follows the IBM SAA guidelines for 3270 screen design. One of these guidelines indicates that lines 21-23 should be used to indicate which PF keys are in effect for this screen and provide a short description of their operation. If EnterpriseLink can find the appropriate pattern it will turn these into HTML buttons on the page such that, when pressed, will send the PF key. IBM SAA guidelines specify a number of different forms for this information. Some of the ones accepted by EnterpriseLink are:PF1=HELP F2=LOGON OR LOGOFFPF05==>ENTERPA1 ==> AttentionF7{Scroll Forward}You can change this behavior on pages within a defined project. See the web page:En
Created On: 25 March 2011 Problem: AcuThin 9.0.0 installer "atcinst.exe" may not work on Windows 7 32-bit. The returned error is: "The program can't start because wcvt32.dll is missing from your computer. Try reinstalling the program to fix this problem." Resolution: Use the acuthin.msi installer, instead. It is downloadable from the SupportLine web site, Micro Focus Product Updates section, Extend 9.0.0, 900acuthin.zip. A login/password is needed. Incident #2509026 Attachments error-using-atcinst.exe-900.jpg Old KB# 33759
Created On: 23 March 2011 Problem: Is there a way to remove an object from a web page prior to the page being submitted to the user? Resolution: This can be done via a Python script. In Builder, create a new Server-Side script and associate it to the onGenerate event of the object you do not want to appear on the page.The script should contain the following:elself.fail()For example, if you want the object to appear only if a certain text field called TEXT1 contains the value "END", then you would have the following:import stringpage = elself.getParent()obj = page.getObject('TEXT1')value = obj.getValue()if string.find(value, 'END')>=0: elself.fail()You can find other examples or information on scripting in Builder.Select Help/Help Topics under the Web Author's Guide Chapter 4 (Scripting) Old KB# 33745#Rumba#EnterpriseLink
Created On: 16 March 2011 Problem: When running the visualcobolr3_webinstaller.exe it does not detect that I have a German version of Visual Studio 2010 installed, all check points on the webinstaller screen fails with a red cross. Resolution: To solve this issue, temporarily create this registry key, when you try running the web installer again it should recognise it and allow you to install the product:HKLM\\SOFTWARE\\(Wow6432Node on 64-bit OS)\\Microsoft\\VisualStudio\\10.0\\Setup\\VS\\BuildNumber 1033 = 10.0.30319 Incident #2506990 Old KB# 33691
Created On: 16 March 2011 Problem: SQL code returns 0 in your COBOL program but nothing is commited in the database when using an ODBC driver (e.g. Oracle). How can I setup tracing? Resolution: You could setup a Windows ODBC Trace by following these steps, then review the trace file to see if that provides any more detailed infromation on what is/if anything is going wrong:1. Open the ODBC Data Source Administrator tool: choose Start > Settings > Control Panel > Administrative Tools > Data Sources.2. Click the Tracing tab at the top of the ODBC Administrator.3. You can specify the name of the log file in the Log File Path text box along with the full path (for example: C:\\logs\\ODBC.log).4. Click Start Tracing Now to enable tracing. Now you will notice that the button has now changed to Stop Tracing Now5. Click the Apply button followed by the OK button until you exit the ODBC Administrator. All ODBC calls will now be logged to the specified log fi
Created On: 16 March 2011 Problem: When animating a COBOL program and you want to accept command line parameter which contains either quota marks (“) or backslashes (\\) in the text: cobrun test-program “test” or \\test\\ and the quota marks or backslash are not accept in the COBOL program. Resolution: You should invoke animator using the following command line. Notice animator is invoked via COBSW= A: CMDLINE="text containing \\" character" COBSW= A; cobrun test-program ${CMDLINE} Incident #2425830 Old KB# 33703#backslash#commandline#QuotaMarks#Animator
Created On: 16 March 2011 Problem: When trying to use Cross-session animation to debug a COBOL program the user screen contains blanks or garbage as referenced below:scmv1;33;CALCULATION OF PImv2;66;NEXT TERM IS 0.500000000000mv3;103;PI IS 3.000000000000mv2;82;020833333333mv3;112;124999999999mv2;83;02343749999mv3;113;390624mv2;84;0348772321mv3;113;41155133928mv2;85;059339735mv3;115;511172339mv2;86;1092390mv3;116;76715774mv2;86;02118257mv3;116;89425318mv2;87;0426173mv3;116;9198235mv2;88;08813mv3;117;2511157mv2;89;18618mv3;118;622870mv2;89;04000mv3;119;46875mv2;90;0871mv3;119;5210mv2;91;192mv3;120;3258mv2;91;04mv3;121;514mv2;92;09mv3;122;72mv2;93;2mv3;122;85mv2;93;0mv3;123;81l9ofocopmv23;0;lnWhen this occurs, cobainmsrv process continues to run and animator does not return to the command prompt. Resolution: During installation of Server Express the sticky bit was configured. Removing the sticky bit resolved the issue and you show now be able to use cross-session animating. T
Created On: 14 March 2011 Problem: Is there any way to reorder sessions in Rumba 8.0 desktop profile? Resolution: Rumba sessions can be reordered in a desktop profile by editing the RDPS file in a text editor such as Notepad. This can be achieved by using the following steps: Launch Windows Explorer and navigate to the folder where you have saved your Rumba desktop profile (RDPS file). Now open the .rdps file in Notepad. All Rumba sessions are contained inside the session tag as shown in the attached example. The tabs appear in the same order as these tags are saved in the rdps file. Reordering these tags will change the order of the tabs in a desktop profile. Please note a new feature has been incorporated in Rumba 8.1 that allows a user to drag and drop the tabs to reorder the sessions in a desktop profile. Incident #2494835 Old KB# 33672#Rumba
Created On: 16 March 2011 Problem: After installing Server Express on an AIX RS6000 server using Oracle's makefile and trying to compile the following errors are returned: Ld: 0706-006 Cannot find or open library file: -lm ld: open(): no such file or directory Resolution: Oracle’s makefile "env_precomp.mk" includes the following line: MATHLIB=-lm This option "-lm" tells the system linker to bring in the standard system math library “libm.a" which is usually found in /usr/lib. When "ld" reports it "Cannot find or open library file -l m" the linker is indecating it can't find the standard math library. Ensure the libm.a is installed in /usr/lib. Incident #2426123 Old KB# 33707#linker#0706-006#ld
Created On: 25 March 2011 Problem: Is it possible to call an ACUCOBOL-GT program from .Net using the CVM class? Resolution: A sample project is attached to this article.The requisites to work with this sample are:- Visual Studio 2010- .Net Framework 2.0 SDK- ACUCOBOL-GT Dev SysIn the same zip file, a README.txt file will explain the steps to follow. Incident #2507746 Attachments dotNetCallsAcuUsingCVM.zip Old KB# 33758
Created On: 14 March 2011 Problem: How do you add an application button to the Rumba toolbar? Resolution: 1. Start RUMBA Desktop, and check under Options, RUMBA Options, General dialog that you have Startup mode set to Classic. 2. Under File, New, choose a desired display session such as Mainframe Display. 3. Configure the necessary connection information such as device type and host IP address. 4. Select View, Toolbars from the menu. On the dialog that appears you may add to the Standard Toolbar or choose New…to create a new Toolbar with just your customizations. For this example we’ll add a button to the Standard Toolbar. 5. Make sure the Standard toolbar is highlighted and click the Commands tab. 6. Click the Rearrange Commands button. 7. Now choose Modify Selection, and then choose New Button… 8. Button Type: click the drop down and choose Application 9. The Button Properties are: a. Name – this is what you want to appear on the button label. &
Created On: 26 March 2011 Problem: An older version of Server Express was installed on a system. Both older and newer products still co-exist on the system. This error message is then received when using the product:"cobol version number invalid - Call Technical SupportThe contents of the cobver file are incorrect."This issue can be further diagnosed by executingcob -VIf something like this is returned:COBOL Version information:I see no workversion @(#)cob.c 1.237PRN=RXCAI/AAP:9d.d5.21.05PTI=SP1cobol v2.0.11-ePRN=RXCAI/AAP:9d.d5.21.05PTI=SP1Where lines are repeated or confused, it is a sign that during installation of the older version, the different versions got mixed together somehow. Resolution: The resolution is to re-install the product, and then later at runtime, to ensure that the PATH environment variable is pointing to the correct $COBDIR/bin. Incident #2481866 Old KB# 33761
Created On: 18 March 2011 Problem: At Runtime the OPEN INPUT gives an error 37,08. When compiling the program a warning is raised "open input or i-o used for print file" but the file isn't a print file. The file is defined as a line sequential file but not a PRINT file. FILE-CONTROL. select lineseq assign to lineseq-name organization is line sequential file status is fs. FILE SECTION. fd lineseq. 01 lineseq-rec pic x(10). Resolution: File status 37,08 and the com
Created On: 14 March 2011 Problem: Windows Operating Systems allow User Names to be 20 characters long at maximum. These cannot be used as the "Client" or "Local User Name" in the Access User control panel of AcuConnect Thin Client. Is there a way to solve this issue? Resolution: The limit of 16 characters still exist in AcuConnect control panel for User Name, even with the release of extend 9.0. This is due to the fact that AcuConnect is designed for use on multiple operating systems some of which have such a limit. Windows has no such limit and those usernames longer than 16 characters can prevent connection. Incident #2503589 Old KB# 33668
Created On: 03 March 2011 Problem: How can I limit the size and amount of CTF trace files to be generated during a CTF trace? Resolution: There are 2 emitter properties that can be used to control the size and amount of CTF files that are produced during a CTF Trace. The two properties are MAXFILESIZE and MAXGENERATION.MAXFILESIZE sets the size of each trace file and MAXGENERATION sets the number of trace files to generate.For example, one could set the properties as follows:mftrace.emitter.binfile#MAXFILESIZE=0x00002800 (use hexadecimal format; this example is for 10Mb)mftrace.emitter.binfile#MAXGENERATION=3 (this will produce a total of 3 log files) When the max size is reached a new file will be started up until the number set in maxgeneration is reached.The file generation will then start again by overwriting the first file generated and so on.A sample ctf.cfg file may look like this:mftrace.level=debugmftrace.dest=BINFILE## Emitter BINFILEmf
Created On: 03 March 2011 Problem: When calling an unmanaged COBOL .dll from an ASP.NET Web Service or Web Site application an HTML error 500 is returned from the call. Resolution: ASP.NET runs under control of a Web Server, either IIS or a local file system Web Server available in Visual Studio. This Web Server is actually run as a Windows Service.In order for a call to an unmanaged COBOL .dll to be able to resolve the location of the .dll it is necessary to add the location of the .dll to the systems PATH environment variable.Example:If your web site and your unmanaged COBOL .dll are in the following folder: C:\\inetpub\\wwwroot\\mysiteThen you need to modify the PATH to include this using Control Panel->System->Advanced Settings->Environment Variables:Change PATH to include C:\\inetpub\\wwwroot\\mysite.Because the Web Server is running as a Windows Service you will need to reboot the computer before the change will b
Created On: 09 March 2011 Problem: Is there any traning available for Visual COBOL? Resolution: Yes. There is a web based training course available here:http://www.microfocus.com/education-services/course-catalog/courses.aspx?ComponentUri=199403&keyword=tcm:6-174766-1024It's also available as a 3 day instructor led training course, please contact your local sales representative. Incident #2506407 Old KB# 33640
Created On: 09 March 2011 Problem: When using Terminal Services, you can encounter the following error: "Error invoking unauthorized copy of Runtime: Use count exceeded (Loc 518)" This error can occur even if you have the correct number of named user licenses. Resolution: If you encounter a "Use count exceeded" message when using RM/COBOL through Terminal Services, but, you have not actually exceeded your named user license count, please contact Micro Focus Customer Care (support@microfocus.com), or, your Micro Focus Sales Account Manager. This is a known issue that can be addressed through core based licensing. Old KB# 33641
Created On: 14 March 2011 Problem: ACUCOBOL-GT runtime 8.1.0 64-bit fails to start on a Windows 64-bit machine. When launched, wrun32.exe causes an Application Error popup window to appear. The error window contains this message:"The application was unable to start correctly (0xc000007b). Click OK to close the application."Other executables in the BIN directory start correctly. Resolution: Upgrade to 8.1.1 or later or apply the attached patch. Incident #2507187 Attachments 810_64bit_fix-to-setup.zip810_64bit_Application_Error.jpg Old KB# 33667
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.