BookmarkSubscribeRSS Feed
felyp222
Fluorite | Level 6

I have the following task: When a user opens the Enterprise Guide from the local machine, a pop up message must be display with a message like : 'Welcome USER -your last login date : 6 October 2016'

Now, I'm facing with two problem:

1. how and what do I need to set up o for each user that connects to Enterprise Guide to dispay a personalize message when the application is open (server is connected). I have tried the command %put &userid in autoexec, but no effect.


2. I set up an appender so I can collect the information about the last login date into a log file, but when I try to read the data from the log, i have the message :' ERROR: A lock is not available for ...'.

Can you please help me with some suggestions?

5 REPLIES 5
ChrisHemedinger
Community Manager

You could probably have a custom task to do something like this...but I'm not sure if the customer experience will be super smooth. 

 

Here's an example of a similar, but different, task.

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
felyp222
Fluorite | Level 6

Thank you very much for your response. It is a very interesting task, and I like the solution.

For my task I will need to find a way so the user must be informed about the last date when was logged on.

In Option- I saw an options in SAS Programs 

  • Submit SAS code when server is connected

I write a simple %put User-ID: &sysuserid; but did not see anything when I opend EG.

Do you have any idee if and how can I use this option for what I need?

 

 

TomKari
Onyx | Level 15

What if you were to write a simple non-SAS program that does what you need, and then this program calls EG?

 

Tom

felyp222
Fluorite | Level 6

Thank you  Tom

TomKari
Onyx | Level 15

Yes, what I'm suggesting is write a quick program that:

1. Checks if there's a previous date stashed

2. If there is, displays a message with that date

3. Updates that date by stashing the current date

4. Proceeds to call EG

 

Very kludgy, but I can't thing of anything else.

 

Tom

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 2873 views
  • 5 likes
  • 3 in conversation