I found this hen strolling around in the SAS doc. There is a possibility to use a variable length informat in the INPUT statement. I figure this will work all but one field are fixed length:
DATA EMPS;
INFILE EJS dlm=';' dsd truncover length=linelen;
INPUT
@ 2 FOLDER $4.
@ 48 SERIAL $6.
@ 56 DATE $8. @;
varlen = linelen-66;
input @ 66 DOCNAME $varying20. varlen;
IF FOLDER = 'APPL';
run;
/Linus
... View more