Thanks, it seems like there are a couple ways to go about it. I have learned a lot about how input works from reading these responses. I made 3 changes to my original code to get it to work perfectly. 2 were to add DSD and TRUNCOVER options (did not have these before). From what I gather the DSD is what makes it recognize my delimiter. The 3rd was to add the colons before the informats input CLCODE : $1. AGENT : $5.; From what I gather, in effect, this makes SAS do the same sort of check your code is performing. It only pays attention to the informat so long as it has not hit the delimiter. So if there is a blank, once it hits the delimiter it moves on, rather than inputting the delimiter. I think your example would be a way to get it to work too though. Thanks again to all for the help.
... View more