SAS Procedures

Help using Base SAS procedures
BookmarkSubscribeRSS Feed
osho
Calcite | Level 5
What does 'pos' for SAS variables exactly mean?
5 REPLIES 5
Doc_Duke
Rhodochrosite | Level 12
please provide more context. Where are you seeing this?
osho
Calcite | Level 5
When I do proc contents, it gives me a list of variables with type, length, format, informat and pos. What is this pos?
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Position in the SAS file.
osho
Calcite | Level 5
Is the pos determined by SAS once I define the variables?
or do I have to explicity define pos every time I introduce a variable?
Thanks
Doc_Duke
Rhodochrosite | Level 12
How the position is determined is described in excruciating detail in the SAS documentation for the "SAS Data Files" under base SAS.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 5 replies
  • 3960 views
  • 0 likes
  • 3 in conversation