Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: The demonstration attached uses the Microsoft APIs to ' I-O' on named pipes Microsoft URL / named pipes: http://msdn2.microsoft.com/en-us/library/Aa365590.aspx Microsoft URL / named pipes->PipeReference->Pipe Functions : http://msdn2.microsoft.com/en-us/library/aa365781.aspx Resolution: A .ZIP is attached. For the simplest, 1) Unzip the attachment on a working directory 2) Open a Net Express command prompt 3) Compile the sources files, just launch DOcl.bat 4) Open another Net Express command prompt session, just type start in the 1st DOS session 5) Launch the PIPE server in DOS session 1 ( run STARTpipeserver ) this 'PIPE' server will create a named pipe and wait for incoming requests from 'PIPE clients' 6) Launch a "PIPE client in DOS session 2. ( run MSG2pipeserver ) Th
Problem: External file mapper (mfextmap) seems not to work in a managed (.NET) application). Resolution: 1. MFEXTMAP is not supported in .NET 2. Use app.config (i.e. set environment variables) instead to avoid having multiple configuration files as in using external file mapping 3. It may be overwhelming to think of setting each one of the dd names as an environment variable in the project settings, but this can be done outside of Visual Studio. You may want to build your own program or script to import your MFEXTMAP.DAT file into the app.config file Here is a content of an app.config file: ----- <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <!--The following code declares a section group for application configuration --> <sectionGroup name="MicroFocus.COBOL.Application"> &nbs
Problem: Receiving sqlcode -19514 on DELETE statements, when re-submitted it then works. Using Net Express 4.0 and Oracle ODBC Resolution: This was an issue that was corrected in all08n40 all websync wrappack o The OpenESQL run time was updated to resolve an issue with searched DELETE statements that were incorrectly returning a "19514 Cursor is not prepared" error. Old KB# 1410
Problem: This demo requires SQL Server 2000 or 2005. It shows how COBOL can be used as a powerful Web autoring tool. The attached .zip file contains a readme document and the actual demo code. Follow the instructions in the readme for installation and setup information. Happy Shopping! Resolution: The attached .zip file contains a readme document and the actual demo code. Follow the instructions in the readme for installation and setup information. Happy Shopping! Attachments: MFShopCartASPDemo.zip Old KB# 1489
Problem: A Net Express project was set to to perform remote animation between Net Express and a COBOL program running on AIX with Server Express 4 SP3. When selecting to Start/Animating in the Net Express IDE the follow error message appears:- Execution error: file 'opt/microfocus/cobol/dynload/animsrvr.libr/dispatch.gnt' error code: 115, pc=0, call=1, seg=0 115 Unexepected signal (Signal 4) Resolution: This error was resolved by installing IBM APAR Number IY80008 to the AIX installation. Old KB# 1479
Problem: Does Net Express 4.0 IDE support Windows XP Pro 64 bit? Resolution: Net Express 4.0 is a 32-bit application, and 64-bit operating system are supposed to be able to run both 32-bit and 64-bit software. l Net Express 4.0 can be installed on a 64-bit operating system . Information about operating system support can be found in the Net Express readme (click on Start | All Programs | Micro Focus Net Express version | Readme, double-click on Installation Notes under Contents, and click on Hardware and Software) Installation instructions are as follows: This only applies to NX development not .NET To be able to install Net Express v4.0 on an x64 or Itanium environment you need to follow the provided set of instructions. 1) Copy the entire Net Express v4.0 CD to a temporary folder on your workstation. For example, NX40 2) Because of the 32-bit compatibility mode, the default installdir location contains "(x86)" which is not allo
Problem: Can the selected tree view item be displayed in light blue? Can the tree view items be colorized individually? Resolution: To do this you have to derive your own tree view class from the standard tree view and use this class in the class control paragraph of your tree view control program. You find a sample "owndrawtreeview" as attachment. ------------------------------------ The "owndrawtreeview" defines a method "wmGadgetNotify" which handles a redraw of the tree view items in the desired style. "owndrawtreeview" sample shows any level (up to 6) of the tree view items in a different color and shows the selected item in light blue and underscored style. The background of the selected item is white or yellow depending on the line, which is commented in. ------------------------------------ To use the "owmdrawtreeview" in your application, he class declaration in the control program has t
Problem: A copy of the Readme file is attached to this article. Resolution: Attachments: Readme for Net Express v5 WS03.zip Old KB# 1436
Problem: Is the Host Compatibility Option (HCO) available for Net Express? Is the Host Compatibility Option (HCO) available for Server Express? Is the Host Compatibility Option (HCO) available for UNIX platforms ? Compiling an application with the DB2 and CHARSET(EBCDIC) directives returns an 801-S error (Does not accept EBCDIC data). Resolution: Up to and including the 5.0 WrapPack 2 releases of Net Express and Server Express 5.0, it was not possible to compile DB2 applications with the CHARSET(EBCDIC) directive. As of the 5.0 WrapPack 3 release of both Net Express and Server Express, the Host Compatibility Option (HCO) is now available as part of the base product installation. HCO is a set of tools that enable you to offload DB2 for z/OS development and testing to Windows or UNIX platforms using IBM's DB2 Universal Database (UDB) V5 or later. HCO does this by allowing EBCDIC-enabled programs to work with DB2 UDB. In addition, HCO can be u
Problem: Release 4.0/5.0: Das nachfolgende Programm laesst sich fehlerfrei uebersetzen, obwohl Anweisungen, wie z.B. DISPLAY "Hallo Welt", nicht im Bereich B (ab Spalte 12) beginnen! Es sollen aber Standards bei der Codierung eingehalten werden und der Compiler sollte deshalb beim Umwandeln feststellen, ob gegen Regeln verstossen wird. Es wird die beiliegende COBOL.DIR eingesetzt : CONFIRM SEQUENTIAL"LINE" RECMODE"V" CHARSET"ASCII" ANS85 REMOVE"name" NOSPZERO BOUND DIALECT"BS2000" 1234567A9..B IDENTIFICATION DIVISION. PROGRAM-ID. X230B01P. / &
Problem: CHANGING ONE LINE OF CODE AND TRYING TO COMPILE SINGLE PROGRAM. THE REST OF THE MESSAGE STATES - THE FILES MAY BE LOCKED OR READ ONLY. CUSTOMER USED SAVE AS TO SAVE TO ANOTHER FILENAME. SOURCE CODE IS ON A NETWORK DRIVE. CUSTOMER HAS CHECKED ALL RIGHTS AND CUSTOMER HAS FULL ACCESS TO THE FILES. CUSTOMER IS ABLE TO USE EXPLORER TO READ THE FOLDER AND THE SOURCE. Resolution: Close down Net Express IDE. Check the DEBUG and RELEASE folders and any other place where programs are compiled. Look for any files where the extension of the filename starts with .$$ If any files with this extension are found, then delete them. Now, start Net Express IDE and edit your file and the EDIT 147 should not appear. Old KB# 1453
Problem: How can I enter a username greater than 8 characters with IBM UDB? Resolution: IBM DB2 UDB limits you to 8 character logon id's - see: http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.uprun.doc/doc/r0006867.htm USER authorization-name/host-variable Identifies the user ID trying to connect to the application server. If a host-variable is specified, it must be a character string variable with a length attribute that is not greater than 8, and it must not include an indicator variable. The user ID that is contained within the host-variable must be left justified and must not be delimited by quotation marks. USING password/host-variable Identifies the password of the user ID trying to connect to the application server. The password or host-variable can be up to 14 bytes long. If a host variable is specified, it must be a character string variable with a length attribute not greater than 14, and it must not
Problem: If a very large MFEXTMAP is used, you may experience strange behaviour during Compile or Animate. Environment variables are not resolved, or accept environment-value will not get a value. Any start of Animate may end in a Load failure 198. Alternatively an entry point failure in cblrtss can appear. Resolution: A reason for such errors are too many entries in MFEXTMAP.DAT. The maximum number is 1286 different entries. Old KB# 1478
Problem: How to uninstall XDB services and remove the XDB Server from the control panel. The resolution below is example of removing XDB Server for Net Express 4.0 Resolution: First, goto control panel -> Administrative Tools- Services Double-click on Services In this window click on Name at the top to sort Look for Micro Focus XDB Server product & version double click on the Micro Focus XDB Server In this properties window for XDB Server, look for Path to executable for example, Path to executable D:\\Program Files\\Micro Focus\\Net Express 4.0\\mfsql\\bin\\xsrvnx.exe" Next, goto command prompt and goto this location where xsrvnx.exe is located To uninstall type the following: xsrvnx.exe -u This will uninstall the XDB server. ------------------------------------------------------------------------------- There will also be a icon for Micro Focus XDB server product and version in the control panel. In ord
Problem: Demo- People don't know how to use prototyping in COBOL which can significantly reduce the number of run-time errors thet occur. Resolution: =========================================================== Micro Focus N E T E X P R E S S =========================================================== PROJECT TESTPROTO ======
Problem: Is it possible to read the value of the MY DOCUMENTS folder in Windows? Resolution: The simplest method is to read the HOMEPATH environment variable from within your COBOL program as follows: working-storage section. 01 ws-env-value pic x(255). procedure division. display "HOMEPATH" upon environment-name. accept ws-env-value from environment-value on exception display "HOMEPATH environment variable not found.". &
Problem: Running with excel odbc databases.When opening an excel spreadsheet, user receives an error stating the program was unable to find the ODBC driver dll. The error received is the following: application was unable to load msaccess. User is also receiving a -19703 error. Resolution: This problem was fixed by running a "Detect and Repair" on the Microsoft Office software. Once that was done, the dlls were updated and working properly.Old KB# 1475
Problem: Error 114 (RST114) is occurring when a Cobol program calls a Panels. Resolution: Make sure the application is linked with PANELS.OBJ. Old KB# 1459
Problem: To differentiate faultfinder ouputs from one another, previously, in the faultfinder configuration details ($COBCONFIG file) you could specify :- set faultfind_outfile="fault%p.log" where 'fault' would be a name of your choice, %p would be replaced with the process id of the faulting process, and '.log' would be another name of your choice When using faultfinder within Enterprise Server in a busy system, it can happen that the process-id is not sufficient to keep the Faultfinder dumps unique, especially in IMS and CICS where many transactions can be executed in a single SEP (therefore all of them under the same PID). Resolution: From Nexpress 5.0 Websync WS4 and Server Express 5.0 Websync WS4, the options %d and %t have been added. %d will be replaced with the date of the fault in the format <yyyymmdd> And %t will be replaced with the time of the fault in the format <hh
Problem: Passing Data to a property defined as a double in an Active X control. Within a charting ActiveX control it exposes a property thats is documented to be of type double. What parameter type should be passed across from COBOL ? Resolution: The equivalent COBOL type to a double is a COMP-2 floating point variable. Old KB# 1438
Problem: Compiling a DB2 application with Net Express WrapPack 4 returns an RTS173 error against "hcgetenv". Compiling a DB2 application with Net Express WrapPack 4 returns errors regarding missing entry points in DB2AGAPI.DLL If working with DB2 UDB Version 8, you may encounter issues compiling applications with the DB2 compiler directive. This issue does not occur when using DB2 UDB Version 8 FixPak 15, nor with DB2 v9 or later. Resolution: Due to changes implemented to the DB2 support within Net Express WrapPack 4, you may find that compiling applications using DB2 UDB Version 8 will fail. To resolve this, you will need to upgrade your DB2 installation to the latest IBM FixPak. You can access downloads from the IBM website (currently at http://www-1.ibm.com/support/docview.wss?rs=71&uid=swg21256059 ). Having applied this FixPak, compilation and execution will then work as expected. Old KB# 1512
Problem: Is it possible to access the mainframe using Mainframe Access (MFA) with Net Express and Server Express, i.e. to access data files on the mainframe? Resolution: In migration projects we recommend that customers buy and use Mainframe Express Enterprise Edition (MFE EE) that includes MFA to download everything from the mainframe and test the application the first time. Once the application works on MFE, there is a tool part of the Migration Toolkit that will create the Net Express project from the MFE project. The migration toolkit can also be used to pass the project to Server Express. Once the application is on Enterprise Server there are different ways to access the mainframe... - you can run a remote CICS transaction on the mainframe. This doesn't require MFA. - if you are using UDB (remember that XDB used by MFE is not a production system) you can have remote databases on the mainframe, but this is all done using IBM's tools. - if
Problem: Release: Net Express 5.0 .NET & Visual Studio 2005 Coming up with sources from SP2, using a comp-5 redefinition and compiling this under Net Express 5.0.NET: 10 SP2-CD-MENU-ID PIC S9(4) COMP-5. 10 SP2-CD-CTRL-FIELD-KEY REDEFINES SP2-CD-MENU-ID PIC S9(4) COMP-5. 10 SP2-CD-BUTTON-ID REDEFINES SP2-CD-MENU-ID
Problem: Can you use Windows printers with Printer Command Language (PCL) ? PCL is a printer language that uses escape sequences to contol the display of different font and styles such as Bold and Italics. Over recent years there has been a trend in low cost printers to drop the support of PCL escape sequences. This means that they can only be used with applications that use the Windows Print Spooler. This means that applications which use SELECT ASSIGN PRINTER syntax and embed escape sequences cannot be used with these printers. Resolution: The runtime has a variety of PC_PRINTER_ calls that support Windows printing. They application can be changed to use these calls which support any printer that has a Windows printer driver. Alternative there are 3rd party utilities that convert PCL and send that to a Windows printer. Old KB# 1500
Problem: Net Express 3.1 does not support Internet Explorer 7 (IE7), so installing Net Expres 3.1 on a machine that already has IE7 installed will result to an error about the IE version. How to ignore or skip the IE version check? Resolution: NOTE: It is not recommended to ignore or skip the IE version check if you will be developing web applications with Net Express 3.1. Net Express 3.1's Form Designer supports IE5 and IE6 only. If you will be developing web applications, you can either remove IE7 and install IE6 instead or upgrade Net Express to the latest version, which is now v5.0. Having read the above, here are the steps allowing you to install Net Express 3.1 without having the setup to check for the IE version: 1. copy wrapper.ini from the Net Express CD to your local drive, e.g. C:\\ 2. edit C:\\wrapper.ini with a text editor 3. search for "checkie" --> this should find CheckIE5OrAbove 4. delete the whole line 5. save w
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.