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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 4306 views
  • 0 likes
  • 3 in conversation