What can cause a S878 or S80A-10 abend calling DFSORT from my program?

Document ID : KB000032055
Last Modified Date : 14/02/2018
Show Technical Document Details

Symptom:
  Application that previously executed successfully fails with s80a and s878
  after upgrading to z/OS 2.1 in user routine that calls DFSORT

Environment:  
  z/OS 2.1

Cause:
  Storage was insufficient for DFSORT

Resolution:
  Always refer to the vendor's documentation.
  QW for IBM DFSORT for s878 refers to storage and the s80a refers to passing bad parameter length.
  Either could have been explained by the operating system change. 

  In this case the problem was resolved by adding the following to the program:
   //DFSPARM DD *
    SIZE=MAX
    RESINV=8388608
    /*