BookmarkSubscribeRSS Feed
Dee2
Obsidian | Level 7

The top 2 lines of the program are:
/*create user password here*/
libname ABC ORACLE user="&userid" password="&abc_pass" PATH='ABC';

 

I don't see where userid and abc_pass was declared and I don't see a include file. Where does the program get the userid and password? And how? 

Thanks.

3 REPLIES 3
Tom
Super User Tom
Super User

@Dee2 wrote:

The top 2 lines of the program are:
/*create user password here*/
libname ABC ORACLE user="&userid" password="&abc_pass" PATH='ABC';

 

I don't see where userid and abc_pass was declared and I don't see a include file. Where does the program get the userid and password? And how? 

Thanks.


What program are you talking about?

Does the program work anyway?  If so then the macro variables are created by some other code that runs before the posted code runs.  Perhaps via autoexec file.

Dee2
Obsidian | Level 7

SAS Enterprise Guide program

Dee2
Obsidian | Level 7

May be I should post at SAS Enterprise Guide Support instead.

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 597 views
  • 4 likes
  • 2 in conversation