Created
December 6, 2023 04:51
-
-
Save hdary85/86f81c0de194d1507e76892aff75a23e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data resultats; | |
| set votre_table; | |
| array colonnes[*] col1-col20; | |
| terme1_present = 0; | |
| terme2_present = 0; | |
| terme3_present = 0; | |
| do i = 1 to dim(colonnes); | |
| if colonnes[i] contains 'terme1' then terme1_present = 1; | |
| if colonnes[i] contains 'terme2' then terme2_present = 1; | |
| if colonnes[i] contains 'terme3' then terme3_present = 1; | |
| end; | |
| if terme1_present and terme2_present and terme3_present; | |
| run; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment