Author: vinu78
Posted: Wed Mar 15, 2017 10:37 am (GMT 5.5)
Arun,
The ICETOOL is working fine
//STEP01 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//INPUT DD DSN=<flat file that has records>,DISP=SHR
//TOOLIN DD *
COUNT FROM(INPUT) NOTEQUAL(1) RC4
/*
So this sets RC as 0 if record count is 1, else for all other cases, it sets Rec count as 4.
Thanks
Vinu
Posted: Wed Mar 15, 2017 10:37 am (GMT 5.5)
Arun,
The ICETOOL is working fine
//STEP01 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//INPUT DD DSN=<flat file that has records>,DISP=SHR
//TOOLIN DD *
COUNT FROM(INPUT) NOTEQUAL(1) RC4
/*
So this sets RC as 0 if record count is 1, else for all other cases, it sets Rec count as 4.
Thanks
Vinu