Thank you for your detailed problem description and provisioning of logs and the transport file.
I can replicate what you describe and it looks to me that a change introduced latest with SAS94M8 to xpt2loc.sas is causing this.
I found a different (likely older) version of the macro code under https://support.sas.com/kb/46/addl/fusion_46944_9_xpt2loc.sas.txt and once I've executed this code to compile the macro into Work your code returned the desired result.
filename urlfile url 'https://support.sas.com/kb/46/addl/fusion_46944_9_xpt2loc.sas.txt';
%include urlfile;
options mprint mlogic symbolgen;
%* Convert the XPT file to a SAS dataset;
%xpt2loc(
libref=work,
memlist=_all_,
filespec='C:\temp\ae.xptv8');
proc print data=work.ae;
run;
I've tested both with a local Windows SAS9.4M8 version and a current Viya 4 Azure cloud version and in both environments the out-of-the-box macro code returned a zero row table.
I'm going to raise this with SAS Tech Support.
Below the differences between the code version under https://support.sas.com/kb/46/addl/fusion_46944_9_xpt2loc.sas.txt (left side) what's installed in my Windows environment (right side).
... View more