IBM Support

IJ14344: SORT MAY INSERT NEWLINE INTO LONG LINE WHEN LANG IS NOT C APPLIES TO AIX 7100-05

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If locale is non C/POSIX and any of the lines being
    sorted
    are longer than the default buffer size (20480), newline
    character may be inserted into long line when the sort
    command is run. e.g.
    # LANG=en_US sort -n -r file1 -o file2
    sort: Warning: A newline character was added to the end
    of file file1.
    

Local fix

  • n/a
    

Problem summary

  • Under non C locale, sort inserts newline character if line
    length is equal to or greater than the default buffer size(20K)
    

Problem conclusion

  • sort reports "0653-652 A line of the input file contains more
    than 20480 characters" if the line length is equal to or
    greater than the default buffer size
    

Temporary fix

Comments

  • 7100-04 - use AIX APAR IJ13718
    7100-05 - use AIX APAR IJ11982
    7100-05 - use AIX APAR IJ14344
    7200-01 - use AIX APAR IJ13881
    7200-02 - use AIX APAR IJ13485
    7200-03 - use AIX APAR IJ13330
    

APAR Information

  • APAR number

    IJ14344

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-01

  • Closed date

    2019-03-01

  • Last modified date

    2019-11-14

  • APAR is sysrouted FROM one or more of the following:

    IJ13718

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U883006

       UP19/05/01 I 1000

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11R"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
20 April 2022