Is this the code that you submitted which produced an error? The code which you show appears to be the zero-inflated negative binomial code directly from the UCLA website. When I run the code shown in your post, there is no error produced.
This leads me to believe that you are probably not showing us the code which generated the errors shown in your post. Without seeing your code, it is extremely difficult to provide assistance. My suspicion is that there might be some portion of the code which you did not properly modify when editing the code for the data for which you need to construct a model. But that is only a guess.
The code from the UCLA website produces results which are identical to the results produced by code for a ZINB model which I demonstrated on SAS-L. Below is my version of ZINB code applied to the FISH data. Note that the overdispersion parameter alpha in the UCLA code is named K in my code.
/* Probability of zero value: combination of N.B. zero prob and excess zeros prob */ p0 = p0_zip +
/* Probabilities of nonzero values obtained from N.B. distribution */ p_else = (1-p0_zip)*
exp(lgamma(count+(1/k)) - lgamma(count+1) - lgamma(1/k) +
count*log(k*lambda) - (count+(1/k))*log(1+k*lambda));
/* Note that all obs from N.B. distribution have probability which sums to */
/* sum(P(Y=i) | Y~N.B.) = 1 - P(excess zero value), i=0,1,2,...,inf */
/* Construct ZINB log-likelihood */ if count=0 then loglike = log(p0);
else loglike = log(p_else);
/* Fit ZINB model */ model count ~ general(loglike);
Poisson, negative binomial, and zero-inflated versions of these models can be fit using the experimental PROC COUNTREG which is part of Service Pack 3 or later of SAS 9.1.3 (TS1M3) if you have licensed SAS/ETS software. Service Packs are available from this location: