
Corrected Product Incident
==========================

This file is known as a Corrected Product Incident (CPI). This CPI lists all
the fixes applied to the previous release of product to create this Update.
The Reported Product Incident (RPI) number is listed with a summarized
description of the original problem. 

Fixes for 2.2 SP1 Fixpack 22.02_11
----------------------------------
1051815  cob failed to compile source when $PATH exceeded 2885 bytes.
(1051832)aslmf reported incorrect number in errno.

Fixes for 2.2 SP1 Fixpack 22.02_10
----------------------------------
 531593  Fix stack walking issue affecting executables.
1051615  &
1051616  Compilation performance improvement. 
1051747  Using the checknum directive when producing generated 
         code was causing reference modification to misbehave.

Fixes for 2.2 SP1 Fixpack 22.02_9
---------------------------------
1051199  Index rebuilding created entries with incorrect data offsets.
1051527  Rebuilding the index of a C-ISAM file aborted with the message: No
         record size information.
1051066  Incorrect processing of screens-generated cobol files containing
         control characters.
1051058  On occasion ACCEPT FROM TIME was misbehaving when used in
         programs compiled with $set preprocess(window1).
1051654  Programs using report section were producing extra linefeeds.

Fixes for 2.2 SP1 Fixpack 22.02_8
---------------------------------
1051451  Under certain circumstances the result of a DIVIDE operation
         on programs compiled with -C HOSTARITHMETIC was undefined.
1051475  On occasion a MOVE from smaller to larger signed field in .gnt
         was producing a wrong result.
1051378  Conversion of "_" in a numeric field into "?" when it is moved
         was not happening. This is now achieved by compiling with these
         directives set: HOSTNUMMOVE, HOSTNUMPVE and SIGN-FIXUP and with
         the directive SPZERO not set, and by running with the switch -F to
         disable numeric checking.
1051518  Under certain circumstances an RTS 114 error occurred in mfini
         on a chained-to program.

Fixes for 2.2 SP1 Fixpack 22.02_7
---------------------------------
1051323  Mfsort handling of duplicate records improved.
1051222  Animation of generated code was incorrectly zooming some
         PERFORM statements.
1050658  Animation of generated code was incorrectly processing some step
         operations.

Fixes for 2.2 SP1 Fixpack 22.02_6
---------------------------------
1051307  MOVE using reference modification in generated code was not always
         correct.

Fixes for 2.2 SP1 Fixpack 22.02_5
---------------------------------
1051244  Some divide remainder operations using signed comp-5 variables gave
         the wrong remainder.
1050929  Difference in code generation between OCDS and Server Express resolved.
1051157  When CALL USING contained more than 10 variable length data items
         illegal .int code was produced by the compiler.
1051154  ACCEPT TIMEOUTs timed-out too quickly.
1050700  Index node size changes for CISAM files.

Fixes for 2.2 SP1 Fixpack 22.02_4
---------------------------------
1051098  Compute with rounding was giving an invalid result when using a signed
         value in generated code.

Fixes for 2.2 SP1 Fixpack 22.02_3
---------------------------------
1051028  Interrupt of animation following completion of program execution was
         not being honoured.

Fixes for 2.2 SP1 Fixpack 22.02_2
---------------------------------
1050906  Compute statements were not being correctly generated in all
         circumstances.

Fixes for 2.2 SP1 Fixpack 22.02_1
---------------------------------
1050834  Issue resolved whereby ncg was looping.

Fixes for 2.2 SP1
-----------------
526874   Multi-user fileshare issue resolved.
527417   When finding a bad record in a file rebuild was no longer producing
         the file keeping track of the next good record.
527839   Rebuild of ISAM files issue resolved.
527909   Converting C-Isam files to IDXFORMAT 8 with rebuild gave an RTS
         114 error in rbldsub.
528130   &
528380   On occasion the use of the -g option of the cob command was triggering
         a linker error when creating a .so or an executable.
528393   Fix for memory leak issue encountered when using the DATA-CONTEXT
         compiler directive.
