Help using Base SAS procedures

What does 'pos' for SAS variables exactly mean?

Reply
Occasional Contributor
Posts: 15

What does 'pos' for SAS variables exactly mean?

What does 'pos' for SAS variables exactly mean?
Trusted Advisor
Posts: 2,115

Re: What does 'pos' for SAS variables exactly mean?

please provide more context. Where are you seeing this?
Occasional Contributor
Posts: 15

Re: What does 'pos' for SAS variables exactly mean?

When I do proc contents, it gives me a list of variables with type, length, format, informat and pos. What is this pos?
Super Contributor
Super Contributor
Posts: 3,174

Re: What does 'pos' for SAS variables exactly mean?

Position in the SAS file.
Occasional Contributor
Posts: 15

Re: What does 'pos' for SAS variables exactly mean?

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
Trusted Advisor
Posts: 2,115

Re: What does 'pos' for SAS variables exactly mean?

How the position is determined is described in excruciating detail in the SAS documentation for the "SAS Data Files" under base SAS.
Ask a Question
Discussion stats
  • 5 replies
  • 789 views
  • 0 likes
  • 3 in conversation