Guest_imported
New member
- Jan 1, 1970
- 0
Hi all,
Need your help on this.
File: passwd.sas
----------------
%global ora_userid;
%global ora_pwd;
%macro get_user_info;
%let ora_userid= ;
%let ora_pwd= ;
%window Oracle_user_info color=white
#5 @10 'UserId:' attr=highlight
#5 @20 ora_userid 30 REQUIRED=YES
#10 @10 'Password:' attr=highlight
#10 @20 ora_pwd 30 REQUIRED=YES DISPLAY=NO;
%display Oracle_user_info bell ;
%mend get_user_info;
%get_user_info;
run;
%syslput uid=&ora_userid;
%syslput pwd=&ora_pwd;
File: test.sas
--------------
%include 'passwd.sas'
%put &uid &pwd;
When I run test.sas I get the error
WARNING: Apparent symbolic reference UID not resolved.
WARNING: Apparent symbolic reference PWD not resolved.
What am I doing wrong?
Thanks,
John
Need your help on this.
File: passwd.sas
----------------
%global ora_userid;
%global ora_pwd;
%macro get_user_info;
%let ora_userid= ;
%let ora_pwd= ;
%window Oracle_user_info color=white
#5 @10 'UserId:' attr=highlight
#5 @20 ora_userid 30 REQUIRED=YES
#10 @10 'Password:' attr=highlight
#10 @20 ora_pwd 30 REQUIRED=YES DISPLAY=NO;
%display Oracle_user_info bell ;
%mend get_user_info;
%get_user_info;
run;
%syslput uid=&ora_userid;
%syslput pwd=&ora_pwd;
File: test.sas
--------------
%include 'passwd.sas'
%put &uid &pwd;
When I run test.sas I get the error
WARNING: Apparent symbolic reference UID not resolved.
WARNING: Apparent symbolic reference PWD not resolved.
What am I doing wrong?
Thanks,
John