528433   Unused index nodes are now identified as index nodes.
1032963  File Handler changes relating to use of IDXFORMAT=8 files.  
1050194  Incorrect gnt code generation of IF statement.
1050352  Ensure an extra digit of precision is used in the COMPUTE ROUNDED
         statement to match OSVS behaviour.
1050384  Handling of shared memory by AppTrack adjusted.
1050576  Rebuild would hang under certain circumstances when using data and
         index compression.

Fixes for 2.2
-------------
522479   Performance of OPEN statement on pipes improved.
526732   &
527122   Checker RTS error 114 resolve when ODOSLIDE was used in combination
         with certain statements.
526761   Generator error fixed affecting arithmetic using non-default
         sign and more than 9 decimal digits.
526784   DB2 SQL ECM backwards compatibility issue regarding definition of
         the host variable.
526791   The documentation was not stating clearly enough that the setting of 
         COBDATA affects not only the running of COBOL applications but also 
         the use of the development tools.
526792   An abnormal termination of the animator when using a terminal emulator
         from Windows was causing the debug processes to be left running. 
527403   The use of a literal as a delimiter in a reference modification 
         expression in a string delimited by statement was ignored.
526830   The documentation needed to state that the animation of an error 
         procedure is not supported.
526941   Compatibility issue with Server Express 1.1 regarding DB2 SQL ECM and 
         01 level host variable fields with a length greater than 254 
         characters.
704803   Compiling OPENESQL programs was causing a RTS error 198.
1016236  The documentation needed to describe the new tunable 
         default_cancel_mode which replaces the tunable dynamic_memory_limit.
1022033  CBL_RENAME_FILE failed if datafile was larger than 4.2Gb.
1022237  Fileshare server failed with rts error 114 when opcode 0006 was
         used.
1022949  Ambiguity related to DECIMAL-POINT IS COMMA resolved by
         introduction of DPC-IN-SUBSCRIPT directive.
1022984  CD mount instructions for Sco UnixWare v7.1.1 needed to be added to 
         CD Insert.
1024334  A second animator connect to a running process was failing.
1024377  Dfed did not obey instructions to go to records whose number was
         greater than 65537.
1024984  If a DBCS character occupied columns 71 and 72 a checker 12-S
         error occured.
1025258  Under certain circumstances the animator was hanging.
1026273  Under certain circumstances additional apptrack licenses were
         not being recognised.
1026302  Fileshare server failed with rts error 114 when opcode 0006 was
         used.
1026541  User was unable to return from called animated program instead
         the session was hanging.
1027041  Checker was hanging when reading the RD clause containing a
         GLOBAL phrase.
1027141  Under certain circumstances the ncg would fail with an rts 114 error,
1027143  Under certain circumstances the ncg would fail with an internal
         error 38.
1027570  Faultfinder was not correctly processing commit and rollback when
         logging file events.
1027900  Output written to STDERR was being sent to STDOUT.
1028404  Under certain circumstances the ncg aborted with a 46-F internal
         error.
1028438  Output written to STDERR was being sent to STDOUT.
1030521  Mfsort maximum command line length has been increased.
1030559  Fileshare problem with rollback storing transactions resolved.
1030712  Rebuilds temporary file handling has been improved.
1030862  Various small errors were present in the CD Insert.
1030891  Checker was not obeying the MAXERROR directive.
1031095  INITIALIZE group-item REPLACING NUMERIC BY ALL '9' produced
         illegal int code when the group contained items with the
         definition of PIC SV9(x) or PIC V9(x).
1031100  Miscellaneous obsolete compiler directives needed to be removed from 
         the documentation.
1031186  A control-Z character ina copyfile caused checker to terminate
         reading from that file at that point and to give an 250-S error at
         the end.
1032085  COMP-2 items were being incorrectly aligned on 4 bytes boundaries
         under IBMCOMP.
1032402  Filemapping to /dev/null was not working, output went to stdout.
1032951  Certain filenames caused .gnt programs to get a RTS 114 error.
1033218  Specifying WITH ROLLBACK in the select statement of a program
         not using Fileshare was generating a 9/100 file status.
1034129  Handling of operations on COMP-6 items with up to 9 digits
         sometimes led to incorrect results ingenerated code.
1034210  Call by reference was corrupting buffer when using reference
         modification.
