How to get Directory Details with Proc Contents?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #49343
    rlochan2021
    Keymaster

    TO GET DIRECTORY DETAILS:-

    display the contents information about all the files in our data library using _ALL_ in place of the data file name.
    proc contents data=libref._all_;

    #49344
    rlochan2021
    Keymaster

    Also to check

    proc contents data=mylib.myfile directory;

    proc contents data=mylib.myfile varnum;

    proc contents data=mylib._all_ memtype=view;

    #49346
    rlochan2021
    Keymaster

    Proc contents data=xyz._all_ nods;
    run;

    to list All SAS file in library xyz.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.