Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: Working with Net Express 5.0 WrapPack 2, having linked an OpenESQL application to executable in 64-bit mode on x86-64 platforms, executing the application returns an RTS114 error. This does not occur in 32-bit mode on x86-64, under 32-bit environments, nor on 64-bit Itanium platforms. This does not occur when working with the GA release of Net Express 5.0 either. Resolution: This issue is resolved in the latest WebSync for Net Express. To workaround this issue with WrapPack 2 installed, there is a must explicitly to link the application with ODBCRW64.LIB. To specify this module if linking from a Net Express command prompt, using cbllink. If building your application from within the Net Express IDE, specifying this module by : From the Project menu item, select Build Settings. Click on the name of your executable, for example myapp.exe. Click the Link tab. From the Category pulldown, select Advanced. Enter odbcrw64.lib into the t
Problem: To set the Environment variable SORTSPACE. SORTSPACE environment variable can be used with Net Express and with Server Express. Resolution: ==================== SORTSPACE environment variable in Net Express Documentation: The amount of memory to be allocated to internal workspace for SORT operations. This can be specified in different formats: for example, you could specify 64M, 2G, and 1000000 to give sort memory areas of 64 Megabytes, 2 Gigabytes and 1000000 bytes respectively. ==================== SORTSPACE environment variable in Server Express Documentation: SORTSPACE Specifies the amount of memory to be allocated to internal workspace for SORT operations. Syntax: SORTSPACE=n[K|k|M|m|G|g] export SORTSPACE Parameters: n[K|k|M|m|G|g] The amount of memory to be allocated to internal workspace for SORT operations. K or k indicates kilobytes, M or m indicates megabytes and G or g indicates gigabytes. N
Problem: OFN-ALLOWMULTISELECT flag can be set from the WinAPI GetOpenFileName function to specify that the File Name list box allows multiple selections in the open file dialog box. This however causes dialog box to use the old-style user interface. Resolution: It is documented from the Microsoft MSDN site (http://msdn.microsoft.com) that you need to set also the OFN-EXPLORER flag to have the dialog box to use the Explorer-style user interface. If this flag is not set, then it will use the old-style user interface. Old KB# 1246
Problem: When attempting to perform a rebuild of an indexed file from the command line (eg rebuild filename.dat) , the following error may be displayed: Error on Input File - Striped File Descrepancy even though file striping is not being used. Resolution: One possible way of rebuilding the file is to generate a new version of the .idx file. In one previous instance where this error occurred, it seemed that the original .idx file was completely corrupted and was not able to provide any meaningful information to the filehandler. Subsequently, it incorrectly determined that the file was a striped file. This resulted in the creation of a new version of the .idx and match that with the original version of the .dat file and then rerun rebuild in order to regenerate the index based on the data in the original .dat file. The steps to achieve this are as follows: 1) Deleted the existing .idx file
Problem: When installing wrappack NXP3250020077.msp for NetExpress 5.0, the .NET part of the product is automatically uninstalled. Having successfully installed the wrappack and uninstalled .NET in NetExpress 5.0, the following error was encountered when attempting to reinstall .NET in NetExpress 5.0 via the control panel. This error is returned in an attempt to install Assembly. (Error 1935.An error occurred during the installation of assembly 'MicroFocus.IDE.Util,Version="2.1.0.0",ProcessorArchitecture="MSIL",PublicKeyToken="0412C5E0B2AAA8F0",Culture="neutral",FileVersion="2.1.2.0"'. Please refer to Help and Support for more information. HRESULT: 0x8002802F. assembly interface: , function: CreateAssemblyNameObject, component: {6F0DFD4C-19BB-4347-99E5-6502E8C9A6CC}) Resolution: It was necessary to uninstall Visual Studio 2005 and all the .NET components via the control panel
Problem: Microsoft have released Windows Vista. Is Net Express supported on Windows Vista ? Resolution: Micro Focus will support the latest version (V5) of Net Express and Studio on Windows Vista. Older versions of Net Express such as version 4 and below have not been tested for compatability on Windows Vista. If you are a Micro Focus customer, you can request updates to your current product version to the latest product version on CD by sending an email to Update@microfocus.com. You will need to provide your Name, Company, Phone, and Fax numbers, email address, shipping address, number of users, your current product serial number(s), and to which product or release you wish to Update. Old KB# 1205
Problem: This error has been encountered when trying to compile a .LST program as a Class Library. The message is output when unexpected errors occur during the generation of .NET IL code. Unfortunately, any occurrence of such a message indicates a compiler bug, even though sometimes the immediate reason for the error is a problem in the user program. Even if the user program is in error, the error should be detected at an earlier stage of the compilation process and should then produce a cleaner and more understandable message. Resolution: A subscripted item used as a subscript can generate bad code and may cause the compiler to loop. The fix should be available in the next FixPack for Net Express .NET 5.0 However, attached to this knowledge base article is a hotfix for Net Express .NET 4.0 Attachments: RPI1059463.zip Old KB# 1206
Problem: Release 4.0: Receiving this error when trying to run an executable from within the Net Express 4.0 development environment after applying the all08n40 Websync WrapPack. Receiving a similar error when running the executable on a separate machine with Application Server for Net Express 4.0 installed then please refer to KB # 22608. This article refers specifically to when this error is encountered when running within the Net Express development environment. Resolution: One possible solution is to rebuild the executable using dynamic binding. _____ Using the Net Express IDE, open the Project used to build the executable and select 'Project' from the menu bar, select 'Build Settings' from the dropdown and then select the 'Link' tab. At that point try setting the 'Run Time Library' settings to be 'Shared, Dynamic'. Setting this either Single or Multi Threaded as required. Rebuild and then re-ru
Problem: How does ADIS (DISPLAY) decide what colour to use for BLINK. Doing a DISPLAY "HELLO" WITH BLINK how does ADIS decide what colours to use? Resolution: BLINKing (Flashing) text isn't supported by Microsoft's console APIs, so instead getting high intensity background colour eg black becomes grey. Old KB# 1250
Problem: Environment variables can be set at several locations and there was an invisible setting of the environment variable EXTFH which got priority over other settings. The resolution is valid for all environment variables. A status 9/194: "File size too large" was reported even if the settings in EXTFH.cfg configuration file were correct. The EXTFH.cfg settings were: [XFH-DEFAULT] FILEMAXSIZE=8 which allow to access an IDXFORMAT"8" file larger than 4 GByte. But nevertheless the OPEN gives a file status code 9/194. The setting of the environment variable EXTFH in the environment does not change the behaviour. What can cause this? Resolution: The cause for the status is that the EXTFH.cfg could not be read or a false one was found. See also KB: 23553 for "Using Filemon to ensure that the correct version of a file is in use" The resolution here was to delete the <project-name>_RTECFG.obj, because it was no longer used. This obj is linked
Problem: Attempting to get the full path/file name of a program that is CALLING the current program by calling the CBL_GET_PROGRAM_INFO routine using call-function 2. However, it might only be returning the program name and not the full path or the file extension. Using this routine to get the COBOL program name can be used for initialising the Consolidated Trace Facility (CBL_CTF_TRACER_GET). Resolution: Below is an example of how to return the full path/filename of the calling program. The first thing to do is to establish the handle for the current program. working-storage section. * 01 call-function pic x(4) comp-5. 01 cblt-prog-info. 05 cblte-gpi-size pic x(4) comp-5. 05 cblte-gpi-flags pic x(4) comp-5. 05 cblte-gpi-handle usage pointer. 05 cblte-gpi-prog-id usage pointer. 05 cblte-gpi-attrs pic x(4) comp-5. 01 name-buf pic x(100). 01 na
Problem: Runtime DLL 'CBLRTSS' not found when running a CGI web application. Encountering any message mentioning runtime DLL 'CBLRTSS' not being found when running a web application on a server where Net Express Application Server is installed, it means that the COBOL runtime files cannot be located by the web application. Resolution: Built/linked the application to use the shared runtime, but have not specificed the "dynamic" option for the shared runtime, then it is a must either to set the PATH and COBDIR environment variables to the location of the runtime files (Application Server) or to place the application where those files reside. Linked the application to use the dynamically bound shared runtime, then the application will first search the Windows registry to find the location of the Application Server runtime files. It is possible that the web application, when deployed to the web server, does not have access
Problem: Release 5.0: After installing a Net Express 5.0 Application Server, trying to start the application and getting back: > Runtime DLL 'CBLRTSS', version 5.0, entry point _mFgWinMain2 not recorded in registry, not found or incompatible with requirements of dynamically bound COBOL program. Dynamic binding of RTS requires: Runtime DLL 'CBLRTSS', Version 3.1 < Resolution: Step by step: (1) To check that COBDIR also PATH are set correctly. (2) To check vs. older versions of CBLRTSS if they are installed from Net Express versions earlier and to prevent that they are addressed via COBDIR also PATH. (3) To ensure that no portions of the Windows registry are imported from other machines including this 'Micro Focus' key under HKEY_LOCAL_MACHINE\\SOFTWARE. (4) To uncheck 'Dynamic' checkbox onto developer machine linking the application to an .exe file, Project Build Settings -> Link tab -> Category:General -> unc
Problem: EXEC SQL CALL UDBSP (:WS-INPUT1 IN, :WS-OUTPUT1 OUTPUT) :WS-ORDER-BY-STR-OLD OUTPUT) END-EXEC. Error after compiling: COBDB0100S SQL0104N An unexpected token was found following CALL UDBSP. Resolution: The DB2 ECM support does not use the type parameters in the stored procedure call list. Removing the IN and OUTPUT from the CALL resolves the compilation error. Also you may need to compile with directive DB2(CALL_RESOLUTION=DEFERRED) if you place the name of the stored procedure in a host variab
Hi In Netexpress 3.1 I used to be able to search a source file for text and then compress the results using F9 and then place the cursor on a line and press F9 again to expand the text. In 5.1 the second F9 does not expand the text. The only recourse is to use the mouse and right click and select 'expand'. This costs me time and I don't like switching between mouse and keyboard. Does anybody know how to achieve using keyboard in 5.1? Regards Ian
Hello, I'm looking for a solution to get the specific user who has a file locked in windows. In a UNIX server environment we're using the C$LOCKPID to get the process Id, and finding the username that way, how do I go about this in a thin client windows environment? Thanks
We have an issue with the Excel.exe not clearing from the list of processes, but only on 64bit systems (Windows 7 and Server 2008). 32bit is fine CREATE @Application of @Excel handle in EX-APP MODIFY EX-APP @Workbooks::Open ( ws-ltout-file ,0,0) giving EX-WORKBOOK. MODIFY EX-WORKBOOK @PrintOut() call "c$sleep" using "2" # next line added, but no change in behavior MODIFY EX-APP @DisplayAlerts = 0 MODIFY EX-WORKBOOK @Close() DESTROY EX-WORKBOOK MODIFY EX-APP @Quit() DESTROY EX-APP I've seen the following online, but I'm not sure how to code this in Acu. System.Runtime.InteropServices.Marshal.ReleaseComObject(obj) obj = Nothing Thank you for any assistance! #ExcelOLE#Excel
Hi, I have created a few bookmarks in multiple word docs. I am trying to locate and insert text after the bookmarks, I have that part working. My problem is that I want to look thru the document first to see if the bookmark actually exists. Any help would be greatly appreciated.
hello I'm using visual cobol for eclipse. Following the help book, I have set environment variable(both in win7 and eclipse) TESTCOVER=C:\\default.tcf default.tcf [TESTCOVER] RESULT C:\\tcresult.tcz ACCUMULATE ECHOLOG NO and have writen [$SET TESTCOVER] in my program's first line from 7th character and then compile,run. and no where I can found .tcz file please point me the mistake or what i missed thanks newest: When I use run command to launch my program,I was succeed to got a .tcz file. but why it does not work in eclipse?
I have acuv8.1.1, I ever use it to successfully compile code which contain statement such as "CXML-ADD-CHILD"/"CXML-MODIFY-CDATA". But today I want to compile it again, it keeps showing me "No SELECT for file: CXML-ADD-CHILD" compiling error. It looks like acuv8.1.1 not supporting "CXML-ADD-CHILD". Does anyone ever have similar experience? FYI: both acu6.1.0 and acu8.1.1 are installed on my developing environment. #cxml
Please find below the question and answer transcript from the final webinar in the Visual COBOL webinar series. To catch up with all the webinars in the series, including this final one, please visit the Visual COBOL webinar download page. Q: How does the old Accept/Display Line Position work in this environment?A: existing applications continue to behave just as they would in Net Express or Server Express.If you want to modernize an accept/display application and provide an enhanced UI, you could use .NET or JVM technology. The main challenge is to separate your existing UI from the business logic so that it can be accessed by the new UI framework.The Visual COBOL development product includes some samples that show what the end result might look like in thick and thin client scenarios. Q: Can Visual COBOL work on Android devices? How about IOS? What is the mobile/tablet solution? A: Visual COBOL applications are not supported on Android or IOS today. Please let us
My solution has a C# project and a COBOL project. Several text boxes are entered on a C# form which then calls a COBOL program to do the validation. The C# project has a reference to the COBOL project so that it can create an instance of the COBOL program before calling it. There are several ways I can pass the text box values to the COBOL program. 1. Pass them in linkage, including use of smart linkage (can use smart linkage if the COBOL program is not a class). 2. Declaring properties in the COBOL program and setting them from the C# program before calling it. 3. Passing the Windows form object to the COBOL program and using its Controls collection to get the Text properties of each text box I need to validate. The code for the last method looks like this: method-id ValidateMethod. local-storage section. 01 ctrls type System.Windows.Forms.Control
Hello everyone, I wonder if there is a way to know which file a Specific Punta XFD. thank you very much :)
Using the <RET> key to traverse through a form with a number of fields what question can I ask to determine WHICH field I've just pressed the <RET> key on? Have tried using the TabIndex property like: if self::TabIndex = 0 invoke self::processEmployeeNumber() exit methodend-if for asking if I'm on the first field on the form but it doesn't seem to work as it appears that this code is processed even WHEN I'm on the 10th field (tabindex property = 9). So I know I've pressed the <RET> key so how do I now know on WHICH field I've pressed it on?
I am trying to check EXCEL language setting by following statement: Application.LanguageSettings.LanguageID(msoLanguageIDUI) But I am not sure how to accomplish this in ACUCOBOL grammar. Anyone can help? Thanks in advance. #Excel
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.