SYNCSORT: Diagnostic: Investigate an Issue with SyncSort in a z/OS Environment

Summary: This article explains how SYNCSORT works with the z/OS operating system and what data to collect to investigate a SYNCSORT issue.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

SyncSort has the following functions:

  • SORT - to rearrange dataset records in chronological or alphabetical order, producing a specific sequential form
  • MERGE - to combine as many as 32 sequential datasets into one dataset under the same sequence
  • COPY - to reproduce a file, bypassing the sorting process entirely

SYNCSORT uses the following DDNAMES:

  • SORTIN - Defines the input dataset for a sorting application; not required for a merge-only operation.
  • SORTIN01 - SORTIN16: Define the input datasets for a merging application; not required for a sorting application.
  • SORTWK01 - SORTWK16: Define intermediate storage datasets for a sorting application; not required for a merge.
  • SORTOUT - Defines the output dataset for a sorting or merging application; should not be the same as the SORTIN dataset because a SYSTEM failure could then destroy both your output and your data.
  • SYSOUT - Is used as the SYSTEM message dataset.
  • SYSIN - Defines the application control dataset.
JCL for Using SyncSort:
//SORTIT JOB (,,time,lines),'your name',CLASS=class
/*ROUTE PRINT node.location
//SORT   EXEC PGM=SORT,PARM='options'
//SORTLIB  DD DSN=SYS1.SORTLIB,DISP=SHR
//SYSOUT   DD SYSOUT=A
//SYSPRINT DD SYSOUT=A
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(5,3))
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(5,3))
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(5,3))
//SORTIN   DD DSN=your.input.data.set,DISP=OLD
//SORTOUT  DD ... DD statement for output data set ...
//SYSIN    DD *
 ... SyncSort control statements  ...
SyncSort uses the following program control statements:
 SORT, MERGE, ALTSEQ, END, INCLUDE, INREC, MODS, OMIT, OUTREC, RECORD, and SUM ;
...

To diagnose an issue with SYNCSORT:

1. Collect the following information.
  • SYNCSORT Job Log
  • SYNCSORT Control Statements (SYSIN)
  • Logical Partition (LPAR) SYSLOG 
2. Check Dell Support for any reported issues with SYNCSORT external symptoms.

Affected Products

PowerMax 2500, PowerMax 8000, PowerMax 8500, VMAX 950F
Article Properties
Article Number: 000010129
Article Type: How To
Last Modified: 02 Jul 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.