Skip to main content

PM76328: SIGSEGV RECEIVED WHEN EXECUTING INTERNAL SORT WITH OUTPUT FILE DEFINED WITH ASSIGN USING SYNTAX.


Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Having a SORT statement as in:
    
    
    SORT  SORT-FILE
          ....
          GIVING                XYZ-FILE
    
    with XYZ-FILE defined with a USING as in:
    
    SELECT XYZ-FILE  ASSIGN
                     USING        FILE-PATH-SPEC
                     ORGANIZATION IS  LINE SEQUENTIAL
                     FILE STATUS     IS XYZ-STATUS.
    
    Fails with the following when FILE-PATH-SPEC is defined as:
    
    03  FILE-PATH-SPEC    PIC X(256)  VALUE SPACES.
    
    The following error is received during SORT
    <Thread 1>  Signal received: SIGSEGV - Segmentation violation
    <Thread 1>
    <Thread 1>  Traceback:
    <Thread 1>    Location 0x00000000
    

Local fix

  • Having FILE-PATH-SPEC the same size as the name of the file
    moved into the field bypasses the problem.
    

Problem summary

  • There should be no SIGSEGV using SORT.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM76328

  • Reported component name

    COBOL FOR AIX

  • Reported component ID

    5724Z8700

  • Reported release

    411

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-01

  • Closed date

    2013-03-01

  • Last modified date

    2013-03-01

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

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

Fix information

  • Fixed component name

    COBOL FOR AIX

  • Fixed component ID

    5724Z8700

Applicable component levels

  • R411 PSY UK91813

       UP13/03/01 P 9999

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

COBOL for AIX


Software version:
411


Reference #:
PM76328


Modified date:
2013-03-01

Translate my page

Content navigation