Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
You will need to post more details if someone here is going to be able to help.
Posting the jcl and the messages in the spool is a good start. Information on what the application program is doing in a technical sense would be good also - does it invoke the sort, does it invoke any of the standard utilities, does it invoke any site-specific utility functions? Is it a new piece of code or was it working previously? If it worked previously, was anything changed either in the main program or anything it calls?