BookmarkSubscribeRSS Feed
BrahmanandaRao
Lapis Lazuli | Level 10

Hi Guys

I have a question 

user open SAS application who gets a message 

Ex:User Name +Welcome 

      Alfred Welcome to SAS 

4 REPLIES 4
Kurt_Bremser
Super User

A google search for "base sas splash screen" gave me this as second hit, which led me to this

SPLASH System Option

and this

SPLASHLOC System Option

 

As you can see, information is just a Google search away (Maxim 6).

 

From the SPLASHLOC documentation, I take it that you would need to create a separate bitmap for each user and determine in the configuration files from the system User-ID which one to take. Not very practical.

RichardDeVen
Barite | Level 11

In Display Manager sessions (desktop SAS) you can use Proc GROOVY to directly access the power and gamut of Java, which includes Swing components for message dialogs.

proc groovy;
submit;
  import javax.swing.JOptionPane;

  JOptionPane.showMessageDialog(
    null, "Hello there " + System.getProperty("user.name"), "Welcome to SAS",
    JOptionPane.INFORMATION_MESSAGE
  );
endsubmit;
quit;

Will pop up the dialog window

RichardADeVenezia_0-1605999647697.png

Other SAS clients:

  • Enterprise Guide (EG) you will need a custom plug-in,
  • SAS Studio you may need some html snippets and JavaScript.
BrahmanandaRao
Lapis Lazuli | Level 10
when I submit the code its been running.............
I don't know how much time it could be ?
RichardDeVen
Barite | Level 11

The dialog will be modal and block the SAS session until the OK button is clicked, or the dialog is closed.  The dialog might be on a second screen or behind the SAS window -- if Windows, does the dialog appear in your Alt-Tab process list ?

 

How are you starting SAS ?

What does the LOG window show ?

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 4 replies
  • 1037 views
  • 0 likes
  • 3 in conversation