BookmarkSubscribeRSS Feed
cjohnson
Obsidian | Level 7
I am running a proc sql statement that joins a table to a view (the view is a pass-through Oracle query). I have written several of these, but on this one I am getting an error have never seen. The table loads, but as I scroll down, it has two rows numbered 259. When I get to these rows, an error window opens that says:

Must be 0 <= a_nRecord < RecordCount.
Parameer name: a_nRecord
Actual value was 260.

When I click OK, the table closes. Any ideas?

Thanks,
Chris
Christopher Johnson
www.codeitmagazine.com

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 0 replies
  • 819 views
  • 0 likes
  • 1 in conversation