In order to use the .xpt file, use a XPORT library:
libname xpt xport 'home/u43327634/NHANES/17_18/DEMO_J.XPT';
You can then treat library XPT like any other SAS library in your code; for instance, it will appear ion the Libraries section of SAS Studio.
... View more