Note that this task operates in scantable format which is discontinued support from CASA 5.0.  This "old" version is retained to preserve back-consistency. The functionality of this task is replicated for measurements format,  with listobs.

Task sdlistold lists the scan summary of the dataset after importing as a scantable into ASAP. It will optionally output this summary as file.