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
Rate this page:
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.