I have a flat file (member) with data. I run following JCL to find position.
//*********************************************************************
//* USE ICETOOL TO DIAGNOSE DATA IN THE DS AT PARTICLAR POSITIONS
//********************************************************************
//S1 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN DD DSN=IMSTESTA.IMF310.ITD.SOURCE(TCIS0228),DISP=SHR
//RPT DD SYSOUT=*
//TOOLIN DD *
OCCUR FROM(IN) LIST(RPT) ON(25,7,CH) ON(VALCNT)
/*
******************************** Bottom of Data *************************
//* USE ICETOOL TO DIAGNOSE DATA IN THE DS AT PARTICLAR POSITIONS
//********************************************************************
//S1 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN DD DSN=IMSTESTA.IMF310.ITD.SOURCE(TCIS0228),DISP=SHR
//RPT DD SYSOUT=*
//TOOLIN DD *
OCCUR FROM(IN) LIST(RPT) ON(25,7,CH) ON(VALCNT)
/*
******************************** Bottom of Data *************************
But now I want to count records only match with particular group in IMSTESTA.IMF310.ITD.SOURCE(TCIS0228).
thanks