What are the guidelines to create a Trace to an abending SORT?
search cancel

What are the guidelines to create a Trace to an abending SORT?

book

Article ID: 55156

calendar_today

Updated On:

Products

Sort VSE

Issue/Introduction

 How do I trace a sort that is abending?

 

Add OPTION DIAG

Internal SORT, means SORT called in an application program: // JOB SORT // OPTION SYSPARM='DIAG' << activating trace . // DLBL/TLBL/ASSGN statements . // EXEC program . --------------------------------------------------------------------------- External SORT, means execution with EXEC SORT: // JOB SORT . // DLBL / TLBL / ASSGN // EXEC SORT . SORT FIELDS=... .... RECORD TYPE= INPFIL BLKSIZE=..... OUTFIL BLKSIZE=..... OPTION DIAG,PRINT=ALL << activating trace END

Environment

Release:
Component: CM-M1

Resolution

Add OPTION DIAG

Internal SORT, means SORT called in an application program:

// JOB SORT
// OPTION SYSPARM='DIAG' << activating trace
.
// DLBL/TLBL/ASSGN statements
.
// EXEC program .

---------------------------------------------------------------------------

External SORT, means execution with EXEC SORT:

// JOB SORT
.
// DLBL / TLBL / ASSGN
// EXEC SORT
.
SORT FIELDS=... ....
RECORD TYPE=
INPFIL BLKSIZE=.....
OUTFIL BLKSIZE=.....
OPTION DIAG,PRINT=ALL << activating trace
END