PM76328: SIGSEGV RECEIVED WHEN EXECUTING INTERNAL SORT WITH OUTPUT FILE DEFINED WITH ASSIGN USING SYNTAX.
Fixes are available
COBOL for AIX Fix Pack 10 (December 2013 PTF) for 4.1.1
COBOL for AIX Fix Pack 11 (June 2014 PTF) for 4.1.1
COBOL for AIX Fix Pack 12 (October 2014 PTF) for 4.1.1
COBOL for AIX Fix Pack 13 (October 2015 PTF) for 4.1.1
COBOL for AIX Fix Pack 14 (August 2016 PTF) for 4.1.1
COBOL for AIX Fix Pack 15 (August 2017 PTF) for 4.1.1
Closed as program error.
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
Having FILE-PATH-SPEC the same size as the name of the file moved into the field bypasses the problem.
There should be no SIGSEGV using SORT.
Obtain the fix for COBOL for AIX 184.108.40.206 here http://www-01.ibm.com/support/docview.wss?uid=swg21620332
Reported component name
COBOL FOR AIX
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
COBOL FOR AIX
Fixed component ID
Applicable component levels
R411 PSY UK91813
UP13/03/01 P 9999
Translate this page: