z/OS DFSORT Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Storage usage for E35 user exit

z/OS DFSORT Application Programming Guide
SC23-6878-00

DFSORT obtains storage (using GETMAIN or STORAGE OBTAIN) for the parameter list and the records it passes to your E35 user exit routine. You must not attempt to modify or free the storage obtained by DFSORT.

If you need to obtain storage for use by your E35 user exit routine, such as to pass altered records to DFSORT, you can use the following strategy:
  1. The first time your exit is called, obtain the storage you need
  2. Use the storage you obtained each time your exit is called
  3. Free the storage before you pass back return code 8 to DFSORT.
Note: When you obtain your storage you can save its address in the user exit address constant and restore it on each subsequent call to your exit.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014