HP MF Object Cobol-Ux
HP MF Object Cobol-Ux
5967-0046
February 1999
2
Trademarks
© Copyright 1980, 1984, 1986 AT&T Technologies, Inc. UNIX and
System V are registered trademarks of AT&T in the USA and other
countries.
UNIX® is a registered trademark in the United States and other
countries, licensed exclusively through X/Open Company Limited.
© Copyright 1985-1986, 1988 Massachussetts Institute of Technology. X
Window System™ is a trademark of the Massachussetts Institute of
Technology.
X/Open® is a registered trademark of the X/Open Company Limited in
the UK and other countries.
OSF/Motif™ is a trademark of the Open Software Foundation, Inc. in the
U.S. and other countries. Certification for conformance with OSF/Motif
user environment pending.
Animator™ is a trademark of Micro Focus Ltd.
Toolbox™ is a trademark of Micro Focus Ltd.
GLOBEtrotter is a trademark of GLOBEtrotter Software, Inc.
FLEXlm and Flexible License Manager are registered trademarks of
GLOBEtrotter Software, Inc.
FLEXadmin is a trademark of GLOBEtrotter Software, Inc.
PostScript™ is a trademark of Adobe Systems, Inc.
Netscape and Netscape Navigator are registered trademarks of
Netscape Communications Corporation in the United States and other
countries.
SimpleLink is a trademark of Hewlett-Packard Company.
4
Contents
2. Installation Information
Compatibility with Previous Versions . . . . . . . . . . . . . . . . . . . . . . . . . . .16
System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Installing HP Micro Focus Object COBOL/UX . . . . . . . . . . . . . . . . . . . .20
Finding the Version Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
Identifying Compiler Version Used with cobwhat . . . . . . . . . . . . . . . .22
Installing the Online Documentation Files . . . . . . . . . . . . . . . . . . . . .24
Copying the Product Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Product Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
5
Contents
FLEXlm Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
FLEXlm Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
The License Request Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Installing and Setting Up the FLEXlm License Manager . . . . . . . . . . . 32
Installing FLEXlm with hpmfocdsini . . . . . . . . . . . . . . . . . . . . . . . . . 33
Redeeming Your Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Creating or Updating the license.dat File . . . . . . . . . . . . . . . . . . . 36
How to Install into an Existing license.dat File. . . . . . . . . . . . . 36
How to Install into a New license.dat File . . . . . . . . . . . . . . . . . 37
Automating Subsequent FLEXlm License Manager Start-ups . . . . . 39
Starting lmgrd (License Manager Daemon) . . . . . . . . . . . . . . . . . . . . 40
Setting up Client Nodes and User Environments. . . . . . . . . . . . . . . . 41
Setting the Path with an Environment Variable . . . . . . . . . . . . . . . 41
Setting the Vendor Daemon Path. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Vendor Daemon Options File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Using Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Creating the Vendor Options File . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Enabling the Vendor Options File. . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Obtaining Additional Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
FLEXlm Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Using lmcksum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Using lmdiag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Using lmdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Using lmhostid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Using lmremove . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Using lmreread . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Using lmstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Using lmswitchr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Using lmver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
FLEXlm Directory Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6
Contents
4. Documentation
COBOL Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
Locating COBOL Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
Online html Manuals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
Online Files in $COBDIR/docs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
Online COBOL Man Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
Other Useful Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
HP-UX Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
Third Party Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
7
Contents
8
New and Changed Features
IMPORTANT With your COBOL product, you may have received Release Notes for all
current versions of HP Micro Focus Object COBOL/UX available on your
hardware.
You only need the Release Notes for HP Micro Focus Object COBOL/UX
developed for your HP-UX operating system version. Ignore the other
Release Notes that are not for your version of HP-UX.
NOTE $COBDIR refers to the root path name of your COBOL installation. By
default, $COBDIR is /opt/cobol/cobdir.
You must set and export the environment variables COBDIR and
SHLIB_PATH, even if you leave the product in the default installation
location. (See “Known Problems, Limitations, and Fixes” on page 47.)
To set and export the COBDIR (for the default COBOL installed
location) and SHLIB_PATH environment variables, enter the following
commands:
$ export COBDIR=/opt/cobol/cobdir
$ export SHLIB_PATH=$COBDIR/coblib
HP Micro Focus Object The HP Micro Focus Object COBOL/UX WWW web site has been
COBOL/UX WWW Web redesigned to include documentation, support information and articles,
Site patches, and more. For the latest information on HP Micro Focus
COBOL, visit this web site at the following URL:
http://www.hp.com/go/cobol
Chapter 1 9
New and Changed Features
New Features
New Features
10 Chapter 1
New and Changed Features
New Features
For most users this change will only result in the benefits noted above.
There are four specific cases where this change will require action to
preserve or obtain previoiusly expected behavior.
For more information, see the section, “COBOL Run-time System Symbol
Table (ldtab) and cob,” in Chapter 4 in the online HP Micro Focus Object
COBOL/UX Programmer’s Guide in $COBDIR/docs/library.htm for
more information.
• CBL_HP_SH_LOAD
• CBL_HP_SH_FINDSYM
• CBL_HP_SH_UNLOAD
Chapter 1 11
New and Changed Features
New Features
See the section “New API to Support Loading HP-UX Shared Libraries
Containg COBOL Programs” in the online of the HP Micro Focus Object
COBOL/UX Programmer’s Guide in
$COBDIR/docs/html/library.htm.
12 Chapter 1
New and Changed Features
Removed Features
Removed Features
Chapter 1 13
New and Changed Features
Features That May be Removed in Future Releases
14 Chapter 1
Installation Information
2 Installation Information
Read this entire chapter and these Release Notes before installing
version B.13.35 of HP Micro Focus Object COBOL/UX. Immediately
after installing the product, review the online documents included in
$COBDIR/docs.
Chapter 2 15
Installation Information
Compatibility with Previous Versions
B.13.2x .int, .gnt, 1. Due to the HP-UX system changes, all objects,
(V4.1 base on .snt, shared libraries, and archive libraries (.o,
HP-UX 11.x) shared-bound lib*.sl, lib*.a) created prior to version B.13.2x
executables of COBOL cannot be relinked on HP-UX 11.x and
B.12.2x
(lib*.sl are incompatible. These will need to be rebuilt.
(V4.1 base on
and a.out) However, lib*.sl can be executed on this version
HP-UX 10.20)
of COBOL with a.outs created from earlier
B.11.2x, B.11.30 versions.
(V4.0 base on
2. If you are still experiencing problems you may
HP-UX 10.20)
have to recompile, regenerate, and relink your code
B.10.xx from source.
(V3.2 base on
3. Archive-bound executables are not supported. See
HP-UX 10.01
“Using Shared Libraries vs. Archive Libraries” and
and 10.10)
“Support for Binary Compatibility” in Chapter 4 of
B.08.7x the online HP Micro Focus Object COBOL/UX
(V3.2 base on Programmer’s Guide for more information.
HP-UX 9.x)
B.11.50 .int, .gnt, 1. Archive-bound executables are not supported. See
(V4.0 base on .snt “Using Shared Libraries vs. Archive Libraries” and
HP-UX 10.30) “Support for Binary Compatibility” in Chapter 4 of
the online HP Micro Focus Object COBOL/UX
B.12.50
Programmer’s Guide for more information.
(V4.1 base on
HP-UX 10.30) 2. Shared bound executables will need to be rebuilt,
due to changes in libc.
3. If you run an HP-UX 10.30 executable and you see
the unsatisfied symbol, fs_swap_debug, run the
executable with the B.13.xx run-time.
16 Chapter 2
Installation Information
Compatibility with Previous Versions
B.09.xx .int, .gnt, 1. Due to the HP-UX system limitations, all objects,
(V3.1 base on .snt shared libraries, and archive libraries (.o,
HP-UX 10.0x) lib*.sl, lib*.a) created prior to this version of
COBOL cannot be relinked on this version of
B.08.1x
HP-UX and are incompatible. These will need to be
(V3.1 base on
rebuilt.
HP-UX 9.x)
2. Shared-bound executables will need to be rebuilt,
including any customized run-time systems.
Customers who attempt to run Micro Focus V3.1
shared applications before rebuilding with the
current version will get the following error
messages:
/usr/lib/dld.sl: Can't find path for shared
library: libcobwin1.sl
Chapter 2 17
Installation Information
Compatibility with Previous Versions
B.07.xx .int code 1. Only .int code is compatible from version B.07.xx.
(V3.0 base on After you install this release, you must do the
HP-UX 9.x) following:
18 Chapter 2
Installation Information
System Requirements
System Requirements
Version B.13.35 runs only on HP-UX 11.x. Programs compiled with
version B.13.35 will not run on HP-UX 10.20 or on systems that have a
previous version of Micro Focus COBOL installed.
Moving an earlier version of the compiler from HP-UX 10.x (or earlier) to
HP-UX 11.x is not supported.
To install HP Micro Focus Object COBOL/UX, you must have the
following system components:
• 32 Mbytes of memory
• 2 Mbyte of swap space per user in a production environment
• 10 Mbytes of swap space per user in a development environment
These swap space and memory requirements are minimums. For
development of larger or more complex programs, the system may
need to be configured with some or all of additional physical memory,
additional virtual memory (maxdsiz), or additional swap space.
• 5 Mbytes of temporary disk space for a single user and 2 Mbytes
additional disk space for each additional user.
The amount of temporary disk space that each user requires can
increase significantly when SORT or MERGE operations are
performed, as these features can create temporary work files related
to the size of the files being sorted or merged. If you need to change
where your temporary files are built, you can use the environment
variable TMPDIR. For information on TMPDIR, see HP-UX Reference.
Chapter 2 19
Installation Information
Installing HP Micro Focus Object COBOL/UX
20 Chapter 2
Installation Information
Installing HP Micro Focus Object COBOL/UX
B.13.35:
$ $COBDIR/bin/cobrun
Cobol/HP-UX HP35326 B.13.35 Copyright Hewlett-Packard Co. 1989-1998
V4.1 revision 20 build 10/10/2 G; 31898. Run Time System OXUPK/BMB/01335L
The Micro Focus version number for Object COBOL is displayed on the
screen. For example,
cobol v4.1.20-e
PRN=O1UPR/BMG:8b.i1.13.02
PTI=NLS
PTI=Y2K
Chapter 2 21
Installation Information
Installing HP Micro Focus Object COBOL/UX
B.13.35 cobwhat Listed below are some cobwhat examples and sample outputs for this
Examples version of HP Micro Focus Object COBOL/UX:
Output: --------------------------------------------------
File : pi.int
Micro Focus COBOL for UNIX V4.1 revision 020
--------------------------------------------------
22 Chapter 2
Installation Information
Installing HP Micro Focus Object COBOL/UX
Output:
--------------------------------------------------
File : pi.gnt (executable)
PII 98113012165559 GNB-153056000AA PA-RISC ncg B.13.35
--------------------------------------------------
File : pi.o
PII 98113012165764 GNB-153056000AA PA-RISC ncg B.13.35
--------------------------------------------------
File : pi.idy
Micro Focus COBOL for UNIX V4.1 revision 020
--------------------------------------------------
Output:
--------------------------------------------------
File : pi (executable)
PII 98113012165764 GNB-153056000AA PA-RISC ncg B.13.35
--------------------------------------------------
File : pi.snt
PII 98113012165714 GNB-153056000AA PA-RISC ncg B.13.35
--------------------------------------------------
File : /opt/cobol/cobdir/coblib/libcobol.sl (Shared Library)
ADIS 98111520591030 GNB-075056006AA PA-RISC ncg 0.00.00
ADISDYNA 98111520592200 GNB-075056006AA PA-RISC ncg 0.00.00
ADISINIT 98111520592470 GNB-075056006AA PA-RISC ncg 0.00.00
ADISKEY 98111520592711 GNB-030056000AA PA-RISC ncg 0.00.00
ADISKEY2 98111520593005 GNB-075056006AA PA-RISC ncg 0.00.00
mFFH 98111521005391 GNB-153056000AA PA-RISC ncg 0.00.00
bsio 98111521013842 GNB-153056000AA PA-RISC ncg 0.00.00
CBLDC001 98111521011909 GNB-153056000AA PA-RISC ncg 0.00.00
BTR2XFH 98111520595569 GNB-075056006AA PA-RISC ncg 0.00.00
PANELS 98111520594503 GNB-019056000AA PA-RISC ncg 0.00.00
direct2 98111521025421 GNB-030056000AA PA-RISC ncg 0.00.00
mfconfig 98111521032749 GNB-019056000AA PA-RISC ncg 0.00.00
cobintfn 98111521031127 GNB-030056000AA PA-RISC ncg 0.00.00
cobidbcs 98111521032134 GNB-030056000AA PA-RISC ncg 0.00.00
_CLASS 98111521022789 GNB-075056006AA PA-RISC ncg 0.00.00
_CODESET 98111521023074 GNB-075056006AA PA-RISC ncg 0.00.00
fcossec 98111521021404 GNB-075056006AA PA-RISC ncg 0.00.00
CHECKFIL 98111521023331 GNB-075056006AA PA-RISC ncg 0.00.00
COBWIN2 98111521034691 GNB-075056006AA PA-RISC ncg 0.00.00
CBLDC003 98111521012194 GNB-153056000AA PA-RISC ncg 0.00.00
XFHNAME 98111521012488 GNB-153056000AA PA-RISC ncg 0.00.00
XFHLABEL 98111521012819 GNB-153056000AA PA-RISC ncg 0.00.00
XFHTRACE 98111521013120 GNB-153056000AA PA-RISC ncg 0.00.00
ESDSFH 98111521013444 GNB-153056000AA PA-RISC ncg 0.00.00
mfini 98111521033441 GNB-030056000AA PA-RISC ncg 0.00.00
FHREDIR 98111521015989 GNB-075056006AA PA-RISC ncg 0.00.00
--------------------------------------------------
Chapter 2 23
Installation Information
Installing HP Micro Focus Object COBOL/UX
You can view these files from any html browser, such as the Netscape
Navigator.
To view the manuals, from your browser, load the following file:
$COBDIR/docs/html/library.htm
This page links you to all of the available COBOL online books.
24 Chapter 2
Installation Information
Product Configuration
Product Configuration
HP Micro Focus Object COBOL/UX is already configured to run on your
HP 9000. You can change the default configuration and you can control
certain machine independent features, such as the message text that HP
Micro Focus Object COBOL/UX displays. See the Micro Focus Object
COBOL Programmer’s Guide to Writing Programs, “Application
Configuration System” for more information.
The system administrator should make all the changes to the HP Micro
Focus Object COBOL/UX default configuration.
Chapter 2 25
Installation Information
Product Configuration
26 Chapter 2
License Management with FLEXlm and COBOL
Introduction to FLEXlm
This version of HP Micro Focus Object COBOL/UX includes
GLOBEtrotter Software’s flexible license management tool, FLEXlm.
FLEXlm provides a flexible and secure method of managing concurrent
use license access to software from a multi-platform, heterogeneous user
environment.
This gives you the following benefits:
• the ability to track the exact number of users that are using COBOL
for audit and planning purposes
• make COBOL licenses available (or float) to any user on any
computer on a network instead of being tied to a specific computer.
Instead, there is a pool of licenses for the network.
• make use of COBOL by development teams more cost effective
• purchase additional licenses based on demonstrated need instead of
guesswork
FLEXlm Requirements
You must have the following to use FLEXlm licensing with HP Micro
Focus Object COBOL Developer Suite:
Chapter 3 27
License Management with FLEXlm and COBOL
FLEXlm Components
FLEXlm has four major components:
28 Chapter 3
License Management with FLEXlm and COBOL
Chapter 3 29
License Management with FLEXlm and COBOL
30 Chapter 3
License Management with FLEXlm and COBOL
• Compiler
• Animator
• Toolbox
• Dialog System
• Editor
• Menu Handler (cmenu)
The run-time is not under license enforcement at this time. Therefore,
applications developed with this version of HP Micro Focus Object
COBOL/UX can be run on systems that do not have FLEXlm installed.
Chapter 3 31
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
NOTE If you are updating from HP Micro Focus Object COBOL/UX version
B.12.2x or B.13.2x (Micro Focus version 4.1) to this version, you can use
your current FLEXlm configuration.
For New Installations: If this is a new installation of HP Micro Focus Object COBOL/UX, after
you have installed HP Micro Focus Object COBOL Developer Suite, you
will need to do the following steps to install, set up, and start FLEXlm:
32 Chapter 3
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
All path references and examples in this document refer to this default
path. If you install your FLEXlm components in a different location or if
you already had a version of FLEXlm installed, please note that your
FLEXlm location will be different than the examples in this document.
IMPORTANT You must run the hpmfocdsini script even if you already have FLEXlm
installed. It also identifies your hostid and hostname; you need this
information to redeem your licenses.
Chapter 3 33
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
NOTE If you cannot locate these documents or have questions about FLEXlm,
contact Licensing Services at:
Hewlett-Packard World Wide Licensing Services
California, U.S.A.
Phone: 650-960-5111
fax: 650-960-5670
e-mail: hplicense@mayfield.hp.com
Hours: Monday through Friday, 8am-5pm PST
Grenoble, France
Phone: +33.(0)4.76.14.15.29
fax: +33.(0)4.76.14.25.15
e-mail: codeword_europe@hp-france-gen1.om.hp.com
Hours: Monday through Friday, 8am-5pm GMT +1
You can redeem your licenses by using one of the following two methods:
1. Complete the License File Request Form on the web site at:
http://us-support.external.hp.com (Americas)
http://europe-support.external.hp.com (Europe/Asia
Pacific)
When the license.dat file entries are displayed, save them as a
text file on your system.
This method takes about 15 minutes.
2. Fill out the License File Request Form and fax it to HP at the
appropriate number for you listed on the Software License
Certificate.
You will receive your license.dat file entries by e-mail and fax
within eight business hours.
34 Chapter 3
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
To complete the License File Request Form, you will need to know both
your hostid and hostname of the license server system (or systems if
you have redundant servers).
The hostid and hostname were displayed by the hpmfocdsini script and
a copy of the information was left in the /var/tmp/hpmfocdsini.log
file that hpmfocdsini generated.
• /var/tmp/hpmfocdsini.log
• /tmp/hpmfocdsini.log
• /usr/tmp/hpmfocdsini.log
• ./hpmfocdsini.log
If you cannot locate this information, you can run hpmfocdsini again
from the system(s) that will be your license server(s) and answer No to
the first question. The hostid and hostname are displayed before the
first question is asked and answering No to the first question suppresses
a second installation of the FLEXlm components.
Alternately, to obtain the hostname, from the server system(s) run
$ uname -n
or in ksh, run:
$ print $(uname -i) 16 o p | dc
Chapter 3 35
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
1. Add the DAEMON and INCREMENT lines from your License File
Certificate into the existing license.dat file. Ensure that the
DAEMON line precedes any INCREMENT lines. Do not add
SERVER lines to your license.dat file (see Note below).
2. If you did not create or modify an options file for the hpcuplangs
vendor daemon, run
$ /usr/local/flexlm/bin/lmreread
36 Chapter 3
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
$ /usr/local/flexlm/bin/lmdiag hpmfcobol
If this does not work, you may need to stop all of the lmgrd processes
on your network and then restart them as described in the section,
“Starting lmgrd (License Manager Daemon)” on page 40.
3. If you did change or add an options file, you will need to shutdown the
lmgrd with lmdown and then restart it to cause the new options file
to be read.
1. Copy the SERVER, DAEMON, and INCREMENT lines (in that order)
from your License File Certificate into the license.dat file.
The recommended location for the license.dat file is:
/usr/local/flexlm/licenses/license.dat
However, the file can be located anywhere that the license servers
and license clients can reliably access it.
Here is an example of a license file:
Chapter 3 37
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
NOTE The server line contains a port address of 7788. You will need to change
this port address if you have another FLEXlm lmgrd already using port
7788 to serve another license.dat file, or if you have to have some
other process using this port.
NOTE You can verify that the license file is valid by running lmcksum:
$ lmcksum -c /usr/local/flexlm/licenses/license.dat
38 Chapter 3
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
The debug log file output can be switched after the daemons are
running. The technique to do this involves piping the stdout of
lmgrd to a shell script that appends to the file for each line. To do
this, instead of the normal start-up of $ lmgrd > filename.log,
start lmgrd this way:
$ lmgrd | sh -c ‘while read line; do echo “$line” >> \
filename.log ; done’
Then start lmgrd by running this script with the following command
line:
$ nohup startflex filename.log &
5. Configure your server boot process to start lmgrd for this new
license.dat file when the server system is booted. This process is
described in the following section, “Automating Subsequent FLEXlm
License Manager Start-ups” on page 39.
6. Once the new license.dat and option files are ready, you can start
the lmgrd daemon and specify (or default to) the new license.dat
file. This process is described in section “Starting lmgrd (License
Manager Daemon)” on page 40.
Chapter 3 39
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
if [ -f /usr/local/flexlm/bin/lmgrd ]
then
LM_LICENSE_FILE=/usr/local/flexlm/licenses/license.dat
export LM_LICENSE_FILE
LIC_DATA=‘dirname $LM_LICENSE_FILE‘
echo Starting FLEXlm license daemon
su nonrootuser -c “/usr/local/flexlm/bin/lmgrd -c $LM_LICENSE_FILE \
>$LIC_DATA/license.log”
echo Starting FLEXlm license daemon
sleep 5
fi
Starting lmgrd:
$ cd /usr/local/flexlm/bin
$ ./lmgrd -c /usr/local/flexlm/licenses/license.dat | sh -c ‘while read \
line; do echo “$line” >> /flexlm_logfile_path/licenses.log ; done’
<Starts lmgrd>
$ ./lmstat -a -c /usr/local/flexlm/licenses/license.dat <Verifies that lmgrd
started correctly>
You will see a list of vendor daemons running as well as a list of licenses
by product name. If the information does not appear to be correct, check
the log file for any error messages with the following command:
$ cat /logfile_path/logfile
40 Chapter 3
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
NOTE If you have more than one SERVER line in your license.dat file, (for
example, if you are using a redundant server configuration), you need to
start lmgrd on all of the machines listed on SERVER lines before
lmstat will show that the licenses are available.
Chapter 3 41
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
was installed), you must correct the path on the DAEMON line before
you will be able to successfully start the FLEXlm license manager and
run HP Micro Focus Object COBOL/UX.
Using Options
Options not listed in this section, but listed in GLOBEtrotter’s FLEXlm
documentation, are disabled in this implementation.
The available options are:
EXCLUDE excludes specific users from checking out licenses for a
particular feature.
GROUP allows the specification of a group of users for use in
the other commands.
INCLUDE specifies users who are allowed access to a particular
feature.
LINGER causes a license to stay with the user for the specified
time after the completion of the COBOL component
that requested it.
NOTE Setting LINGER to a value less than the minimum of 1 hour (3600
seconds) causes the minimum value to be used.
42 Chapter 3
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
REPORTLOG specifies the log file written which is suitable for use by
the Enhanced User Tools report-writer available from
GLOBEtrotter Software.
If filename begins with a plus sign (+), the file will be
opened for append; otherwise the file will be
overwritten each time the daemon is started.
RESERVE ensures that a license will always be available to one or
more specific users on one or more specific host
computer systems.
Note: Any license reserved for a user is dedicated to
that user. Even when that user is not actively using
the license it will be unavailable to other users.
However, a RESERVED license will not cause an
overdraft to be reported by FLEXadmin if the license is
not actually in use.
• If there is only an EXCLUDE list, everyone who is not on the list will
be allowed to use the feature.
• If there is only an INCLUDE list, only those users on the list will be
allowed to use the feature.
• If neither list exists, then everyone is allowed to use the feature.
• The EXCLUDE has precedence over the INCLUDE list; so someone
who is on both lists will not be allowed to use the feature.
Once you create an INCLUDE or EXCLUDE list, everyone else is
implicitly “outside” the group. This feature allows you, as an
administrator, the ability to control licenses without having to explicitly
list each user that you wish to allow or deny access to.
Chapter 3 43
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
Lines beginning with the pound sign (#) are ignored and can be used as
comments.
For example, in this options file,
RESERVE 1 hpmfcobol USER pat
RESERVE 3 hpmfcobol USER lisa
RESERVE 1 hpmfcobol HOST chaucer
EXCLUDE hpmfcobol USER joe
NOLOG QUEUED
reserves a copy of feature hpmfcobol for user pat, 3 copies for user
lisa, and a copy for anyone on a computer with the hostname of
chaucer, and causes QUEUED messages to be omitted from the log file.
In addition, user joe is not allowed to use the feature hpmfcobol.
44 Chapter 3
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
Whenever you change the fourth field on the DAEMON line in the
license.dat file or you change or add an options file, you will need to
shutdown the lmgrd with lmdown and then restart it to cause the new
options file to be read.
Chapter 3 45
License Management with FLEXlm and COBOL
FLEXlm Utilities
FLEXlm Utilities
When hpmfocdsini installs the FLEXlm components, it installs the
license administration tool, lmutil. lmutil contains several utility
programs embedded within it. You can use these utilities to better
manage the use of FLEXlm licenses.
By default, the utilities are placed in /usr/local/flexlm/bin.
However, they may be elsewhere if FLEXlm was already present on the
system, or if hpmfocdsini was directed to install FLEXlm at an
alternate location.
You can access these utilities two different ways. You can use lmutil to
run the utility:
$ cd /usr/local/flexlm/bin
$ ./lmutil utility_name
$ ./lmstat -a
• lmcksum
• lmdiag
• lmdown
• lmhostid
• lmremove
• lmreread
• lmstat
• lmswitchr
• lmver
46 Chapter 3
License Management with FLEXlm and COBOL
FLEXlm Utilities
Using lmcksum
This utility performs a checksum of a license file. This is useful to verify
data entry errors in your license file. lmcksum prints a line-by-line
checksum for the file as well as an overall file checksum. lmcksum takes
the -k switch to force the encryption key checksum to be case-sensitive.
lmcksum ignores all fields that do not enter into the encryption key
computation. Therefore, the SERVER name and port number, as well as
the DAEMON pathname and options file names are not checksummed.
In addition, lmcksum will treat non-case-sensitive fields correctly (in
general, lmcksum is not case-sensitive).
lmcksum takes an optional DAEMON name; if specified, only license file
lines for the selected DAEMON are used to compute the checksums.
By default, lmcksum operates on license.dat in the current directory.
Specify -c license_file if you want to checksum another license file.
lmcksum Sample
Output:
lmcksum - Copyright (C) 1989, 1993 Globetrotter Software, Inc.
lmcksum: using license file “/usr/local/flexlm/licenses/license.dat”
Chapter 3 47
License Management with FLEXlm and COBOL
FLEXlm Utilities
Using lmdiag
This utility allows you to diagnose problems encountered when trying to
check out a license. Its usage is as follows:
lmdiag [-c license_file] [-n] [feature]
where
-c license_file is the path to the license.dat file that contains the
features you are having trouble with.
-n run in non-interactive mode. lmdiag will not prompt
for any input. Extended connection diagnostics are not
available.
feature diagnose this feature only.
The lmdiag utility operates on all of the features specified in all license
files found in your path. It prints information about each license and
attempt to check them out. lmdiag indicates whether the checkout
attempt succeeded or failed. If the checkout fails, the reason is given. If
the reason for failure is that lmdiag is unable to comment to the license
server, it gives you the option of running extended connection
diagnostics.
Extended connection diagnostics attempt to connect to each port on the
license server nodes(s) and will indicate if the port number specified in
the license.dat file is incorrect. lmdiag indicates each port number
that is listening and indicates if it is a lmgrd process. If the vendor
daemon for the feature being tested is found, lmdiag indicates the
correct port number to use in the license.dat file to solve the problem.
Using lmdown
This utility allows for the graceful shutdown of all license daemons (both
lmgrd and vendor daemons) on all nodes. Its usage is as follows:
lmdown [-c license_file]
where
-c license_file specifies the license.dat file to operate on.
48 Chapter 3
License Management with FLEXlm and COBOL
FLEXlm Utilities
IMPORTANT When shutting down redundant servers, there is a one minute delay
before the servers shut down. Never use kill -9 to shut down the
license servers.
Using lmhostid
This utility can be used to identify the correct hostid value (that must
match the hostid value on SERVER lines in the license.dat file if the
machine is a server) on any machine support by FLEXlm. Its usage is:
lmhostid
Chapter 3 49
License Management with FLEXlm and COBOL
FLEXlm Utilities
Using lmremove
This utility generally allows the system administrator to remove a single
user’s license for a specified feature. However, you cannot use lmremove
to remove a COBOL license.
If you attempt to do this, lmremove appears to succeed and lmgrd logs a
message stating that the license was removed; however, the license is not
given up and returned to the pool of available licenses.
Using lmreread
This utility causes the license daemon to reread the license file and start
any new vendor daemons that have been added. In addition all
pre-existing vendor daemons will be signaled to reread the license file for
any changes in feature licensing information. lmreread cannot be used
to change server node names or port numbers. Its usage is as follows:
lmreread [-c license_file] [daemon]
where
-c license_file specifies the license file to operate on. In this case, only
lmreread will read the license file specified; lmgrd
will reread the license file it originally read at start-up
time.
daemon specifies the vendor daemon to signal. If a vendor
daemon is specified in this manner, only the named
vendor will reread the license file. In this case, lmgrd
will not reread the license file (and will not start any
new vendor daemons that might have been added).
Using lmstat
This utility allows the system administrator and/or user to quickly
monitor the status of all FLEXlm licensing activities. lmstat returns
information such as:
50 Chapter 3
License Management with FLEXlm and COBOL
FLEXlm Utilities
Using lmswitchr
This utility switches the report writer REPORTLOG log file for the
specified feature. It will also start a new REPORTLOG file if one does
not already exist.
Its usage is:
lmswitchr [feature] [new-file]
where
feature is any feature the DAEMON supports.
new-file is the new file path.
Chapter 3 51
License Management with FLEXlm and COBOL
FLEXlm Utilities
Using lmver
This utility reports the FLEXlm version of a library or binary file.
Its usage is:
lmver [filename]
where
-filename is the name of a program or library.
For example, to determine the version of FLEXlm used by COBOL, type:
$ lmver $COBDIR/coblib/libcobol.sl
You can use the following command to get the FLEXlm version of a
binary:
$ strings file | grep Copy
If you omit the argument, lmver tries to find the FLEXlm library
liblmgr.a and warns you that it cannot find it.
52 Chapter 3
License Management with FLEXlm and COBOL
FLEXlm Directory Structure
/usr/local/flexlm/licenses/
licenses.dat
/usr/local/flexlm/options/
hpcuplangs.opt
/usr/local/flexlm/vendors/
HPCUPLANGS
Chapter 3 53
License Management with FLEXlm and COBOL
Troubleshooting FLEXlm
Troubleshooting FLEXlm
This section documents areas of FLEXlm that have given customers
difficulty in the past.
NOTE If you cannot find the answer to your question here, you can find
additional information on configuring and administering FLEXlm
GLOBEtrotter’s FLEXlm End User Manual, and their FAQ at
GLOBEtrotter’s web site:
http://www.globetrotter.com
Troubleshooting Tips
Wrong hostid for Machine
License manager states hostid is wrong for machine.
The vendor daemon checks the hostid listed on the SERVER line in the
license file; if it does not match the hostid of the machine it is running on,
this message will be printed. Possible causes include
• you are trying to run the license server on a different machine from
the machine the file was made for
• the hostid of the machine you are running on changed (for example,
the CPU board was replaced or the HP ID module was moved)
• the hostid in the license file was modified
Verify that the hostid of the machine running the vendor daemon
matches the hostid specified in the license file on the SERVER line for
the vendor. You can run the lmhostid program to see what FLEXlm
thinks the hostid is. You may not modify the hostid in the license file. If
the hostid of your server machine changes, you will have to get a new
license file from Hewlett-Packard.
54 Chapter 3
License Management with FLEXlm and COBOL
Troubleshooting FLEXlm
If you omit the argument, lmver tries to find the FLEXlm library
liblmgr.a and warns you that it cannot find it.
Known Problems
lmdiag Logs “expected and harmless” error -37
Messages
lmdiag logs “expected and harmless” error -37 messages to the lmgrd log
file. These messages are of the form:
HH:MM:SS (HPCUPLANGS) Feature hpmfcobol parameter mismatch
checkout denied (current: nnn,request: nnn)
Chapter 3 55
License Management with FLEXlm and COBOL
FLEXlm Error Messages (Return Status Values)
NOTE For errors not listed in this section, check the "Frequently Asked
Questions" pages on the GLOBEtrotter web site:
http://www.globetrotter.com
____________________________________________________________________________
These are all the possible errors returned from lc_xxx() functions.
Error number
Symbolic Name and Description
The license file cannot be opened. FLEXlm will attempt to open the
56 Chapter 3
License Management with FLEXlm and COBOL
FLEXlm Error Messages (Return Status Values)
The daemon name specified in the license file FEATURE line does not
match the vendor daemon name.
This happens if a SERVER line does not specify a TCP/port number, and
the TCP license service does not exist
in /etc/services.
lc_disconn() was called after the process had been disconnected from
the socket. This error can also occur if an internal error happens
within l_sndmsg() or l_rcvmsg().
The code in a license file line does not match the other data in the
license file. This is usually the result of not building all the
software components with the same encryption seeds. Check makekey.c,
lsvendor.c, and your application code carefully to insure that they are
all built with the same vendor code.
ACTION:
Run lmcksum on your license file to confirm that it is valid.
If you have started lmgrd with the LM_LICENSE_FILE environment
variable set, check that LM_LICENSE_FILE is set to the same value
Chapter 3 57
License Management with FLEXlm and COBOL
FLEXlm Error Messages (Return Status Values)
The hostid specified in the license file does not match the node on
which the software is running.
The feature has expired, i.e., today's date is after the expiration
date in the license file.
-13 LM_NO_SERVER_IN_FILE
There is no SERVER line in the license file. All non-zero license count
features need at least one SERVER line.
The gethostbyname() system call failed for the SERVER nodename in the
license file.
ACTION:
If you have started lmgrd with the LM_LICENSE_FILE environment
variable set, check that LM_LICENSE_FILE is set to the same value
for all users of Micro Focus Object COBOL.
58 Chapter 3
License Management with FLEXlm and COBOL
FLEXlm Error Messages (Return Status Values)
The process cannot read data from the daemon within the timeout
interval.
The connection was reset by the daemon (usually because the daemon
exited) before the process attempted to read data.
The process could not write data to the daemon after the connection was
established.
The feature has expired (on the server node), or has not yet started,
or the version is greater than the highest supported version.
ACTION:
Run lmcksum on your license file to confirm that it is valid.
If you have started lmgrd with the LM_LICENSE_FILE variable set,
check that LM_LICENSE_FILE is set to the same value for all users
of Micro Focus Object COBOL.
If you see this message when you run lmdiag, you can ignore it;
This is a known problem in the FLEXlm software and has been
reported to GLOBEtrotter.
The select() system call failed. This should never happen in a client
program.
The checkin request did not receive a proper reply from the vendor
daemon (the license might still be considered in use).
Chapter 3 59
License Management with FLEXlm and COBOL
FLEXlm Error Messages (Return Status Values)
-26 LM_TOOMANY "request for more licenses than this feature supports"
A checkout request was made for more licenses than are supported in the
license file. This request will never succeed.
The file /dev/kmem is not readable on this system. This error will only
occur if using extended hostid checking, which is no longer supported
in current versions of FLEXlm.
The file /vmunix is not readable on this system. This error will only
occur if using extended hostid checking, which is no longer supported
in current versions of FLEXlm.
The feature is not enabled yet (current date is before the feature
start date).
60 Chapter 3
License Management with FLEXlm and COBOL
FLEXlm Error Messages (Return Status Values)
The date on the client system does not agree closely enough with the
date on the server (daemon) system. The amount of difference allowed is
set by the software vendor with lc_set_attr(LM_A_MAX_TIMEDIFF, ...).
This checkout request has resulted in the process being placed in the
queue for this feature. Subsequent calls to lc_status() will yield the
status of this queued request.
The checkout request for this feature has specified a duplicates mask
that does not match the mask specified by an earlier checkout. This is
probably the result of using different versions of your client
software, or from having an uninitialized variable in the dup_group
field for lc_checkout().
ACTION:
This is a known problem in the FLEXlm software and has been
reported to GLOBEtrotter. You can ignore these errors.
Chapter 3 61
License Management with FLEXlm and COBOL
FLEXlm Error Messages (Return Status Values)
No FLEXlm key data was supplied to the lc_init() call. Some FLEXlm
functions will be disabled.
Invalid FLEXlm key data was supplied to the lc_init() call. Some FLEXlm
functions will be disabled.
lc_checkout() returns this code when the CLOCK SETTING check between
client and daemon is not supported in this daemon. Try calling:
lc_set_attr(LM_A_MAX_TIMEDIFF, -1)
62 Chapter 3
License Management with FLEXlm and COBOL
FLEXlm Error Messages (Return Status Values)
The expiration date format in FLEXlm licenses are good until the year
2027. This is probably a bogus date.
The FLEXlm Demo vendor keys have expired. Contact Globetrotter Software
for new demo keys.
A FLEXlm function was called before lc_init() was called. Always call
lc_init() first.
This can occur when the Unix OS runs out of system resources.
Chapter 3 63
License Management with FLEXlm and COBOL
FLEXlm Error Messages (Return Status Values)
encrypted and checksummed for security and integrity. The checksum will
usually fail because of poor networking communications.
LM_CODE macro was not used to define the VENDORCODE argument for
lc_init. See lm_code.h and lmflex.c for an example of how to use the
LM_CODE macro.
64 Chapter 3
License Management with FLEXlm and COBOL
FLEXlm Error Messages (Return Status Values)
V3.0 uses 4-vendor keys. This error detects that the LM_CODE macro was
used with only 3 keys.
Vendor daemon FLEXlm version is older than the client's FLExlm version.
Chapter 3 65
License Management with FLEXlm and COBOL
FLEXlm Error Messages (Return Status Values)
When a feature has the USER_BASED attribute, this error occurs when
there no INCLUDE line in the end-user options file for this feature, or
the number of users included exceeds the number authorized. See Section
10.1.4, `FEATURE or INCREMENT Line,' on page 92, especially USER_BASED.
This occurs when a vendor daemon with a FLEXlm version older than the
client is being used. The daemon didn't understand and respond to the
request made by the application.
___________________________________________________________________________
66 Chapter 3
Documentation
COBOL Information
4 Documentation
COBOL Information
The documents described in this section are available with HP Micro
Focus Object COBOL/UX.
To order sets of the printed documentation contact your
Hewlett-Packard Sales Representative and request product number
B5449EA. However, please note that the printed documentation set was
not revised for Micro Focus version 4.1.20; only the online html files were
revised. If you order B5449EA, you will receive the printed manual set
for Micro Focus version 4.1.10.
The HP Micro Focus Object COBOL/UX Programmer’s Guide is only
available in online format. It was not printed and is not included in the
printed documentation kit, B5449EA.
NOTE Only HP Micro Focus Object COBOL/UX Release Notes for Version
B.13.35 is included on the HP Instant Information CD.
Chapter 4 67
Documentation
COBOL Information
$COBDIR/ HP Micro
$COBDIR/ Focus COBOL
Information docs/html/ Printed
docs
library.htm Website(a)
68 Chapter 4
Documentation
COBOL Information
Chapter 4 69
Documentation
COBOL Information
The following online documents from Micro Focus are located in the
$COBDIR/docs directory:
NOTE Any Early Release features from Micro Focus are NOT included in the
HP Micro Focus COBOL/UX product.
70 Chapter 4
Documentation
COBOL Information
Chapter 4 71
Documentation
COBOL Information
• cob(1)
72 Chapter 4
Documentation
Other Useful Information
• anim(1)
• cobrun(1)
To be able to access the COBOL man pages with the man command, you
must first set and export the MANPATH environment variable, even if
you leave the product in the default installation location. See “Known
Problems” on page 76 for more information.
To set and export the MANPATH environment variable, enter the
following command:
$ export MANPATH=$COBDIR/man:$MANPATH
HP-UX Documentation
• The Linker and Libraries Online User’s Guide is available for HP
9000 systems. This book used to be known as Programming on
HP-UX. The online manual can be found at the HP Documentation
website at the following URL:
http://www.docs.hp.com
The online help version comes with HP C, HP C++, HP Fortran, HP
Pascal, and HP Micro Focus Object COBOL/UX. Online help can be
accessed from any X Window display device, or from the
charhelp(1) character-mode help browser.
Refer to the following documents for more information on the HP-UX
operating system. These HP-UX operating system manuals are also
available at the HP Documentation web site noted above.
• HP-UX Reference
• System Administration Tasks
• Installing HP-UX 10.01 and Updating HP-UX 10.0 to 10.01
• Release Notes for HP-UX 10.20
• Upgrading from HP-UX 9.x to HP-UX 10.01
Chapter 4 73
Documentation
Other Useful Information
74 Chapter 4
Known Problems, Limitations, and Fixes
For a list of HP Micro Focus Object COBOL/UX problems and their fixes,
see the Technical Knowledge Database on the HP Electronic Support
Center website:
http://us-support.external.hp.com/
http://europe-support.external.hp.com/
Step 1. Once at the website, enter your User ID and Password, then click Okay.
Step 3. Verify that your Search Options include “HPUX” under System Type
and” Service Request” under Document Type.
Step 4. Enter 35326B in the Search String field, then click Search.
Note: 35326B is the support number for COBOL, B3455A is the support
number for Toolbox and B3453A is the support number for Dialog
System.
Chapter 5 75
Known Problems, Limitations, and Fixes
Known Problems
Known Problems
76 Chapter 5
Known Problems, Limitations, and Fixes
Limitations
Limitations
Chapter 5 77
Known Problems, Limitations, and Fixes
Workarounds and Fixes
or
$ /usr/dt/bin/dthelpview -helpVolume /opt/langtools/lib/help/C/li
nker.hv
78 Chapter 5
Known Problems, Limitations, and Fixes
Closed Defects
Closed Defects
The following defects have been recently closed in HP Micro Focus Object
COBOL/UX. You can find a detail report for these closed defects in
$COBDIR/docs/hp_README.
Chapter 5 79
Known Problems, Limitations, and Fixes
Closed Defects
Number: 1653050005
document that SIGQUIT detected from COBOL spawns a subshell
Signed off 07/02/98 in release B11.25
________________________________________________________________________
Number: 1653083782
h2cpy does not translate C structures with float or double
Signed off 09/10/97 in release B08.75
________________________________________________________________________
Number: 1653095901
calling ‘stty’ from a closedown procedure gives stty error;STDIN closed?
Signed off 09/10/97 in release B11.25
________________________________________________________________________
Number: 4701287045
MFCOBOL/UX B.08.15: NCG error: ustack not empty (5129) on COMPUTE
Signed off 10/16/97 in release B10.42
________________________________________________________________________
Number: 1653119545
B.08.10: array MOVEs from Linkage to Local-Storage field not correct
Signed off 10/15/97 in release B11.27
________________________________________________________________________
Number: 1653174771
MFCOBOL B.10.32: Rounding of COMP-2 to PIC 9(9) is ignored in COMPUTE
Signed off 09/10/97 in release B10.45
________________________________________________________________________
Number: 1653193516
B.10.xx: rts 907 Signal/Thread assertion failed - with hp_nosignals.o
Signed off 09/10/97 in release B11.50
________________________________________________________________________
Number: 1653198226
B.11.26, B.10.41, B.08.76: rts 153 on ADD with last array item
Signed off 09/10/97 in release B11.27
________________________________________________________________________
Number: 1653212548
MFCOBOL B.11.2x: rts 114 on MOVE S9(09) COMP to S9(06) COMP in Linkage
Signed off 09/10/97 in release B11.28
________________________________________________________________________
Number: 1653219550
MFCOBOL B.11.27 generates bad _hp_ver_lhpcobl.c file: libhpcobol.1l
Signed off 09/10/97 in release B11.50
________________________________________________________________________
Number: 1653221788
80 Chapter 5
Known Problems, Limitations, and Fixes
Closed Defects
Number: 1653223230
MFCOBOL B.11.2x: adiscf enable/disable fkeys “Invalid option” 5003379099
Signed off 02/11/98 in release B11.30
________________________________________________________________________
Number: 1653233007
MFCOBOL rts 114 (Signal 11) on MOVE PIC 9(2)V9(1) to PIC 99.9, if -C NLS
Signed off 07/02/98 in release B12.26
________________________________________________________________________
Number: 1653234203
MFCOBOL B.10.41-B.11.28: COMPUTE F1(A) = F1(A) - F2 wrong native result
Signed off 07/02/98 in release B12.26
________________________________________________________________________
Number: 1653238485
MFCOBOL B.10.42-B.12.25 wrong result in ADD or MULTIPLY if native code
Signed off 07/02/98 in release B11.30
________________________________________________________________________
Number: 4701240358
fhrebuild creates an invalid key file larger than the original key file
Signed off 09/11/97 in release B08.76
________________________________________________________________________
Number: 4701252338
rts 114 when MOVE of array element PIC XX to data item PIC XX; gnt or .o
Signed off 09/16/97 in release B08.76
________________________________________________________________________
Number: 4701260901
SETTINGS option shows NOLINKCOUNT”512” if LINKCOUNT=512 is specified
Signed off 10/16/97 in release B11.25
________________________________________________________________________
Number: 4701293498
Cross session animation doesn’t work for accept statements
Signed off 10/16/97 in release B10.45
________________________________________________________________________
Number: 4701310409
B.10.xx: rts 115 (Signal 22) with Sybase; signal_regime tunable missing
Signed off 10/16/97 in release B10.43
________________________________________________________________________
Number: 4701325431
-C WRITETHRU (for MF buffer) buffers @ 512 bytes for LS files.
Signed off 10/16/97 in release B10.42
________________________________________________________________________
Number: 4701326314
Chapter 5 81
Known Problems, Limitations, and Fixes
Closed Defects
B.10.xx: rts 114 occurs when EXTERNAL data items accessed, SQLPROT used
Signed off 10/16/97 in release B10.42
________________________________________________________________________
Number: 4701329854
MFCOBOL compiler loops or compiler error 301-S on INITIALIZE w qualifier
Signed off 10/16/97 in release B11.27
________________________________________________________________________
Number: 4701342261
MOVE FUNCTION MAX fails in native code
Signed off 10/16/97 in release B11.50
________________________________________________________________________
Number: 4701343228
Big app w many sorts dies w rtserr 114 in sort module
Signed off 10/16/97 in release B11.27
________________________________________________________________________
Number: 4701344689
IDXFORMAT(4) file is corrupt and can’t rebuild
Signed off 10/16/97 in release B10.41
________________________________________________________________________
Number: 4701345165
Target array bounds checking broken.
Signed off 10/16/97 in release B11.27
________________________________________________________________________
Number: 4701347658
Native checker does not always produce an error summary.
Signed off 10/16/97 in release B10.41
________________________________________________________________________
Number: 4701348169
MFCOBOL B.10.41: OPEN INPUT of var len file on WORM drive returns 9/030
Signed off 07/02/98 in release B11.25
________________________________________________________________________
Number: 4701348524
Variable length temp files required for Variable length sorts
Signed off 10/16/97 in release B08.18
________________________________________________________________________
Number: 4701349258
CCINAMPU hangs on fileshare open on hpux 10.10/10.20 works 10.01
Signed off 07/02/98 in release B11.27
________________________________________________________________________
Number: 4701349852
animator aborts on pi in B.11.2[67], B.10.4[12] w rts err 114
Signed off 10/16/97 in release B10.43
________________________________________________________________________
Number: 4701350280
82 Chapter 5
Known Problems, Limitations, and Fixes
Closed Defects
Number: 4701352252
ncg problem: works as GNT but not as EXE w procedure pointers
Signed off 10/16/97 in release B11.28
________________________________________________________________________
Number: 4701356006
B.11.27: signal 10 on snt caused by LDH instruction on byte-aligned addr
Signed off 10/16/97 in release B11.28
________________________________________________________________________
Number: 4701364877
Colorization doesn’t work in v4.1 COBOL for HP
Signed off 07/02/98 in release B12.26
________________________________________________________________________
Number: 4701368209
MFCOBOL B.12.25: rts 115 (Signal 6) cobrun or exe an Object COBOL module
Signed off 07/02/98 in release B12.26
________________________________________________________________________
Number: 4701368233
MFCOBOL B.12.25/B.12.50 V4.1: mkrts for striped files fails with unsats
Signed off 07/02/98 in release B12.26
________________________________________________________________________
Number: 4701371146
COBOL install probably wrong for B.11.25 (hardcoded links to /cobol/bin)
Signed off 07/02/98 in release B11.28
________________________________________________________________________
Number: 4701375394
MFCOBOL B.12.25: fhinfo, fhvalidate, fhconvert fail if filename > 10 ch
Signed off 07/02/98 in release B12.26
________________________________________________________________________
Number: 5003057521
animator Do command does not pass NULL parameters
Signed off 10/16/97 in release B12.25
________________________________________________________________________
Number: 5003147769
copy library file-name is missing from compiler error message 8
Signed off 10/16/97 in release B11.25
________________________________________________________________________
Number: 5003179275
fhvalidate and fhrebuild fail w/iserrno = 103 on indexed files, lg key
Signed off 10/16/97 in release B08.75
________________________________________________________________________
Number: 5003189118
Chapter 5 83
Known Problems, Limitations, and Fixes
Closed Defects
Number: 5003198424
copy lib not found, if COBOPT, COBCPY and COPYEXT are set
Signed off 10/16/97 in release B08.76
________________________________________________________________________
Number: 5003225649
Search verb order used to create a key instead of KEY statement in TBL
Signed off 10/16/97 in release B08.76
________________________________________________________________________
Number: 5003230888
anim testme.int | tee -a histlog does not handle input correctly
Signed off 07/02/98 in release B12.26
________________________________________________________________________
Number: 5003233460
compiling with -C XREF gives ‘Error in CSI information’ in Rpt Writer
Signed off 10/16/97 in release B11.25
________________________________________________________________________
Number: 5003271379
B.08.15: rts 114 on MOVE array item to non-array, ALIGN=4, S9(10) COMP
Signed off 10/16/97 in release B11.27
________________________________________________________________________
Number: 5003286492
B.08.xx: rts 114 when accessing multi-dimensional array in native code
Signed off 10/16/97 in release B08.76
________________________________________________________________________
Number: 5003326124
B.10.40: RTS error 114 unless program compiled with NOCHUNk
Signed off 10/16/97 in release B10.42
________________________________________________________________________
Number: 5003328047
Enhance MFCOBOL to use CCI static port assignment for secure network
Signed off 10/16/97 in release B12.25
________________________________________________________________________
Number: 5003338335
-C IBMCOMP using B.11.40 causes strangeness in compiler
Signed off 10/16/97 in release B11.27
________________________________________________________________________
Number: 5003352724
B.11.25,26: file OPEN fails with file status 35 or 37 if env var
Signed off 10/16/97 in release B11.27
________________________________________________________________________
Number: 5003355834
84 Chapter 5
Known Problems, Limitations, and Fixes
Closed Defects
Number: 5003356261
Intermittent Fileshare server abort with misc return code
Signed off 10/16/97 in release B10.43
________________________________________________________________________
Number: 5003370692
MFCOBOL: compute tmp-result = tmp-amt * tmp-qty / tmp-qty truncates
Signed off 10/16/97 in release B10.43
________________________________________________________________________
Number: 5003371328
MFCOBOL B.11.25: dsmot fails with PANELS2 Init failure ; error : 00009
Signed off 10/16/97 in release B11.28
________________________________________________________________________
Number: 5003399246
MFCOBOL NCG: SUBTRACT then ADD gives wrong result - native only
Signed off 07/02/98 in release B11.30
________________________________________________________________________
Chapter 5 85