About 14,600 results
Open links in new tab
  1. mod function in macro do loop - SAS Support Communities

    May 5, 2023 · To macro language, mod is not a function. It is just the three letters: mod. To get macro language to treat mod as a function (and to clean up a couple of smaller errors along the way), try …

  2. Solved: Mod function with big number - SAS Support Communities

    Mar 27, 2019 · Solved: Hi everybody, i need help with the MOD function with a big number. data asd; format check 30. ; check = 310300000604156791754311182900 ; Y

  3. Mod function - SAS Support Communities

    Apr 14, 2020 · I want prime numbers from 1 to 1000 Please explain the logic with using mod function

  4. Solved: mod function - SAS Support Communities

    Aug 24, 2014 · Solved: I would like to back up a file using something like the mod function in the dataset name. Is there a way to name a file: data

  5. Solved: Do loop and mod fuction - SAS Support Communities

    May 24, 2019 · Hello, I've been trying to write a code to answer this practice question in SAS but i haven't had success. Use a do loop, the mod function and an if-statement to put out all prime …

  6. Solved: How to remove seconds from datetime (not round function)

    Jul 24, 2018 · Hi all, I have a datetime variable in two files that I need to merge, issue is datetime variable in both files are different in seconds for few observations. For example in one file datetime is …

  7. How to find even numbers in proc sql - SAS Communities

    You can find if a number is even in SQL just like anywhere else in SAS: using the MOD function title "Even aged students"; proc sql; select * from sashelp.class where mod(age, 2) = 0; quit;

  8. How to display even observations without using mod function, if ...

    Aug 4, 2013 · Thanks Astouding its working fine. But I need code to get output without using mod function, if statements and loops.

  9. Determine odd/even numbers - SAS Support Communities

    Dec 21, 2010 · Consider using the mod function. Assuming there is an integer variable in your dataset called ACCOUNT, odd numbered accounts could be selected with the following where statement.

  10. Mod Function - SAS Support Communities

    Nov 28, 2012 · How to avoid this when we give best32. format? Invalid (or missing) arguments to the MOD function have caused the function to return a missing value.