1. I guess subjectid is a character variable
use substr function
like using condition like
if/where SUBSTR( subjectid, 9,1 ) ne ''
or use length function
2. how many string variables you have? one way is you can write the condition separately ( var1 ne '' and var2 ne '' ...etc)
Or if all your string variables are of same format ... you can use array and simply the conditions.





Reply With Quote
