Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: Gets an exception (java.lang.nullPointerException) only when animating a web application. The same web project runs fine on any other development machines except on one. Resolution: If the web application is using a Java applet, make sure the Java (Sun) setting in the Internet options of your web browser is not set to use the Java Sun JRE. The name of the option is "Use JRE 1.x.x_xx <applet>" Old KB# 5329
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# 5348
Problem: A COBOL program that is built with Oracle Procobol precompiler fails with an RTS114 Error on a SQL SELECT statement. Resolution: This error was caused by a mismatch of Oracle versions. Using the correct version of Oracle client software for the Oracle Server version resolved the problem. Old KB# 5378#RMCOBOL#ServerExpress#AcuCobol#COBOL#netexpress
Problem: What is the return code of the projmake utility when a project fails to build or open? Resolution: The prokmake utility sets return-code = 1 for any error found. You cannot specify a return-code for each type of error. Old KB# 5391
Problem: I want to create a new environment variable in the registry from within a program - how can I do this? Resolution: There is an example of how to do this on the SupportLine website - look for the cobreg program on the sample programs page. Old KB# 5382
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# 5387#netexpress#AcuCobol#COBOL#RMCOBOL#ServerExpress
Problem: How can I create a Shortcut on my desktop from my application? Resolution: The simplest way to do this is to use COM Automation objects provided by the Windows Script Host. Attached is an example (Click on the "Related" tab above, and see "wshshortcut.zip" under "Attachments" towards the bottom of the screen.) Attachments: wshshortcut.zip Old KB# 5357
Problem: You may see that data defined in a VARCHAR host -variable appears as "padded" with spaces when examining the record on the database. Is it possible to stop data from being padded when written out this way? Resolution: To avoid this from happening you can declare your host variables with the new Open ESQL syntax that is now supported in Net Express - CHAR-VARYING, which is a synonym for VARCHAR. The Net Express documentation describe this new syntax as follows: CHAR-VARYING Example: 01 hv-name SQL TYPE IS CHAR-VARYING(n) generates 01 hv-name pic x(n). CHAR-VARYING data is passed to OpenESQL as SQL_VARCHAR. When data is sent to the data source, trailing spaces are trimmed, except for the first space if the value is all spaces, and values fetched from the data source are padded with spaces. Having the ANSI padding checked on the driver should trim off any NULLS. Old KB# 5342
Problem: Problem with websphere deploying application gets error Resolution: Added MFCobol.jar in the PATH. Now Websphere will report successful application deployment. Old KB# 5363#ServerExpress#COBOL#AcuCobol#RMCOBOL#netexpress
Problem: Can web services built with Net Express be deployed on any other third party servers or does it have to be deployed on Enterprise Server? Resolution: Any web services written in Net Express must be deployed on Enterprise Server no matter what the platform is. Old KB# 5379
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: Release 4.0: Keystroke Ctrl C or Ctrl V does not work as expected with the CommonControl demo "TXTENTRY". What has to be programmed to get these keystrokes? Resolution: To get a Ctrl C or Ctrl V as expected, the method "getHighLightArea" is necessary for the Ctrl C instead of "setHighLightArea" coded in the demo. In the "EfDataKey Section" where the EfDataKey callback event is handled. Please code e.g.: if K-keyAsNum of Keystroke = 3 *> Ctrl C INVOKE aTextEntry "getHighLightArea" USING CursorPos &
Problem: Some COBOL code from another environment does a WRITE statement to a line sequential file but a special character is not written out as expected. The special character is less that 1F hex. Resolution: This is the default behaviour. In Line Sequential files if there is a character less than x"1F" then a null is inserted before the character. You can switch off this by using the COBOL Runtime switch (N) or a file handler config entry INSERTNULL. If you set one of these options then your file will be produced as expected. Old KB# 5374
Problem: You may have a character based screen application that you want to run inder Windows as a full screen display. However, when you run it the screen display may be much smaller than required and you may want to extend the screen to be a full screen making the screen a 25 lines by 80 column screen. Resolution: COBOL doesn't set a 25x80 screen as default for console based applications. Instead, the screen characteristics are set by Windows. When you originally developed your app, 25x80 was probably the standard screen size, although there were some exceptions where 43 and 50 line screens were used. (These subsequently led to the intorduction of the C4 and C5 runtime switches). The only way to get a full screen is by clicking the top left corner of the application screen and selecting 'Properties'. One of the options then available is 'Full Screen'. However this only expands the display to cover the full screen and does not necessarily set up the scr
Problem: Is the Revolve version that comes with Net Express EE 4.0 the same as Base Revolve 6.2? Resolution: Within Net Express, from the HELP menu select HELP TOPIC. On the INDEX tab enter REVOLVE GETTING STATED BOOK and enter. This shows: This book discusses how to start using Revolve 6.2. The first two chapters briefly explain Revolve. The other chapters are a set of tutorials that takes the reader through analyzing an application, in a number of short sessions (typically 10 - 30 minutes long).' This shows Net Express is using Revolve 6.2. Old KB# 5335
Problem: ES/MTO started Details ESMAC JES CATALOG Resolution: ES Administration page Edit the bad region JES tab Delete the system catalog entry Rekey the entry to the correct location. This occurred as the entry had placed a non-printable hex character for this environment setting. Old KB# 5337
Problem: A sample program: SELECT customer ASSIGN TO "\\\\server1\\develop$\\test\\customer.dat"; ORGANIZATION IS INDEXED; ACCESS IS DYNAMIC; RECORD KEY IS cst-key; FILE STATUS IS ws-cst-status. . When the statement "OPEN I-O customer" is executed the file on one PC works OK. However, on another PC, a file locked error (status 9A) occurs. Resolution: Change the SELECT st
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# 5350
Problem: Has one form, wants to be able to click on a button and have a different form popup Resolution: 1) Create a new Cobol, windows form, name the project FormPopup 2) Add another form to the project ( Right click on the project in solution explorer, select Add New Item, Select a Windows Form, name it Form2, click OK) 3) Add a button control to the first Form (Form1). 4) Double Click on the button to create the button click event handler 5) In the repository add this line of code: Class form-form2 as "FormPopup.Form2" 6) Go back to the button click event handler that was created (method button1_Click) 7) Add a working storage section with the following code: 01 newForm object reference form-form2. 8) In the procedure division add the following code: set newForm to form-form2::"New"() invoke newForm::"Show"(). 9) Build and Run (Instead of using the form's Show method you could use the ShowDialog method, but then t
Problem: "FATAL ERROR -- Cannot access message file" observed when compiling Resolution: The message files are MFLANG*.lbr in <product directory>\\base\\bin. The normal reasons for the message are:- (1) PATH doesn't contain this folder (2) COBDIR doesn't contain this folder (3) The files aren't in the directory for some reason If none of these apply, then reinstalling often cures the problem. Don't forget to 'RetainKey' when uninstalling. Old KB# 5331
Problem: How to specify which program you want to run first in a .NET project Resolution: 1) Right click on the project in solution explorer 2) Go to Properties 3) Under Common Properties | General, fill in the Entry Name text box with the program you want to run first (do not include the extension) Old KB# 5341
Problem: RTS144 Boundary Violation occurs rewriting a Line Sequentia file opened I-O.... Resolution: Dont' forget that "You must make sure that the record you write is the same size as the one it replaces". If not, a RTS ( Runtime ) error 144 will occur..... This hint is clearly documented in the documentation, compiler directive REWRITE-LS . Paste of RTS error 144: COBRT144 Boundary violation (Recoverable) You have tried to write a record to a variable length record file, the length of which is not within the defined range for that file. Resolution: Recode your program. Old KB# 5344
Problem: The comp-3 arithmetic should only retain the result equal to the defined pick value not what it can hold. WORKING-STORAGE SECTION. ***************************************************************** 01 PIC-S9X4-COMP-3 pic S9(4) COMP-3 value 5001. 01 PIC-S9X9-COMP-3 pic S9(9) COMP-3 value 5001. 01 WRK-S9X4-COMP-3 pic S9(4) COMP-3 value 0. 01 WRK-S9X9-COMP-3 pic S9(9) CO
Problem: Using Net Express 3.0, Cbllinik would produce this Link error. Version 3.0.14 Copyright (C) 1984-2000 MERANT International Ltd. Micro Focus Net Express V3 Version 3.0.14 Copyright (C) 1984-2000 MERANT International Ltd. URN AXCGG/AA0/00000 * Accepted - confirm * Accepted - list() * Accepted - xref * Accepted - OMF(OBJ) * Accepted - GNT(.\\) * Accepted - OBJ(.\\) * Compiling capdown.cbl * Generating cross reference * Checking complete with no errors - starting code generation * Generating capdown * Data: 1424 Code: 1424 Literals: 216 Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022 Copyright (C) Microsoft Corp 1992-1997. All rights reserved. capdown.obj cbllds.obj faacicnt.lib : fatal error LNK1106: invalid file or disk full: cannot
Problem: While executing a program this error occurs: Load error : file 'EXTSM' error code: 173, pc=0, call=1, seg=0 173 Called program file not found in drive/directory What must we do to correct this problem? Resolution: There is a simple solution. Use the following command to create a Extsm.dll. cbllink -d -RS -k -v extsm.obj>cbllink.txt<Enter> Place the extsm.dll in the folder where your application is executing. This will make the sort available to all .EXE and .DLL programs. Cbllink.txt will capture all the details published by the "verbose" switch (-v) and the "keep" switch (-k) will retain the module definition file (.def) and the import library (.lib) for the dll. Old KB# 5366
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.