Ignoring multiple delimiters also implies that you don't have any missing
values. If you don't have any missing values, then you could probably do
what you want by including code to change the tabs into blanks and then use
the & modifier.
On Sat, 5 Mar 2011 13:17:35 -0500, Nuria Chapinal <nchapinal@YAHOO.COM>
>On Tue, 1 Mar 2011 11:54:33 -0500, Nuria Chapinal <nchapinal@YAHOO.COM>
>>Thanks a lot for all your help.
>>This is one of the codes for one of the batches:
>>filename FT46F001 'C:\Users\nuria\Desktop\am\fc\*.txt' lrecl=256;
>> length fname $256;
>> infile FT46F001 dsd dlm='09'x eov=eov filename=fname noexpandtabs
>> input @;
>> if _n_ eq 1 or eov then do;
>> date = input(scan(fname,-2,' '),mmddyy10.);
>> retain filename date;
>> eov = 0;
>> input #5;
>>input (index cow lact group)(:??) cdate :mmddyy10. (dim c1-c26 )(:??);
>>format date cdate mmddyy10.;
>I ran into a small trouble when using the codes above. Some times there
>are 2 tabulations in a row separating columns. I would need an option that
>did the same as the option "treat consecutive delimiters as one" in
>Thanks in advance!