IBM Support

IJ13485: SORT MAY INSERT NEWLINE INTO LONG LINE WHEN LANG IS NOT C APPLIES TO AIX 7200-02

A fix is available

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

    IJ13485

  • Reported component name

    AIX V7.2

  • Reported component ID

    5765CD200

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2019-02-11

  • Closed date

    2019-02-11

  • Last modified date

    2019-11-14

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

    IJ11982

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

Fix information

  • Fixed component name

    AIX V7.2

  • Fixed component ID

    5765CD200

Applicable component levels

  • R720 PSY U882785

       UP19/07/15 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSVEF8","label":"AIX 7.2 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11S","label":"AIX 7.2 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
14 November 2019