Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: In .Net Winforms how can a user hide controls when a checkbox is checked ? Resolution: In WinForms there is a CheckedChanged event for a CheckBox. You can use this and the "Checked" property of the checkbox to hide controls as required. The simplest way to hide a control is by setting the "Visible" property of a control to false. Some example code that does this is:- method-id. "cboxHide_CheckedChanged" final private. linkage section. 01 sender System-Object. 01 e System-EventArgs. procedure division using by value sender e. if self::"cboxHide"::"Checked" &
Problem: running bat file (or commandline)- to run sort - results in sort124e - field position 201 invalid Resolution: If the record size is greater than 256, a RECORD instruction must be used. ex: Sample with the record parameter setting record of 300 bytes mfsort sort fields(1,1,ch,a) use x:\\directory\\xxx.dat record f,300 give file2.dat Old KB# 5741#netexpress#AcuCobol#ServerExpress#RMCOBOL#COBOL
Problem: A file created or viewed using a DOS editor tool or UNIX editor tool will most likely be saved in the OEM character set. Resolution: To view the correct character set created using a DOS editor then: Go to the 'Options' menu | 'Edit' | 'DOS compatibility' tab. Then select or tick the 'OEM/DOS' option. Old KB# 5736
Problem: the code pasted below compiles without any Problem with Net Express 3.1, generates errors 1309 == File related section or paragraph not allowed. ( Severe error ) with Net Express 4.0.... ====> compile errors: Micro Focus Net Express V4 Version 4.0.38 Copyright (C) 1984-2005 Micro Focus International Ltd. URN AXCGG/AA0/00000 43 INPUT-OUTPUT SECTION. *> !!!!! *1309-S************ ** ** File related section or paragraph not allowed. 46 FILE SECTION. *> !!
Problem: How do you setup a Listview so that it is also resized when the hosting winform is resized. Resolution: The Anchor property of the control does this. By default the control is anchored to the top left. If you anchor top / left / bottom /right it should resize as required. Old KB# 5746
Problem: Clicked on remove and it seemed to uninstall but it is not gone from the add and remove programs list. If NX is clicked on again, it says it is not there although still visisble. Resolution: Clear Unwanted Entries from Add/Remove Programs Intended For Windows XP Windows 2000 Windows Me Windows 98 Windows 95 In Add/Remove Programs in Control Panel, a list of installed applications is displayed for the purpose of easy removal. Unfortunately, but there is no obvious method for removing these entries (either to prevent accidental removal, or if the application was removed some other way) without uninstalling the programs. To remove an entry, do the following: Run the Registry Editor (REGEDIT.EXE). Open HKEY_LOCAL_MACHINE\\ SOFTWARE\\ Microsoft\\ Windows\\ CurrentVersion\\ Uninstall, and remove any unwanted keys under "Uninstall." Old KB# 5756
Problem: Program A call Program B, receing error on call to Program B. Works in debug mode, error produced in Release Mode. Resolution: This was corrected by a HOTFIX for RPI 1057346 - this occurs due to a change to the compiler to accommodate mainframe dialects. the outdd and\\or indd are the cause and the solutions is as below: Run-time system error COBRT226 ("EXTERNAL data definition inconsistent") was returned sometimes if programs in a run unit had been compiled with a mainframe dialect. The error occurs because the attributes used for the SYSOUT file when using a mainframe dialect changed in WrapPack V4.0.005. If you receive this error you should recompile all the programs  
Problem: t:\\NE\\obj\\program.obj cbllds00000714.obj Creating library t:\\NE\\dll\\program.lib and object t:\\NE\\dll\\program.exp CVTRES : fatal error CVT1107: t:\\NE\\dll\\program.exp is corrupt t:\\NE\\dll\\progam.exp : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt link finished with errors T:\\PR\\SRCE> Resolution: cbllink uses Microsoft "link" under the covers the 1123 occurs sporatically for unknown reason when trying to place the linked module onto a mapped lan drive. MicroSofts position on this matter is that they do not support linking over the network Old KB# 5770
Problem: In Form Designer, there is a blank space above the form, which is a gridded box. How to remove this blank space? Resolution: Make sure FORM is the very first item in BODY. To do this, you will need to look at the Form Designer's tree view and delete any items that are above FORM in the BODY structure. There could be a Heading or Paragraph that is above FORM. Just right-click on it and click on Delete. Old KB# 5457
Problem: Is it possible to use Telnet in a COBOL system on the .Net platform. Resolution: Neither COBOL or the .Net Framework (V1 or V2.0) has support for the Telnet protocol. There is however many 3rd party .Net libraries that provide support for Telnet on the .Net platform. Old KB# 5407
Problem: Is it possible to specify a Y2K pivot date with MFSORT? Resolution: Unfortunately there is no way to specify the Y2K pivot year with MFSORT i.e. where the 20th and 21st centuries start. Old KB# 5431
Problem: Only 16 colours are displayed when using the colour option. The computer is set to unlimited number of colours. Resolution: The Form Designer Script Assistant helps you set up event handlers that: Invoke methods Get and set properties Get and set styles The Script Assistant has five tabs: The Events tab The Methods tab The Properties tab The Styles tab The Scripts tab The Events, Methods, Properties and Styles tabs provide you with a point and click method of creating event handlers, while the Scripts tab enables you to enter and edit your code directly. The contents of the tabs and the behavior of the Script Assistant vary depending on whether you are working with HTML controls or ActiveX controls. Styles contain information about the appearance of an element. Just as with properties, you can set a style to change an element s appearance, or get a style to discover its appearance. For example, most ActiveX
Problem: Doing a static link of a ODBC program with Base release of Net Express 4.0 and base release of Application Server for Net Express 4.0. Resolution: Static link is not recommended for ODBC The issue was resolved by linking as Shared Another method would have been to upgrade development and Application Server for Net Express to the currect update levels available on our website. http://supportline.microfocus.com Old KB# 5717
Problem: Problem: The install of Net Express 4.0 on a Window XP professional failed because the Setup reported erroneously an installed Application Server for NE 4.0. Resolution: Workaround: 1. Using regedit, rename the key HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall to Uninstall-temp 2. Start the NX setup. 3. At the setup welcome screen, rename the key back to Uninstall. Old KB# 5400
Problem: With the CBLLINK command, an EXE (or DLL) can be linked with the dynamically bound shared runtime library using the -rs option. Resolution: From the Net Express IDE, you can link an EXE (or DLL) with the dynamically bound shared runtime library as follows: 1. Right-click on the EXE from the project tree, the left pane of the IDE 2. Select Build Settings 3. Click on the Link tab 4. Make sure Shared is selected 5. Click on the check box for Dynamic 6. Click on the Close button 7. Rebuid the EXE Old KB# 5447#ServerExpress#COBOL#netexpress#AcuCobol#RMCOBOL
Problem: What performance can be expected from Fileshare? Resolution: The overhead of running Fileshare is considerable. This is only counteracted as the number of concurrent users increases. For example: Time taken to write 100 records. Users Non-FS FS 1 0.1 seconds 1.0 second 5 0.5 seconds 1.2 seconds 10 1.5 seconds  
Problem: When creating an XML file from a COBOL program, how would you prevent groups/items being output to the XML file? This may be necessary when the items or groups hold no data at all. Resolution: Define the groups/items in the COBOL program with the COUNT IN clause, e.g. 03 Main IDENTIFIED BY "Main". 05 A PIC X(6) IDENTIFIED BY "A_TAG" COUNT IN A-CNT. 05 B PIC X(6) IDENTIFIED BY "B_TAG" COUNT IN B-CNT. 07 B-ATTR PIC X(6) IDENTIFIED BY "B1_A" IS ATTRIBUTE. 07 B-SUB PIC X(6) IDENTIFIED BY "B_SUB_TAG" COUNT IN B-SUB-CNT. ... Moving 0 (zero) to the count variables wil stop the associated elements or groups being output to the XML file. Old KB# 54
Problem: Ported project from another machine to a different test machine. Trying to start animation from project. Resolution: One scenario for this error is as follows: The build settings for the EXE were sent to another directory other than the debug folder - **this was found by highlighting the EXE on the left hand side and doing a right hand click and choosing build settings -- the "file on disk" option had been changed to send the EXE to a different location other than the default "debug" or "release" folder. Trying to start animation from the top which was pointing to the debug folder if you hits browse and goes to where the exe is located it starts the easier method is to just highlight the exe on the left hand side and do a right hand click and choose animate Old KB# 5425
Problem: Is Visual Studio 2005 supported in Net Express 4.0? Resolution: Currently the Net Express 4.0 product works with Visual Studio 2003. The Net Express 5.0 version works with VS 2005. Old KB# 5399
Problem: Release 4.0: We would like to include the actual wrap- and fix pack all05n40 into our silent installation, but we failed to add it to the wrapper.ini file in cinstall. Resolution: You can also start the installation of service packs / fix packs / wrap packs / add pack silently by adding the parameter -q, so \\..>all05n40.exe -q will install the pack silently. From a batch file, it might be better to use start /wait all05n40.exe -q to stop the batch until the pack installation is finished. Old KB# 5719
Problem: 'Verify Server Settings' returned this error. Resolution: Norton Internet Security was enabled on the PC and did not for some reason report that it was blocking access to this IP. When this was resolved, publishing worked OK. Old KB# 5435
Problem: A standard user is trying to invoke Net Express. Resolution: The user requires full access to the installation path, the demos, and the Micro Focus registry structure. Old KB# 5418#RMCOBOL#COBOL#netexpress#ServerExpress#AcuCobol
Problem: When attempting to install Net Express .NET the Visual Studio.Net prerequisite CD asks you to insert cd-1 and then hangs. Resolution: Ensure that you have at least 128MB of RAM on the machine you are installing to. Old KB# 5441
Problem: Data entry field should display as blank until a new value is keyed into field. Resolution: This is an ADIS configuration option that can be set up with ADISCF and saved in a modified ADISCTRL file. Since you are migrating from an older version of Micro Focs COBOL to the current version, search the system where the older version is installed for an ADISCTRL file and copy it to the new system. The ADISCTRL file should be in the folder where the application programs are executing.
Problem: In the Cobol program below the field 'db_email' is filled with the value '-1' and NOT 'Null.' ... working-storage section. 77 ws-value pic S9(04) comp-5. 77 ws-name pic x(10) value spaces. procedure division. .... move 'robert' to ws-name move 1 to ws-value compute ws-value = ws-value * -1 exec sql insert into table (db_name,db_email) &nb
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.