Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: error 9/253 chk.gnt not found trying to compile through sde Resolution: Change the PATH to $COBDIR/bin:$PATH Old KB# 7185
Problem: Is c-isam a specific or generic file type? Resolution: Release: 2.0 C-isam is a specific proprietary file organization from Informix. Micro Focus products interface with this file type in its elementary version. Old KB# 7155
Problem: When a COBOL application in INT or GNT is executed in a shell from a Visual Basic program, it does not usually get the focus by simply doing the following: Shell "run MyPgm.gnt" Resolution: Here is the Shell function syntax: processID=Shell(pathname[, windowstyle]) In the scenario involved to run INT or GNT, use vbNormalFocus for windowstyle. Shell "run adsamp.gnt", vbNormalFocus Old KB# 7153
Problem: Copy members and called subroutines not found after porting source of working Windows Cobol program to Unix. Resolution: Unix treats case as significant in file names. Use FOLDCOPYNAME and FOLDCALLNAME directives to assist resolution. Old KB# 7157
Problem: How to specify a different ADISCTRL file Resolution: User has two custom ADISCTRL files with different default configurations. The dd_ADISCTRL environment variable can be used to point to the appropriate ADISCTRL file Old KB# 7174
Problem: In Server Express, enter sde, for development environment. Press F3=compile, compile options are not displayed Resolution: If function keys do not appear to work as expected, enter the meta character / before the number of the function key. For example F3 would be /3 and the compile options would be displayed properly. From within sde enter /m for Keyboard Mapping Help for current mapped key assignments. Old KB# 7188
Problem: Debugging C language modules called by COBOL Resolution: Compile the C modules for DEBUG ie using the C compiler specifiy -g then link the .o's with the COBOL - now when starting the application start it through the C language debugger ie dbx applicationname then set breakpoints in the C functions that need debugging Old KB# 7166
Problem: Occurs when "cob" or "cobrun" command is issued to Server Express on a machine which has or had Object Cobol Developer Suite installed. Resolution: There are "cob" and/or "cobrun" triggers from an older version of a Micro Focus product in a directory which is on PATH ahead of the directory where the current triggers were installed. Run command "which cob" and "which cobrun" to find and remove unnecessary triggers. Attachments: 10897223.gif Old KB# 7154
Problem: The following demo shows the use of 'initialize' on a group field. It returns a value of 'wwxxyy' whilst you may have expected a return of spaces. working-storage section. 01 aa. 03 bb. 05 filler pic xx occurs 10. 03 cc pic x(10) value "wwxxyy". procedure division. move "ppqqrrss" to bb initialize aa &nbs
Problem: Call x'91' function '69' HP Server Express implementation error, l-attributes Resolution: Not all functions of the X'91' call are supported on UNIX. Many of the functions available under x'91' on DOS/Windows are not appropriate for UNIX systems This information is from the Server Express File Handling manual: The only functions supported under Server Express are: x"91" function 46 Enables null insertion x"91" function 47 Disables null insertion x"91" function 48 Enables tab insertion x"91" function 49 Disables tab insertion x"91" function 52 Specifies use of two-byte record terminators x"91" function 53 Specifies use of one-byte record terminators Old KB# 7175
Problem: Why must a person be logged in as root in order to install Server Express? Resolution: When the user is prompted where to install the Server Express product (and could answer any arbitrary directory), the install script must have the power (permissions) to create that directory anywhere on the machine. The same idea applies to the creation/installation of the "drivers". The install script must be able to create new (or modify existing) license systems, for both development and Application Server licenses. The license systems must be owned and administered by root, because they are critical (common users must not have permission to disturb them). The install script must be able to modify the system file /etc/inittab, and to create a file in the system directory /etc, in order to set up the "auto-start at boot time" feature of the License Manager. The files in $COBDIR (the COBOL system files) are
Problem: How to setup environment variable to point to location of file from within a program. Resolution: Search in the net express 4.0 help for EMBEDDED ENVIRONMENT VARIABLES and will find the following : Embedded Environment Variables You can include an environment variable in the name of a file you want to open. It should have been previously given a value using the operating system SET command. The file specification is of the form: $env-name\\filename.ext Example $test\\app.dat where you have issued the command: set test=c:\\appdir;d:\\appdir\\appsub; env-name will only be recognized as an environment variable if it is enclosed within dollar ($) and backslash (\\) characters; thus if you simply specify an environment variable by itself it will not be expanded. The environment variable env-name can contain a list of one or more paths, separated by a semicolon (;). The open mode of the file determines the pa
Problem: The Animator is considered to be a COBOL development system utilities. The solution to this problem is to set COBDATA beginning with a colon. Resolution: The compiler and animator themselves are COBOL programs, and they need to open their own files just as any COBOL program would need to open files, but setting COBDATA interferes with this. The documentation, in Appendix A of the User's Guide, indicates: Setting COBDATA affects the compiler and other utilities. During compilation, for example, program source is regarded as a data file by the compiler. If you intend to use any COBOL development system utilities, we recommend that the COBDATA value starts with a colon (:). Old KB# 7165
Problem: What is the minimum hardware specification for our UNIX products? Resolution: The minimum required disk space to install the COBOL product is approximately Object COBOL: Development System: 40Mb Application Server: 20Mb Server Express: Development System: 50Mb without ODBC, 80Mb-100Mb with ODBC drivers Application Server: 40Mb There is no required minimum for physical memory, any system capable of running the UNIX operating system provides the minimum required memory for the COBOL product to execute. The minimum required memory for user applications really depends on the size of those applications and how they are used. It takes more memory to edit a 20,000 line program than it does to edit a 1,000 line program, for example. Applications that use INT and GNT code will take more memory than those using callable shared objects or executables because INT and GNT code is not shared between users. Large FD's and working-storage tables will als
Problem: Net Express Release 4.0: How to get more information about interfaces writing a COM client? Resolution: The Type Library Assistant in Net Express can be used to get more information. The Type Library for a COM object defines information that can be useful when writing a COM client. A COBOL copyfile can be generated for any Type Library by using the Type Library Assistant. Click Type Library Assistant on the Net Express Tools menu followed by all registered Type Libraries. According to the Net Express doc files in Distributed Computing Part 4: COM,COBOL and .NET Chapter 16: Creating COM clients: Depending on the information in the Type Library, the COBOL copyfile includes the following: COBOL type definitions for any data types defined by the Type Library For each automation interface defined by the library: Level-78 data items containing the IID (interface IDs) of any interfaces defined by the type library A comment showing the i
Problem: Example of Status Codes returned by byte-streams routines: 14605 = Hex 390D = 9 013 = File not found. The sample pasted below "retrieves" the extended file-status code from the status-code returned by the byte-stream routine. Resolution: copy "cblproto.cpy". program-id. MYMAIN. working-storage section. 01 . 05 file-details cblt-fileexist-buf. 01 status-code pic xx comp-5. 01 status-codeX pic xx comp-x. 01 lgind-status redefines status-codeX . &n
Problem: During batch compiles a 197 error is returned - The file referenced is inoc.gnt. Resolution: This error originates from the license manager trying to display "no licenses available" with no tty devices available for output. User can utilize the LMFWAIT environment variable in order allow for licenses to properly checked back in to the license manager See the Development System Licensing Guide, Chapter 2. Administering the License Management Facility for more details. Old KB# 7170
Problem: ** External Compiler Module message ** DB0009 MF DB2 Connect program reported error condition ' 1403'.This ** error prevents SQL processing from continuing - further EXEC SQL ** statements will be ignored. This error is produced when compiling a DB2 program under Server Express on AIX platform. The DB2 database resides on a different server than the one that it is being used to compile. Resolution: When you compile or run a DB2 program using Server Express DB2 compiler directive, it must first connect to the database. With a local DB2 server, DB2 will attempt to use the logon information you used to logon onto that server if you do not provide ID/PASSWORD. Generally, this works fine. However, if the ID/PASSWORD on a remote server is different or non-existent, then the compile will fail with the 1403 error.&n
Problem: High watermark for monitoring Application Server licenses does not seem to be taking effect. Resolution: The high watermark file used to monitor Application Server licenses must be defined in upper case letters in $COBDIR/WATERMARK. If the file is defined in lower case it is ignored. Old KB# 7205
Problem: Byte stream I/O routine CBL_OPEN_FILE failes with error 194 when the file is large Resolution: Setting ACCESS-MODE = 65 corrects the problem - the call will fail if the underlying operating system does not support large files Byte Stream IO calls work with files up to 4 Gb, Over 4 Gb there is a requirement to set 1 of 2 flags to get the open to work: - bit h"40" of the open-mode field (second parameter) or; - bit h"10" of the sharing mode field (third parameter). Using method 1 you will get an error if the open is attempted on a system which does not support 64 bit file systems (e.g. Windows 95). Method 2 will give you a successful open in all operating systems, but tells the run-time that no locking calls will be attempted on the file. Any call to e.g. CBL_GET_LOCK will result in an error if the file has been opened with this bit set. Old KB# 7184#netexpress#RMCOBOL#ServerExpress#COBOL#AcuCobol
Problem: Net Express Release 4.0: The XML-Wizard may generate a data structure like: 04 xml-act identified by "act" count in xml-act-count. 05 xml-MyName PIC X(90) identified by "MyName" . .......... 05 xml-more identified by "more". 06 xml-MyName PIC X(90) identified by "MyName". When coding MOVE "Harry" to xml-MyName of xml-act. The following compiler error message is returned: COBCH0005S User-name XML-MyName not unique Resolution: The identifier xml-MyName at the 05-level cannot be used in the COBOL-program, because there is no way for a proper qualification of thi
Problem: Using either cob -ivt db2test.cbl -C "DB2(DB==SAMPLE)" or cob32 -C nolist -ivt db2test.cbl -C DB2(DB==SAMPLE) results in * Micro Focus Server Express V2.2 revision 000 Compiler * Copyright (C) 1984-2003 Micro Focus International Ltd. URN RXCAI/AA0/00000 * Accepted - verbose * Accepted - reentrant * Accepted - nolist * Rejected - DB2(DB=SAMPLE) * 155-U 155 Illegal command line Resolution: One may see this error if 1. the DB2 ECM is not present- that means that the product does not support the precompiler on the specified platform. UDB isn't available on all UNIX platforms. Therefore, we only provide the DB2 ECM module on platforms where UDB is available, and IBM supports precompiling COBOL. Check to make sure that the platform supports UDB. 2. If the LIBPATH is not set correctly. Che
Problem: tar command reports a error while trying to extract COBOL product components: Resolution: This error occurred due to a lack of space in the target install directory. create a new, larger file partition and the problem is solved. Attachments: Relativity launch error 2009-02-19.doc Old KB# 7156
Problem: Load error 164 on cobdirect.so.2 Resolution: Set COBMODE=64. Old KB# 7176
Problem: cob64: bad magic number error when linking application cob32: bad magic number error when linking application Resolution: When using COBOL in conjunction with third party software, ensure that the COBOL working mode matches the environment settings for the third party software. For example, Oracle installations on UNIX typically provide both 32-bit and 64-bit shared objects in $ORACLE_HOME/lib and $ORACLE_HOME/lib64 . You would therefore need to ensure that LIBPATH/LD_LIBRARY_PATH/SHLIB_PATH was set correctly. See Knowledge Base article #22062 for further details. Old KB# 7183
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.