There is no mention of DMF, but the reaction concerns the preparation of acid chlorides and anhydrides by the action of SO2 + Cl2 on carboxylic acid salts, and the products may be acid chlorides or anhydrides depending on the proportion of reactants. The salts are wetted with ethyl acetate before reaction.