1034272  Rebuild failed with 9/018 error when extfh.cfg contained IDXFORMAT=8.


Fixes for 2.0.11 SP1
--------------------
703771   The search order for extfh.cfg has been improved.
704319   Rebuild can now be used by concurrent users.
704896   Typographical errors have been corrected in the LMF Admin Guide.
705220   The runtime tunable program_search_intgnt has been added to
         provide the same functionality as the OCDS switch +I1.
705244   The performance of the rebuild utility has been improved.
705316   The Structure Files (.STR) created by the Data File Editor
         under Server Express were not compatible with those created under
         Net Express.
1017391  Under certain circumstances, following a reboot, if the first COBOL
         action that the user was taking was to anim_t or cobrun_t a program,
         then a message 'shm open fail' was produced.
1019896  Fs_check_file_exist was returning only time stamp but not file
         size or date.
1019928  Computes with ISO2000 sized COMP-3 fields were giving incorrect
         results.
1019959  An illegal use of the Alter statement was not returning a syntax error.
1020173  Numeric fields containing spaces were causing a coredump when
         subtracting 1 from field.
1020300  Under certain circumstances the compute statement was not
         providing correct results in .gnt.
1020560  File status 9/065 was returned on open to file assigned external
         and reading from named pipe.
1021085  It was not possible to remote animate a project more than once 
         in the same session. 
1021140  Under certain circumstances the Data File Editor was not saving
         modifications to fields.
1021543  Under certain circumstances the use of the -N OPT directive was
         producing a faulty shared object.
