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?
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.
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
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?
What if you were to write a simple non-SAS program that does what you need, and then this program calls EG?
Tom
Thank you Tom , what I need is to inform the user about the last login date when opens Sas Enterprise Guide .
Some how a message must be displayed when EG is open
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 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.