Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: using the following mfsort instructions gave the error SORT(EXTSM) failed - sort engine status = 39: INREC FIELDS=(0001:0021,0020, 0021:1970,0008) * SORT FIELDS=(0001,0020,CH,A) SUM FIELDS=(0021,0008,PD) use d:\\input.dat org SQ record (f 5940) give d:\\output.dat org SQ record (f 28) Resolution: Problem was due to the SORT state
Problem: 'Page cannot be found' message when trying to edit an htm page or view Solo admin. If you double-click a .htm file in a Net Express Web project or if you double-click the Solo web server icon in the Windows systray to bring up it's admin screen, but get an error '404 the page cannot be found', then the problem may be with configuration of the Windows Internet Explorer Web browser. Resolution: Check the Internet Explorer browser settings by selecting the Tools menu from Internet Explorer, select "Internet Options...", select the "Connections" tab, click the "LAN Settings..." button, and notice if the "Use automatic configuration script" checkbox is checked. If it is checked, then a script may be specifying configuration information that may affect interactions between the browser and web server. Please contact your IT administrator to find out what configuration can be altered to allow it to
Problem: Having created html web pages using Form Designer and have then used the Internet Application Wizard to create a CGI program, there will be .cpy and .cpf copyfiles that relate to the fields on the web page form. Modifying the html in Form Designer by adding fields, these copyfiles should be regenerated with the new fields included. An incident had been reported that saving the page in Form Designer would not regenerate the copyfiles. Resolution: The Net Express 4.0 Websync WrapPack in use was all07n40.exe (wrappack 4.0.007). If encountering this problem, to ensure that Net Express 4.0 WrapPack all08n40.exe to be installed. Old KB# 4336
Problem: If you have an object reference instance, is it possible to tell if it is a CharArray or a something else at runtime. Resolution: You can use the "class" method on the object and compare that to the class in class-control. Example program is attached. The code to do this is:- $set ooctrl( P) program-id. TestClass. ****************************************************************** * * Author - Micro Focus Technology Support (davs) * ****************************************************************** special-names. call-convention 74 is winapi
Problem: An HTML - Form with Disabled Input Fields does not return the values back as expected. When sending the form the data in the disabled input fields are displayed normally. After submitting the data however these fields with ACCEPT HTML-FORM are not returned back. Why is this? Resolution: The reason this is happening is that Disabled fields do not return any value to the server. Therefore the form fields get 0. (not the data expected). See for further explanation: http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.12.1 Old KB# 4297
Problem: If you have a segmented program (one in which SECTIONs have segment numbers), you may notice that the reference count for a particular paragraph is incorrect. The reference count (how many times the paragraph is referenced) can be seen by hovering the mouse over a paragraph name after the program has been compiled. Resolution: To get an accurate reference count, you will need to compile the program with the NOQUALPROC compiler directive. Old KB# 4272
Problem: How to check what version of fixpacks are applied to the product? Resolution: (1) Download MFSupportInfo.zip utility from http://supportline.microfocus.com/examplesandutilities/nesamp.asp#Utilities Unzip MFsupportinfo.zip and run the MFSupportInfo.exe. This will create a MFSupportinfo.log that shows what versions and fixpacks that were applied. From Net Express 5.0 onwards MFSupportInfo.exe is part of the ..\\Net Express 5.0\\base\\bin installation directory. (2) Also , Start Net Express. click on Help -> About Net Express. click on more info at bottom right. Under installed options and fixpacks . See what fixpacks and installed options are applied. Old KB# 4316
Problem: The Net Express 5.0 install does not show PVCS Version Manager in its install options. It was available in Net Express 4.0 install. Resolution: PVCS Version Manager is not a Micro Focus product, and it is not available an install option in Net Express 5.0. If you are interested in acquiring PVCS, you will find more details about it at the Serena Software site (http://www.serena.com) See also KB #20582 for support Source Control System. Old KB# 4332
Problem: This demo accepts an amount (Canadian Dollar) to calculate taxes and converts the total amount in US Dollar Resolution: SOURCE FILES: ========== Program Files Description ---------------- ----------------------------------------------------------- Cbl2VBx.app NetExpress project file QcCalc.cbl COBOL source code QcTax.dll Visual Basic ActiveX DLL QcTax.vbp Visual Basic project file Tax.cls Visual Basic class code Copy Files: ---------------- ----------------------------------------------------------- QcCalc.cpb &
Problem: This demo shows how to generate an exception in a COBOL COM Class and trap it in a .Net C# Application. Resolution: INTRODUCTION ========== This demo shows how to generate an exception in a COBOL COM Class and trap it in a .Net C# Application. DESCRIPTION ========= This demo shows: o Create a COM Exception in COBOL o Trap and handle the exception in C# Projects ========= The example contains 2 folders with 2 projects:- - COBOL COM Object.app This is the Net Express COBOL Project for the COM Object - TestCOBOLCOMException.sln This is a C# .Net application that invokes the COBOL COM Object and traps the generated exception via a try catch block. REQUIREMENTS ========== .Net Framework V2 and Visual Studio 2005 OPERATION ========= - Open the COBOL App file and rebuild the project - Open a
Problem: Release 4.0: Runtime DLL 'CBLRTSS', version 4.0, entry point CBL_CTF_TRACER_GET not recorded in registry, not found or incompatible with requirements of dynamically bound COBOL program. Dynamic binding of RTS requires: Any Runtime DLL, at least Version 4.0 Resolution: There is a mismatch between the update version of the compiler and the update version of the application server (runtime). Please update the runtime to the same level as the development environment. recent: all08n40.exe for Development environment / aps10a40 for Application Server. Old KB# 4304
Problem: Where are the options for the javac compiler call specified? To change the option -g:none which can be seen in the compiler output window, also to have -g as an option. Resolution: To find these options for the EJB generation in the file deploy.mfscript, which is located in the Net Express\\base\\bin directory. For any java compile, to specify the options in the mfj.cfg-file, where to be specified javac.exe to be called in the IDE. (Doing so with EJB does not set the -g option, because the compiler would be started as javac -g -g:none which overwrites the intended -g settings.) For java files in the IDE, to specify also the java compile options with right-clicking on the java file on the left side in the project view. Choose build settings and change to the tab compile. Old KB# 4309
Problem: FILLER in a COBOL data structure given as for this structure: 01 daten. 02 Eine pic x(5). 02 filler pic x(5). 02 Zwei pic x(5). The CBL2XML wizard produces the following XD structure: 01 Pre-daten identified by "daten" count in Pre-daten-count. 02 Pre-eine pic X(5) identified by "eine" count in Pre-eine-count. 02 Pre-filler pic X(5). 02 Pre-zwei pic X(5) identified by "zwei" count in Pre-zwei-count.
Problem: How to compile and to link a project from the command line? Resolution: Yes. There is a utility called PROJMAKE Goto Net Express ->Help Click on Index tab in Help type in projmake select Projmake and click on Display this help shows the following: (options , file and build type are clickable to see what to enter) Projmake Command Line >>-projmake---- options----- file----.------------.---->< - build type- s. Examples for more details Old KB# 4313
Problem: A customer wanted to know if it is possible to use the "_" and '$" characters in data item names. Resolution: It is possible to use the underscore character in a data name by specifying the ISO2002 compiler directive. However the dollar sign can only be used for what is was origianlly intended, viz. a currency sign. Old KB# 4274
Problem: A blank page displays when viewing the documentation for Net Express, Mainframe Express or Revolve, when using Internet Explorer 7. This happens after clicking on the name of a section in a chapter in the Table of Contents (TOC). Resolution: Instead of clicking on the name of the section in a chapter, click on the chapter name in the TOC and scroll down to view the information in the section. This problem is fixed in the latest WebSync for Mainframe Express, and will be available in the WebSync2 for Net Express 5.0, and the first WebSync for Revolve 7.0. Old KB# 4333
Problem: This demonstration works fine on Net Express and on Server Express. The aim of this demonstration is to simulate a functionality which exists on the transation manager TDS of GCOS7 which launches x transactions ( == PROCESSES ) launching x TPRs ( == x COBOL programs ) under TDS, when a transaction has overpassed a TimeLimit, TDS stops the transaction.... Resolution: The multithreaded launcher named ctrlbythread gets the command-line retrives the firts parameter of the command line ( which is the program to be called ) sets a new command-line with the parameters after the firts one == program to be called ( see KB 21920: http://supportline.microfocus.com/mf_kb_display.asp?kbnumber=21920) se
Problem: When installing Net Express 5.0, getting the message "Installer terminated prematurely" at the step "deleting services". Resolution: If a previous uninstallation of Net Express was not done completely, Micro Focus Directory Service (MFDS) may not be uninstalled. Please reboot the PC and try again. The reboot may take a while longer than usual when the operating system removes the no-longer existing service. Old KB# 4323
Problem: .cblproj not installed when loading a Visual Studio 2005 COBOL Project. The Visual Studio integration was installed with Net Express V5 however the error message above was still displayed. Resolution: To resolve this issue:- - Open a Net Express V5 command prompt - cd c:\\program files\\micro focus\\net express 5.0\\packages - regsvr32 cblprj.dll The issue was caused by some previous Beta versions of Net Express 5 being installed on the same machine. Old KB# 4307
Problem: Creating COM objects has always been done using a COBOL class. However did you know you can expose a .NET managed COBOL program as a COM object? How? Basically, you add a couple of class-attributes to any COBOL program that is compiled with the ILOBJECTIFY directive (which is the default in Net Express 5). Resolution: Here is a sample that shows how to expose a .NET managed "Hello World" COBOL program as a COM object. The sample comprises: helloworld.cbl - the COBOL program blddeliver.bat - builds the program as an assembly bld.bat - puts the program in the Global Assembly Cache (GAC) usehw.cbl - the test harness to try out the program helloworld.cbl: $set sourceformat"free" program-id. Program1 as "HelloWorld". environment division. &
Problem: How to prevent CTRL-C (CTRL BREAK) keyboard interrupt in 32bit applications? Resolution: According to the doc files (Help -> Help Topics -> Index): X"B0" function 4 Disables keyboard interrupts (Ctrl Break). Syntax: call X"B0" using function-code parameter ... This routine disables keyboard interrupts for the rest of the application. It should be called before any subprograms are called. Old KB# 4285
Problem: This issue applies to Net Express 4.0 pre-all07n40 wrappack v4.0.007. Assuming that there is an existing htm/html web page form with the <PRE> tag included in the html text, then it was possible that saving this form in Form Designer could alter the format of the page. Resolution: This happened during EHTML preprocessing where line splitting did not keep the format of the text. This is fixed with the All Websync WrapPack v4.0.007 (all07n40.exe) and higher. Old KB# 4306
Problem: What option can we use in the rebuild to pad with spaces when converting a line sequential file to a fixed length record sequential file. It appears that the records in the record sequential file are filled with low-values instead of spaces. rebuild command: REBUILD file1.txt, file2.dat /o:lseq,seq /r:f80 Resolution: There is an optional padding character suboption for the /r option that designates the padding character used to fill the fixed length record. If you use /r:f80pd32 for the output file then this tells Rebuild to create a file with fixed length records of 80 bytes and to space fill the record. i.e. the padding character is specified as a decimal value (32) which represents the ASCII space character " ". This is documented in the Net Express Help ( Help>Contents>Programming>File Handling>Reference>Rebuild>Options )under the /r option you w
Problem: When building web pages the resulting page on the client side has Net Express comments included which bloats the html size. These comments look like <!--/*MF NetExpress embedded COBOL begin*/>. Resolution: In eht02n40 of the all08n40 Net Express 4.0 WrapPack, a new preprocessor flag (NOCGICOMMENT) has been added to optionally ignore the MF comments being inserted into the HTML sources at runtime. This means that pages output by the COBOL CGI program will not include the comments (you can check by viewing the html source from a browser), but the source in the project will have them. Below is a description of the flag: CGICOMMENT Causes the preprocessor to insert Micro Focus specific comments into the output HTML codes. Syntax: >>-.---.-.----.--CGICOMMENT---------------->< -/- -NO- Parameters: None Properties: Default: CGICOMMENT Phase: Syntax check $SE
Problem: If you try to run the Net Express demo program PRINTRAW you might get the error "OPEN PRINT A" PG not found" Resolution: This demo will be linked with Microsoft's SDK winspool.lib, therefore the demo will run correctly if you have the right path addressed while linking the demo project. You should check first: Project Build Settings -> Tab: Link -> Category: Advanced under 'Link with these LIBs' - you need a path correctly pointing to winspool.lib. There is a demo 'printrawHP6P' attached that uses a HP LaserJet 6P printer - you are able to change the name under 'printer-name' in printraw.cbl. For additional information check the README file included, but be aware the demo runs for ESC codes supported by this model and other HP LaserJet printers only. Attachments: printrawHP6P.zip Old KB# 4283
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.