my in put file having 1000 records... i need to keep only last 3 records only so i used the icetool utilities
//xxxxxxAB JOB NOTIFY=&SYSUID
//STEP1 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN1 DD DSN=xxxxxx.MUTHU.PS,DISP=SHR
//OUT DD DSN=xxxxx.MUTHU.PS1,DISP=OLD
//TOOLIN DD *
SUBSET FORM(IN1) TO(OUT) INPUT KEEP LAST(3)
/*
above this program i'm getting the error like this how can i solve this error
ICE632I 0 SOURCE FOR ICETOOL STATEMENTS: TOOLIN
ICE630I 0 MODE IN EFFECT: STOP
SUBSET FORM(IN1) TO(OUT) INPUT KEEP LAST(2)
$
ICE614A 0 INVALID OPERATOR
ICE602I 0 OPERATION RETURN CODE: 12
ICE601I 0 DFSORT ICETOOL UTILITY RUN ENDED - RETURN CODE: 12