1021779  Fileshare was unable to open a file whose pathname referenced a
         double slash (ie //).
1021924  Dynamic file assignement was causing hang on execution.
1022046  Error 65-R was returned by cob -xg when the line 
         SOURCE-COMPUTER. PC DEBUGGING MODE was used.
1022193  The number of single characters or group of characters usable in
         the inspect tallying and replacing statements has been increased.
1022265  Programs using pipes were hanging in a previous release of
         Server Express.
1022542  Cobfflst was not reporting the bound check flag correctly.
1022591  There was no description of CBL_CHECK_FILE_EXIST in the on-line
         documentation.
1022593  The various chapters of the documentation presenting a subset of
         the Library routines usable in a given context (i.e. File Handling,
         Multi-threaded Programming, etc) are now cross-referencing each other.
1022611  When creating an executable using threads (cob -xvt) the return-code
         value was zero regardless of what the application was setting it to.
1022875  When using NFS mounted disks, the record locking between Unix and NT
         was not working. 
1024301  It was not possible for the EXTFH configuration file to be re-scanned
         and evaluated on demand.
1025145  The opening page of the on-line documentation contained an out of date
         URL and misleading information about what version of JVM to use for 
         MSIE users.
1025575  Under certain circumstances the animator failed to start when a
         CBL_DEBUGBREAK statement was reached when executing a program
         compiled to int or executable.
1025842  Error output was being misdirected to Standard Out for programs
         with device name :CE: for Standard Error.
1026126  Cross session animation, using $COBANIMSRV was not working.
1026151  The terminology used in the install script regarding the installation
         of the driver programs has been made clearer.
1026193  On HP and Sun Solaris it was not possible to cobrun an .int that
         resides on a read only file system e.g. a CD-ROM.


Fixes for 2.0.11
----------------
523210   SORT now allows the size of the temporary files to be more than 4Gb.
704520   Implicit reference to current working directory in COBDATA no longer
         terminates search.
704833   OpenESQL OCI option added. 
705220   OCDS +i1 functionality restored in the form of 'program_search_intgnt'
         tunable.
705427   Rts error 181 "Invalid parameter error (Fatal)" was returned
         when calling CBL_CREATE_FILE.
705496   Users could not compile DB/2 applications on HP-UX. 
705516   NCG looped compiling code with infinite perform loop.
705310   DG extended switch values were not supported in SPECIAL-NAMES.
1012749  CISAM files opened for sharing suffered a performance degradation
         reading indexed file with LOCK MODE AUTOMATIC.
1014199  'CBL_CANCEL_PROC' and 'CBL_GET_PROGRAM_INFO' calls were not documented.
1014296  The capability to link a third party ISAM file handler has been added.
1016706  Accessing print spooler via dd_ file names wasn't working in
         Server Express.
1017226  The description of error 213 has been updated for 64 bit. 
1019094  Under certain circumstances the ncg would get a 114 error.
1019168  Under certain circumstances the ncg would get a 114 error.
1019760  Under certain circumstances the ncg would report "Internal error 16".
1020017  CD insert corrected to show correct default location for LMF.
1020250  C-ISAM file locking between SX and third-party application has been
         corrected.
1020363  In a generated program a field containing HIGHVALUE was not
         tested as the highest value.
1020902  Ncg reported "cio_lexp.c 324: Internal logic error"
1020924  Compute statements using the literal 0.E0 were not being
         generated correctly.
1021063  Filehandler configuration option provided to control whether X'1A'
         should be treated as EOF.
1021158  Ncg got a 114 error under certain circumstances.
1021253  Symbol name clash between DB/2 and ODBCECM resolved.
1021547  C-ISAM file locking between SX and third-party application has been
         corrected.
1022142  Checker looped while producing the code for nested subscripts. 
1022229  NCG gave error 114 during code generation. 
1022502  move current-date to .... gave 114 with osvs cob option 
1022879  Code generated for initializing W-S data fields wasincorrect.


Fixes for 2.0.10
----------------
520276   Running the ncg under AIX 4.3.3 lead to a 115 error.
520772   Filehandler keycheck=no changed to not insist on defined keys matching.
520835   ASLMF nolicense script was not getting called when no licenses were 
         installed.
521221   Under certain circumstances the NCG did not produce output.
521556   Cobsql preprocessor was not sensitive to value cluases when looking for
         "COMP..." strings that it replaced.
521558   Under certain circumstances an error 16 occurred during code
         generation.
521559   duplicate of 521558.
521608   Documentation clarified re case-sensitivity of cobsql preprocessor
         directive
521661   Sparc NCG was not correctly generating some IF statements.
521921   Documentation of WINDOW1 syntax clarified re interaction with other
         types of accept or display.
521947   RTS now allows ACCEPTs in error procs.
703532   Documentation of CCITCP Server Name definition has been clarified.
703533   CCI support modules and related environment variables have been added
         to the documentation indexes.
703927   In animator queries did not work after a program had been cancelled.
704145   TRACEFILENAME file handler config. variable had been documented as
         TRACEFILE.
704158   CD Insert clarified with respect to space requirements of the product.
704245   SPARC ncg caused calculation of an incorrect result when using comp-x.
704339   Comparison of comp-3 items was failing sometimes in the AIX product.
704366   Rebuild help information improved.
704501   Problem fixed where animator reported file not found against /(/PO.idy.
704512   Mfsort was encountering problems when sorting 5 gigabyte files.
704536   Setting a breakpoint on a paragraph name caused the message "not enough
         room" to be displayed when the breakpoint was encountered.
704538   The ability to manipulate COBOL data types has been added to
         Server Express 2.0.
704551   COMP-6 arithmetic problem in native/executable code resolved.
704587   UNSTRING incorrectly took ON OVERFLOW exit.
704592   GOBACK RETURNING value was not visible to korn shell.
704674   Cobol program crashed when sort work file exceeds 4 Gig
704773   Sequential file assigned to named pipe got RTS error 200.
1006846  Generating certain large applications erroneously gave an internal
         error 46.

Fixes for 1.1
-------------

514046   Erroneous compiler error 256-S
516981   Setting COBSW to +A caused two licences to be used 
703272   With file mode full, idxformat4 file was hanging in the load process 
         at record 65536 
703280   Separately compiling and animating a program using the SDK
         was giving a 114 error om the animator
703349   Screen attributes were not being reset correctly after an ADIS error
         message had been displayed and then cleared
703353   An error in the file handler was causing a record not to be found
703357   Incorrect file locking leading to file status 00 being returned
         when accessing a locked record 
703364   CALL BY REFERENCE to a C language module was passing a NULL      
         pointer when the CALLING program is compiled to GNT form  

