Close the CSVALL destination. The ODS CSVALL CLOSE statement closes the CSVALL destination.
ods csvall close;