Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: Existing project - source has been moved, but there is a requirment to change the project location Resolution: First when building a Net Express project - the suggested way is to copy any source being used to the local directory. If this has not been done and the project now points to a particular directory other than the project directory, and the source has now been moved to a different directory The only way to correct the project settings is to remove the source from the project and read it to the project from the new directory. Note: Net Express is UNLIKE Mainframe Express project where the location can be changed without removing and reading. Old KB# 5288
Problem: Method to create line sequential files without stripping off spaces at the end of each line Resolution: Releases: 4.0 - 5.0 - In order to keep trailing spaces in each record of a line sequential file, use the STRIPSPACE=OFF file handler configuration option to leave the trailing spaces in the record. Please see the Net Express bookshelf programmer's guide "File Handling", chapter 6: File Handler Configuration. How To: create text file using notepad - call it extfh.cfg put this in it: [XFH-DEFAULT] [TEST.DAT] STRIPSPACE=OFF WHEN TYPING THIS FILE - MAKE SURE YOU HIT ENTER AFTER EACH LINE TO PLACE AN END OF LINE MARKER **ESPECIALLY THE LAST LINE [TEST.DAT] **THIS IS OPTIONAL IF YOU WANT TO USE THIS FOR ONE PARTICULAR FILE
Problem: FileShare is running as a service using sample FS.CFG located in the Windows\\system32 directory Using CCI.INI to set the PORT number. FS.CFG sample /s FSNAME /cm ccitcp /d ?:\\databse-reference-file /pf ?:\\password-file /wd ?:\\filehare-working-directory-path /sc CCI.INI file contains [ccitcp-servers] FSNAME=MFPORT:12003 [ccitcp-targets] FSNAME=MFNODE:machine-name-or-IPAdress,MFPORT=12003 Resolution: Problem existed was the CCI.INI file contained an error in the ccitcp-targets in that it had an "=" character and not a ":" character after MFPORT. Old KB# 5313
Problem: A program uses more than one copybook, but only one or some of the copybooks show up in the project tree window of the Net Express IDE. The program can be compiled successfully despite of that. Resolution: Try executing the Update All Dependencies option from the Project menu. If that does not resolve it, the project file has possibly become corrupt. Just create a new project, and this should display the dependencies correctly. Make sure also to apply all latest fixes for Net Express. Old KB# 5253
Problem: When compiling from a command line the linker is requiring that the file external.obj be linked in but when running a .int from within the project it is not required. Resolution: .int format programs within a project will load and use the util.lbr file which contains the externl inside it. When linking OBJs the util.lbr is not used so the externl.obj module is required when there is an EXTERNAL phrase specified within an FD. Old KB# 5233
Problem: File status 9/004 returned on a file that has an environment variable set to the file name when creating a new project. Resolution: This requires the directive ASSIGN(EXTERNAL). The other projects were using a COBOL.DIR file within the application directory. If the COBOL.DIR should be used for all projects then move the COBOL.DIR to the Net Express\\Base\\Bin directory and all projects will use that one. This can be overridden in any program or project by using the directive NOCOBOLDIR. Old KB# 5234#AcuCobol#RMCOBOL#COBOL#netexpress#ServerExpress
Problem: FSVIEW enters a FSVIEW command line environment. Resolution: The XFH05N40 fixpack which is part of the ALL04N40 wrappack adds the file FSVIEW.EXE to Net Express but the add pack FSV01N40 must be installed before it can be used. To exit the FSVIEW command prompt enter the word EXIT. Old KB# 5210#RMCOBOL#netexpress#ServerExpress#AcuCobol#COBOL
Problem: how to use files bigger than 4 gig Resolution: 1. use compiler directive IDXFORMAT"8" allows the creation of large indexed files up to 128 Tb **this step only has to be used for a program creating new files 2. Need to set FILEMAXSIZE=8 in extfh.cfg file under [XFH-DEFAULT] ex. this file is just a text file. [XFH-DEFAULT] FILEMAXSIZE=8 3. Next set environment variable EXTFH to point to path and file name of the cfg file (if using a project can set environment variable under Project Properties> Environment>IDE) Old KB# 5197#ServerExpress#netexpress#AcuCobol#RMCOBOL#COBOL
Problem: How to run a batch creation of new empty indexed files. Resolution: Create an empty .txt file using Windows Explorer. From the directory in the right hand window find an emtpy area and right click the mouse, select New and new text document name the file dummy. Rebuild dummy.txt, newfile.dat /o:seq,ind /t:mf8 /r:f100 /k:1 5 These options can be found within the documentation under index for Rebuild and select converting a file. Old KB# 5243
Problem: How to assign or determine the client-id that is required for a server-side file in a web application. Resolution: Look under Help>Programming>Distributed Computing>Part 8: CGI-based Applications>Part 32: Server-side programming>Maintaining Application State>The Server-side State Mechanism for a complete overview of this topic. Basically the set of MF_CLIENT_STATE callable routines can be used to manage the state for each client (Browser) session that invokes the CGI program. When the client starts the browser and the HTML page executes the server side CGI program for the first time, the CGI program can use a call to MF_CLIENT_STATE_FILE which will return a unique client-ID and will allocate the state record used by the calls. The client-ID is then stored within a cookie on the form so it will be passed back to the server each time a new form is posted. This information is all stored on the server and it is accessed by the cli
Problem: CBL cards are embedded in the source, before the identification division. CBL begins in column 9, followed by options. For example: CBL nodynam,lib,cbject,apost Resolution: Compiler directive COBOL370 disregards the CBL card. Old KB# 5215
Problem: Return code 194 received with CBL_OPEN_FILE for file over 4GB in size. Resolution: CBL_OPEN_FILE does not use the EXTFH.CFG so the setting of FILEMAXSIZE=8 will not work. If you add 64 to the access mode parameter then this will create the same results as the FILEMAXSIZE=8. 65 Read only 66 Write only (deny-mode must be 0) 67 Read/write Old KB# 5211#netexpress#ServerExpress#RMCOBOL#COBOL#AcuCobol
Problem: Used the anim directive to compile but then moved the .exe program. A message pops up prompting for animation but then the .idy file cannot be found. After entering the location of the .idy file then the COBOL source cannot be found.l Resolution: The resolution is to move the .idy and COBOL source files to the same location as the .exe file. Old KB# 5217
Problem: Net Express 4.0 on 32 bit Windows. When running an application an error stating that the runtime DLL OOPS entry point is not recorded in the Windows registry occurs. Resolution: This error is normally caused by previous versions (e.g. Net Express 3.1) of runtime files being picked up via the PATH. Carefully check the PATH setting via Net Express command prompt and ensure no rogue entries are present. Old KB# 5222
Problem: The following error is received during the install. Failed to set up Integrated Development Environment. At least one Net Express option failed to install. Please exit setup and start install again. Resolution: Check the share path to the server for spaces. If there are spcaes in the path, remove the spaces and attempt the install again. Old KB# 5245
Problem: Can Screens.GS be in another directory and be found at runtime or animate time? Resolution: Yes, by adding the directory that contains the GS files to the COBDIR they will be found at animation time. For deployment a safer method would be to follow the instructions in the packaging knowledge base article 4150. Old KB# 5244
Problem: There have been instances in Net Express 4.0 when after installing the all04n40 fixpack the 'Dialog System' option has dissapeared from the 'Tools' dropdown menu. Resolution: To permanently have 'Dialog System' on the 'Tools' dropdown menu: From the menu bar go to 'Options', 'Customize IDE' and select the 'Tools' tab. Select 'New Tool' and type in the desired name to display (i.e. Dialog System) and then select 'Program' and navigate to: C:\\Program Files\\Micro Focus\\Net Express\\DialogSystem\\BIN\\DSWIN.EXE Dialog System should now permanently be on the 'Tools' dropdown. Old KB# 5220
Problem: The GNT code will require that ANIM is located in another location other than the project directives. Cannot animate the GNT code. Resolution: The GNT code will require that ANIM is located in another location other than the project directives. It can be added to the project pull down menu. Projects Types of Build Debug CHANGE OPT(1) ANIM OK CLOSE Old KB# 5219
Problem: A program using an open extend statement for a file defined without the optional phrase works fine on one computer. If the file does not exist then a file status code of "05" is returned, which is fine. On another machine the program cannot create the file if it does not exist unless the optional phrase IS specified. Resolution: The compiler directive option-file is the default for the Micro Focus dialect. If the RM or ansi'85' directive is used then the nooptional-file directive is also set. This could be the problem. If one of thes directives is being used then defining the optional phrase in the select statement overrides this and it will work correctly. Old KB# 5238#RMCOBOL#netexpress#AcuCobol#ServerExpress#COBOL
Problem: field A pic s9(11)v99 added to B pic s9(11)v99 A= 780.10 B= 4354.34 sum = 5134.50 should be 5134.44 Resolution: the problem in this case was the input was using an ebcdic sign doing $set sign"ebcdic" corrected the problem Old KB# 5218
Problem: Case: When migrating from Net Express 3.1 to 4.0, there exist 11 .DLL files that are believed created using Net Express 3.1 but it is unsure if the original project or source code still exists. Is it possible to tell if these Dynamic Link Libraries were indeed created by Net Express instead of by a 3rd party compiler such as Microsoft C/C ? Resolution: The answer is yes, there is a way to identify an existing executable (.EXE) or Dynamic Link Library (.DLL) file as being generated by Net Express. Using a binary editor or a program dump utility, open the .DLL file and search it using this tool. If no binary file editor is available then it is also possible to open the file using a standard text editor like Windows Notepad but since the information being displayed is not standard ASCII text it will look very strange. It will however, accomplish the task at hand. After opening the .DLL file within the editor it is necessary to perform a text Fin
Problem: The MFDS Service hangs when attempting to apply the Net Express 4.0 fixpack collection. Resolution: Before attempting to run the Net Express 4.0 fixpack updates updates, go into control panel and right click on the MFDS service, and change it's properties to disabled - then reboot the machine. This will ensure that the service isn't started on boot up. Now there should be no problems in applying the updates. After they have been successfully applied, change the service back to automatic. Old KB# 5193
Problem: The user is creating com objects with Net Express 4.0 . On his developement machine they work fine, but on his production machine when he tries to register the com object using regsrv 32 he receives the following error message: "runtime dll "oops version 4.0, entry point "oops" not recorded in registry not found or incompatible". He has application server for Net Express with .net and application server for Net Express 4.0 installed on production machine and they both have lastest updates applied. Resolution: Adding the location of Application Server for Net Express 4.0 to the path environment variable resolved the problem Old KB# 5216
Problem: When migrating applications from a mainframe to the Windows platform, using Net Express, or a UNIX/Linux platform, using Server Express, platform specific issues can be encountered. One specific area that can be troublesome is when dealing with Packed Decimal data. This article discusses the issues of Packed Decimal data and how they can be dealt with. Resolution: When migrating an application that has been compiled on the mainframe with the NUMPROC(NOPFD) directive, the behaviour expected is that when comparing x'000c' with ZERO, they should be equal. For example, the following program: working-storage section. 01 a pic x(3) value x'00000c'. 01 b redefines a
Problem: Net Express 4.0: Where to find additional information in regards to 'extended file status codes'? Resolution: Use the Net Express Help : a) IDE -> Help -> Help Topics -> Index -> Extended File Status codes -> File handling includes hints on how to check these codes by programming. b) IDE -> Help -> Help Topics -> Index -> Extended File Status code provides all run-time codes related. Old KB# 5224
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.