Updated: 24-SEP-2003 (Use your browsers' Reload button to ensure you're viewing the most recent version)
CSCPAT_0104 SORT Utility VAX V5.2 - V5.4-2 ECO Summary
Copyright (c) Digital Equipment Corporation 1994. All rights reserved.
OP/SYS: OpenVMS VAX
COMPONENT: Sort Utility
SOURCE: Digital Equipment Corporation
ECO INFORMATION:
CSCPAT Kit: CSCPAT_0104 V1.4 (CSCPAT_0104014)
ECO Kit Approximate Size: 198 Blocks
Engineering Cross Reference: SORTSHR$IMAGE01_520
SORTSHR$IMAGE01_540
Kit Applies To: OpenVMS VAX V5.2, V5.3, V5.4, V5.4-1, V5.4-2
System Reboot Necessary: Yes
ECO KIT SUMMARY:
An ECO (patch) kit exists for the Sort Utility on OpenVMS VAX V5.2
through V5.4-2. This kit addresses the following problems:
o SORT operations fail with fatal BAD_LRL, BADLOGIC or ACCVIO errors.
These errors occur when SORT is invoked either from DCL or from a
program or utility, such as CONVERT. These errors are difficult to
reproduce, but generally are sensitive to input file characteristics
and working set sizes. For example, a DCL SORT operation fails with
the following:
%SORT-E-BAD_LRL, record length (12336) greater than specified
longest record length
-SORT-E-READERR, error reading DISK:[DIR]FILE.DAT;1
%SYSTEM-F-RADRMOD, reserved addressing fault at PC=00031118,
PSL=03C00000
followed by a stack dump.
o A CONVERT operation fails with:
$ CONVERT/STATISTICS/FDL=file.fdl file.seq file.dat
%SORT-F-BADLOGIC, internal logic error detected
o It has also been reported that CONVERT can fail with an ACCVIO
when two input files are specified and one of the files has
fixed length sequential records. For example:
$ CONVERT/FDL=test.fdl test4.seq,test4.seq testx.idx
%SYSTEM-F-ACCVIO, access violation, reason mask=00,
virtual address=00000004, PC=00027E17, PSL=03C00004
o SORT operations using specification files ACCVIO, fail to sort
on one or more keys, or result in corrupt or incomplete output
files. These errors occur when using the /COLLATING_SEQUENCE
qualifier in the specification file with SEQUENCE=(ASCII,FOLD);
for example:
$ SORT/SPECIFICATION=sys$input input.dat test.srt
/COLLATING_SEQUENCE=(SEQUENCE=ASCII,FOLD)
/FIELD=(NAME=GROUP,POS:1,SIZ:1,CHAR)
/FIELD=(NAME=REC,POS:1,SIZE:3,CHAR)
/CONDITION=(NAME=GRPCOD, TEST=(GROUP EQ "A"))
/INCLUDE=(CONDITION=GRPCOD, KEY=(REC), DATA=REC)
%SYSTEM-F-ACCVIO, access violation, reason mask=00,
virtual address=00000000, PC=0002A7C5, PSL=03C00008
o A specification file containing the qualifier:
/COLLATING_SEQUENCE=(SEQUENCE=MULTINATIONAL,IGNORE=" ")
fails to SORT on a secondary key; for example, the following
specification file sorts key A correctly, but ignores key B:
/COLLATING_SEQUENCE=(SEQUENCE=MULTINATIONAL,IGNORE=" ")
/FIELD=(NAME=A,POS:1,SIZ:3,CHAR)
/FIELD=(NAME=B,POS:4,SIZ:3,CHAR)
/KEY=(A)
/KEY=(B)
NOTE: There is no way to tell in advance whether a particular
specification file will fail.
o Attempting to use the utility routine SOR$DTYPE to define a new
data type results in:
%SYSTEM-F-ACCVIO, access violation, reason mask=00,
virtual address=00000000, PC=0002A7C5, PSL=03C00008
There is another database article that contains a sample program
to illustrate this behavior.
o Attempting to use the /PROCESS=ADDRESS qualifier to SORT a
relative file results in:
%SYSTEM-F-ACCVIO, access violation, reason mask=01,
virtual address=00000000, PC=0002A7C5, PSL=03C00008
or:
%SORT-E-WRITEERR, error writing DISK:[DIR]FILE.DAT
-RMS-F-RSZ, invalid record size
There is another database article that contains a sample
specification file to illustrate this behavior.
o A SORT operation in a batch job hangs in a LEF state. This
occurs because a common event flag is being cleared too soon.
o An access violation occurs when using the '/CDD_PATH_NAME' and
'/COLLATING_SEQUENCE' specification file qualifiers. The problem
has only been seen when a user-defined collating sequence is
specified.
o An access violation occurs when the '/FORMAT' qualifier is used
to specify FIXED length output records when the input file has
variable length records. SORT is unable to maintain the fixed
format specified, changes it to variable-length and then access
violates when a record is encountered that is too long.
o Attempting to SORT a fixed length sequential file fails with an
access violation (ACCVIO). A "SORT-E-LRL" error message may
also occur if a specification file is used that has 2 INCLUDE
statements, the second of which contains 2 DATA statements.
RELATED ARTICLES:
Detailed articles describing the problems listed above may exist in
the OPENVMS database(s). To view these articles, open the appropriate
product database and perform a query using the search string
'CSCPAT_0104'.
ECO KIT ORDERING INSTRUCTIONS:
If after an evaluation you wish to obtain this kit, request it
electronically using the appropriate Advanced Electronic Services
(AES) Service Tool. If you are not familiar with how to request
kits electronically, open the DIA, WIS or DSNLINK database and
review the article entitled:
[AES] How To Electronically Request ECO (Patch) Kits Using Service Tools
INSTALLATION NOTES:
In order for the corrections in this kit to take effect, the system
must be rebooted. If the system is a member of a {{VAX}{VMS}}cluster,
the entire cluster should be rebooted.
==========================================================================
| Table of Kit Image Information |
+----------------------------+----------+-----------------+--------------+
| | Overall | Image File | Image Link |
| Image Name | Checksum | Identification | Date/Time |
+----------------------------+----------+-----------------+--------------+
| SORTMERGE.EXE |%X02505D93| V5.1-011 | 10-OCT-1990 |
| | | 10:17:41.86 |
+----------------------------+----------+-----------------+--------------+
| SORTSHR.EXE |%X555D90E8| V5-024 | 10-OCT-1990 |
| | | 10:16:54.63 |
+----------------------------+----------+-----------------+--------------+
|