BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
FriedEgg
SAS Employee

Here is another way to do this, will only work on *nix machines or under windows with cygwin, but per my testing is a slightly faster method.

filename cntr04p pipe "wc -l /usr/share/dict/words";

data _null_;

  infile cntr04p;

  input cntr04p filename $;

call symputx('cntr04p',cntr04p);

run;

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 15 replies
  • 7392 views
  • 0 likes
  • 5 in conversation