Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Created On: 28 October 2011 Problem: Print To File option is not present in the General Tab of Mainframe Printers Page SetUp dialog box. Without this option, the users are not being able to print Mainframe based data to text files. How can you make a text based print? Resolution: It works slightly different with Rumba 8.1/Web to Host 6.1. You will need to use Operating System Generic / Text Only Printer. See attachment: PRINTERTEST4PRINT2FILE.DOCX Attachments Print to File Issue.docPrinterTest4Print2File.docx Old KB# 35092#Rumba
Problem: In order to generate an Activation Code for a Liant product license, you can use the Activation Web Form(http://activate.liant.com). Unfortunately, upon completing and submitting this form, you might receive an error message, or, it may not, correctly, send an Activation Code email.What do I do if I get an error from the Activation Web Form? Resolution: If you are unable to receive an Activation Code email from the RM/COBOL License Activation Web Form it is possible that the site is down for routine maintenance. This maintenance usually lasts around thirty minutes and can occur a few times a day. In this situation, we recommend waiting half and hour and trying the Activation Web Form again.If you are still unable to generate an Activation Code email using the Web Form after waiting thirty minutes, or, you require an immediate response to your Activation request, please contact Micro Focus SupportLine through the Web Portal (https://port
Created On: 07 November 2011 Problem: A client was testing an existing legacy application using Visual COBOL in Visual Studio 2010 for the first time. In their code there were a substantial amount of comments in the area after column 72. The comments were not preceded with an asterisk in column 73. What they found was that this area was treated as code rather than as comment. They were wondering if there were any compiler directives/settings etc so that code in column 73 or greater could be treated as comment, regardless of whether they had an asterisk or not. Resolution: One thing to be aware of is that SOURCEFORMAT”FREE” is the default in Visual COBOL for Managed projects. For Native projects the default is still SOURCEFORMAT”FIXED, as it was for Net Express, Server Express a Studio EE. SOURCEFORMAT”FREE” means the IDE doesn’t adhere to the standard COBOL format of columns 0-7, 8-72 and 72 and beyond. To test, manually set the SOURCEFORMAT”FIXED” compiler directive
Created On: 09 November 2011 Problem: Customer has a Visual COBOL managed console application in Visual Studio that looks like the following:When the program invokes the MessageBox::Show method using the PIC N(2) field it does not display the Chinese characters. Why is this?$set ilusing"System.Windows.Forms"program-id. Program1 as "testchinese.Program1". data division. working-storage section. 01 chinesetext type Byte[] value x"E58F91E7A5A8". 01 wsEncoding type Encoding. 01 codePageValues type Byte[].  
Created On: 01 November 2011 Problem: When using Visual COBOL for Eclipse to create and connect to a remote COBOL Project how can I specify the port of the remotedaemon, if the remotedaemon had to be started with a different port number (other than the default 4075)? Resolution: The port can be changed using the remote project creation wizard, when going through the wizard to create your remote project, click on the new connection button > select dstore.files > in the available Services section expand DStore Connector Services > expand Remote Server launcher > Select Launcher Properties > Now you will be able to specify the port the remote daemon is using by using the Daemon Port Textfield. Click Next or Finish to go through the Wizard. Incident #2541417 Old KB# 35140
Created On: 08 November 2011 Problem: The ‘Statistics’ page in the License Administration Services screen for the Development License System shows more running users than the number of users displayed when the ‘lmfgetpv w’ command is run. A customer had an issue where the number of developers able to use the Server Express development tool didn't match the number of users they were licensed for. To test, they made certain there was no one using a development/compiler license. They first ran ‘./lmfgetpv w’ from the /opt/microfocus/mflmf directory. It did not show any users currently using a license. But when they went into the License Administration Services (by using either the mflicense or mflmadm commands), then pressed the F6 function key twice to get to the 'Statistics Screen', it showed Licensed Users 16 and Running Users 2. Their developers had previously been denied a license even though they believed that at the time there should have still been some li
Created On: 27 October 2011 Problem: For testing purposes each Server Express developer licenses automatically comes with five test runtime licenses (Developer Usage) to allow developer testing of compiled applications. So if you have one developer license, then you will automatically have five test runtime licenses. These test runtime licenses should automatically be installed in the application server license database but this does not always happen if the license database does not already exist or there has been some sort of corruption. Resolution: It should be enough to run: $COBDIR/aslmf/aslmdbrecoverto reset the runtime license database (aslmf)However, if this does not work, you can flush the test runtime licenses in the runtime license database by doing the following: 1. cd to /var and remove the mfaslmf directory (if it exists) 2. cd $COBDIR/aslmf and run ./initaslm 3. cd to $COBDIR/lmf and run ./
Created On: 28 October 2011 Problem: Using Rumba 8.1 UNIX Display trying to do anything returns straight away the error:E437: terminal capability "cm" required Resolution: Some UNIX systems are not happy with the way Rumba 8.1 displays the terminal type in capital letters. For example the default shows up as terminal ID: VT340 but even changing the terminal type to say VT220 it still displays VT as capital letters. Changing manually in the Terminal ID: field the VT into vt and the error goes away. Old KB# 35083#Rumba
Created On: 19 October 2011 Problem: Is it possible on a system with dual monitors to determine and ensure which screen the output appears on? Resolution: Since the Runtime was never developed with dual monitors in mind, the output will always be displayed on the primary monitor. There isn't any other option. Since changing this would require enourmus efforts, an enhancement is not likely. Incident #2542225 Old KB# 34962#primary#output#dualmonitors#screen#runtime#ACU
Created On: 25 October 2011 Problem: When compiling in Net Express for Eclipse you get an error message indicating:109 Your product license has expired Resolution: Even though your Eclipse addpack may be fully licensed, this error message is shown when your Net Express product is not licensed or the license key has become corrupt.You will need to apply a valid license to Net Express to be able to compile using Eclipse.To do this you will have to send the 24 digit Request Key to supportline@microfocus.com and you will then receive a Response Key once it has been processed. Incident #2541676 Old KB# 35015#COBOL
Created On: 24 October 2011 Problem: When attempting to animate a program from within a project open in the Net Express IDE by double-clicking on the program name or selecting Start Animating option from the Animate menu, the Animator never opens the programs source but instead simply displays a command prompt window.The program doesn't appear to be running and the only thing that you can do is close the command prompt which stops the Animation. Why does this happen? Resolution: This problem can occur if your PATH or COBDIR environment variables contains a folder name which has an older copy of the COBOL run-time cblrtss.dll in it. If this older copy is picked up during the Animation process then the Animation will fail as described here.Always ensure that you do not have multiple copies and different versions of cblrtss.dll on your computer, especially in your project folder.If you have multiple versions of Net Express installed on the same computer then th
Created On: 24 October 2011 Problem: Application runs on the mainframe, using DB2 for Z/OS.The application is using the following SQL command on a dynamic statement: EXEC SQL PREPARE SEL FROM :STMTBUF END-EXEC. MOVE 3
Created On: 18 October 2011 Problem: In specifically the Linux environment, we encounter the following error transaction error 05, 02 when invoking a program that contains rollback functionality. Resolution: This is the breakdown of the error codes 05,02 you are receiving: 05 This indicates an operating system error that is not otherwise covered by one of the standard error conditions. You can determine the exact nature of this error by examining the value of the secondary code.In Linux the secondary codes are held in errno.h (/usr/include/asm/errno.h). The code equates to - #define ENOENT 2 /* No such file or directory */You can find out more details by running a trace for example: - runcbl –c config.cfg –lxe error.log program Old KB# 34955#AcuCobolLinuxError
Created On: 21 October 2011 Problem: The users would like the date entry control to initially display blank but even when the "SHOW-NONE" style is applied the control displays the current date. What is required to make the date entry control display a blank date? Resolution: Assigning the show-none style only affects the value that the control RETURNS when inquired on. If the check box is unchecked then inquiring the value will return zero for a date and all 9s for a time. The control still must display a valid date. Show-none does not affect the value displayed. The date entry control is actually an implementation of Microsoft's calendar control which must always display a valid date. It cannot display a blank date as blanks are not a valid date. When the date entry control detects a value that is not a valid date then it displays the current date. This behavior cannot be changed.Note that most GUI applications have this b
Created On: 18 October 2011 Problem: I am having problems accessing SQL Server on a remote server on the network. Resolution: If you are running the AcuSQL interface to Microsoft SQL Server, you must have the SQL Server client software from Microsoft. To see if the SQL Server client software from Microsoft is on your system, Open the Query Analyzer. (For information on opening the Query Analyzer see SQL Server client documentation.) If the Query Analyzer opens and you are able to connect to the database, the client libraries are most likely all present. Your SQL Server data source may be hosted on one (or more) of the following environments: So now you should be able to access the server on the network....Ensure that you set - ACUSQL_RUNTIME_DLL to asqlsrvr.dll** asqlsrvr.dll is the DLL specifically for connecting to MSSQL.** esqllib.dll is not supported for connecting to MSSQL.When using asqlsrvr.dll the CONNECT statement must specify the MSSQL Server, rather t
Created On: 21 October 2011 Problem: The program uses a line sequential file with fixed length records. However, when writing records to the file the trailing spaces are removed. For this application the trailing spaces are necessary and should not be removed. Why are the trailing spaces removed? Resolution: Print files always have trailing spaces removed. Somewhere in the program there is a WRITE statement that includes the ADVANCING phrase. Even though this file is not specifically defined as a print file, the ADVANCING phrase causes it to be handled as a print file. Removing the ADVANCING phrase from all write statements for this file will resolve the issue. Old KB# 34999
Created On: 25 October 2011 Problem: Since the release of extend version 8.0, Micro Focus released a 64-bit Windows native port for the extend product suite. The new installer for this port can lead to some misunderstandings about installation paths. Resolution: Usually, all Windows 64-bit programs are installed under "C:\\Program Files\\" while 32-bit programs are installed under "C:\\Program Files (x86)\\".Launching a 64-bit setup installer provides an option to select a different path where Acu product will be installed. A "Path" field can be filled to provide the new directory path.The path you provide will be the location for 32-bit libraries only. All 64-bit libraries will be placed under "C:\\Program Files", regardless of the drive and path chosen in the Path field.For example, if you choose to install Acu products on drive D:\\, you can enter this location in the Path field:D:\\Program Files (x86)\\Acucorp\\Acucbl811 This wil
Created On: 21 October 2011 Problem: Are ACU runtime and other programs of the suite extend 9 compliant with Windows 2000?These are some of the problems encountered during an installation of 9.1.0 on a Windows 2000 Server:- InstallShield Wizardextend(R) Version 9.1.0 requires that the following requirements be installed on your computer prior to installing this application. Click Install to begin installing these requirements: MSXML 6.0 SP1- InstallShield 1210: Setup requires Windows Installer version 3.0 or higher to install the Microsoft .Net Framework version 2.0.- dotNetFx40_Full_x86_x64.exe is not a valid Win32 application.- acuthin.exe is not a valid Win32 application. Resolution: Windows 2000 is not supported with extend suite 9.x.The supported Microsoft Operating Systems for 9.x are:Windows XP, Windows Vista, Windows 7, Windows 2003, Windows 2007, Windows 2008 R2. Incident #2542799 Old KB# 34993
Created On: 19 October 2011 Problem: How do you change the text item of a tree view control? Resolution: In version 9.0.1 there is an enhancement that enables the user to change the text of a tree-view item. This feature is controlled by a new runtime configuration variable TV_EDITLABELS. When this variable is set to "1" (on, true, yes) you can change the value of the tree-view item by clicking it with the mouse (just like with Windows Explorer). When the variable is set to "0" (off, false, no) text changes are not allowed. The default value of TV_EDITLABELS is "0". To keep track of the changes, two additional messages are generated from the tree-view to the COBOL program: MSG_TV_BEGINEDITLABEL and MSG_TV_ENDEDITLABEL. MSG_TV_BEGINEDITLABEL is sent to the COBOL program when the user begins the edit. EVENT-DATA-1 is always 0, and EVENT-DATA-2 contains the handle of the item being modified. The program can prevent the modification by setting EVE
Created On: 21 October 2011 Problem: After the installation of extend 9.1.0 on a Windows machine, an error occurs executing wrun32.exe (or acuthin.exe).The windows popup reports: wrun32.exe - Entry Point Not foundThe procedure entry point CLRCreateInstance could not be located in the dynamic link library mscoree.dll.The same message on an Italian operating system reports:wrun32.exe - Impossibile trovare punto di ingressoImpossibile trovare il punto di ingresso CLRCreateInstance della procedura nella libreria di collegamento dinamico mscoree.dll. Resolution: extend 9.1.0 requires .Net Framework 2.0 and 4.0.Check which version of .Net is installed on the machine and eventually install the missing Framework.I.e.:C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319This error will be fixed in upcoming release 9.1.1.The DLLs will no longer link with mscoree.dll, and instead will load it dynamically when it is needed.(only in thi
Created On: 10 January 2012 Problem: It appears that the Acu XDBC 64bit server can be selected when doing a Windows install, but the modules do not get copied onto the machine. Resolution: AcuXDBC does get installed on the machine, but gets installed into the default location of "C:\\Program Files\\Micro Focus\\Acucbl910\\AcuGT\\bin\\". If you want the files in another location there are five steps you need to perform to be able to use 64-bit AcuXDBC from the new location. The steps require that you have administrator rights to the local machine. 1. Copy the files from "C:\\Program Files\\Micro Focus\\Acucbl910\\AcuGT\\bin\\" to .2. Set GENESIS_HOME= .3. Change the properties of XDBC Query 64-bit shortcut so the target now points to .4. Run regedit and locate the HKEY_LOCAL_MACHINE\\SOFTWARE\\ODBC\\ODBCINST.INI\\extend9 AcuXDBC (64-bit) entry. The Driver and Setup keys need to be changed to the following: Driver=\\bin\\acuxdbc.dllSetup=\\bin\\AcuXDBCSet
Created On: 17 October 2011 Problem: While running AcuXDBC you get an error message, for example: Too many columns 369 (max:256) Resolution: You can increase this limit by modifying the DSN that was created for the AcuXDBC data source. See Chapter 5.8.3 AcuXDBC Setup: Advanced Tab of the AcuXDBC User's Guide for more information: Here are some limits to be aware of that are imposed by Microsoft: Excel: Worksheet size 65,536 rows by 256 columns column width 255 characters. Access: Number of fields in a table 255 Old KB# 34945#ToomanyColumns#AcuXDBC
Created On: 17 October 2011 Problem: How do you find in Acu4GL for MSSQL the unique SQL spid (process id)? Resolution: You can view the SPID in MSSQL using Activity Monitor etc or try using the function below.ACUCOBOL-GT Appendices Version 9.0.1 Appendix I: Library Routines > I.1 General Syntax and Library List > C$GETPID This routine returns the Process ID (PID) of the current process. This PID can be compared with the PID returned by the C$LOCKPID to determine if the current process is the one holding a file lock or record locked condition. Usage CALL "C$GETPID" GIVING PROCESS-ID. Parameters PROCESS-ID PIC 9(n) This contains a numeric data item large enough to hold a PID. On most platforms, PIC 9(5) is sufficient. On 64-bit systems, PIC 9(7) is recommended. Comments When called from a non-UNIX or non-Windows runtime, C$GETPID returns a PROCESS-ID of "0". This behavior should not be used for system identification. Use ACCEPT ... FROM SYSTEM-INFO
Created On: 18 October 2011 Problem: For Visual COBOL R4 Update 2 and R5 a new version (8.4) of the SafeNet licensing software will be used. For local servers there is nothing to worry about as we will be installing a new client (Visual COBOL) and a new server on the same machine. However, if you have a network server you should update that first as new clients (on 8.4) cannot talk to old license servers (on 8.2). Resolution: The new version of the license server software should be available for download nearer the time from the SupportLine web site at: http://supportline.microfocus.com/websync/SLM.aspx. Old KB# 34956#COBOL
Created On: 19 October 2011 Problem: When testing the record lock behavior in a Visual COBOL application that is accessing RM/COBOL indexed files, I find that the behavior is different than that of RM/COBOL. In RM/COBOL when I try to access a record that is currently locked by another program, the read will wait until the lock is released before returning to the program.In Visual COBOL accessing a locked record returns immediately with a locked record file status. How can I change this behavior? Resolution: You can change this behavior so that it works like the default RM/COBOL behavior by using the RM directive in addition to the CALLFH("ACUFH") directive to compile the program. Then if a locked record is attempted to be read in a second program it will automatically wait until the record is released by the program holding the lock.You can also use the RETRYLOCK directive instead of the RM directive
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.