Hi Xia,
This is the right code :-D. Thanks for your help anyways.
WORK.TRIAL ;
'/sasdata/target_data/cont_improvement/datamart/Inc/1_200.txt' truncover;
a $80.;
'/sasdata/target_data/cont_improvement/datamart/Inc/1_200_.txt';
a ^= ' ' then put a;
;
one(keep=a b c d e)
keep=a b f g h)
keep=a b i j k);
'/sasdata/target_data/cont_improvement/datamart/Inc/1_200_.txt' truncover;
l = 1 to 200;
input a / b $20. / c $10. / d $10. / e $30. ;
output one;
;
l = 1 to 200;
input a / b $20. / f $10. / g $10. / h $30. ;
output two;
;
l = 1 to 200;
input a / b $20. / i $10. / j $10. / k $30. ;
output thr;
;
l ;
;
fou;
one two thr;
;