Hello, how can I do when the reference table is empty to avoid having an error ?
Because the filling of this table is random and can be empty sometimes.
(error message : The value SAMPSIZE=0 is not a positive integer)
Is it possible to integrate a macro in the procsurveyselect ?
Thanks
Please show at least the code of surveyselect that you are using. There can be a number of secondary data sets and we kind of need to know which ones you are using. Then indicate which set you have issues with.
The question would likely be why you are creating a data set with a known invalid, i.e. 0 , value. Perhaps you need to examine the process that creates that set and show us that code as well.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.