It has been proved by several researchers that particle swarm optimization has shown better results for clustering large datasets. In this paper we present a different approach to that of conventional particle swarm optimization technique. We have used aiNet algorithm of Artificial Immune System(AIS) to preprocess the data i.e. generating the antibodies with more affinity values among different datasets .The obtained result is given to PSO as centroids to get better intra cluster distance compared to that of randomly generated centroids. The comparisons reveal the superiority of AIS over PSO approach for data clustering.