Bonjour à tous,
J'utilise une fonctionnalité de SAS pour retourner un message d'information à l’utilisateur.
Cette fonctionnalité fonctionne très bien, voici un exemple :
Alors mon problème : quand je veux passer une macro variable dans l'étape data ça bloque.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 data _null_; window start color=black rows=10 columns=30 #2 @3 'ERROR: The entered parameters are not correct.' color=yellow #4 @3 'The table does not exist.' color=yellow #6 @3 'Could you try again with the great parameters, thanks.' color=yellow #8 @3 'Press enter to continue.' color=white; display start; stop; run;
merci de votre aide à tous
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 data _null_; window start color=black rows=10 columns=30 #2 @3 'ERROR: The entered parameters are not correct' color=yellow %let toto = not; %let texte = %str(%')The table does &toto exist.%str(%'); #4 @3 &texte. color=yellow #6 @3 'Could you try again with the great parameters, thanks.' color=yellow #8 @3 'Press enter to continue.' color=white; display start; stop; run;
Partager