I have following step in my current JCL for sort.
//SORT EXEC PGM=SORT,COND=(0,NE,LISTCAT)
//SORTIN DD DISP=OLD,DSN=IMSTESTA.IMF310.ITD.SOURCE(DEFAULT)
// DD DISP=OLD,DSN=IMSTESTA.IMF310.ITD.SOURCE(CWS)
// DD DISP=OLD,DSN=IMSTESTA.IMF310.ITD.SOURCE(TCIS0228)
// DD DISP=OLD,DSN=IMSTESTA.IMF310.ITD.SOURCE(PDB) ## 10/28/11
// DD DISP=OLD,DSN=IMSTESTA.IMF310.ITD.SOURCE(ETRS1211)
//SORTOUT DD DISP=(NEW,CATLG,DELETE),
// DSN=IMSTESTA.IMF310.ITD.SOURCE.DATA.GDG(+1),
// SPACE=(CYL,(10,10)),UNIT=SYSDA,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=32000)
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK04 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK05 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK06 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//* SORT FIELDS=(1,32,CH,A)
//SYSIN DD *
SORT FIELDS=(1,32,CH,A)
SUM FIELDS=NONE
/*
//SORTIN DD DISP=OLD,DSN=IMSTESTA.IMF310.ITD.SOURCE(DEFAULT)
// DD DISP=OLD,DSN=IMSTESTA.IMF310.ITD.SOURCE(CWS)
// DD DISP=OLD,DSN=IMSTESTA.IMF310.ITD.SOURCE(TCIS0228)
// DD DISP=OLD,DSN=IMSTESTA.IMF310.ITD.SOURCE(PDB) ## 10/28/11
// DD DISP=OLD,DSN=IMSTESTA.IMF310.ITD.SOURCE(ETRS1211)
//SORTOUT DD DISP=(NEW,CATLG,DELETE),
// DSN=IMSTESTA.IMF310.ITD.SOURCE.DATA.GDG(+1),
// SPACE=(CYL,(10,10)),UNIT=SYSDA,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=32000)
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK04 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK05 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//SORTWK06 DD UNIT=SYSDA,SPACE=(CYL,(10,10))
//* SORT FIELDS=(1,32,CH,A)
//SYSIN DD *
SORT FIELDS=(1,32,CH,A)
SUM FIELDS=NONE
/*
Now I want this will be process the records under group MCIPROB from the IMSTESTA.IMF310.ITD.SOURCE(TCIS0228).
IS it ok to use as SORT FIELDS=(1,32,CH,A,MCIPROB)
I appreciate your help.
Thank You