The ODS LISTING statement closes the Listing destination to conserve resources. (By default, the Listing destination is open.)
ods listing close;