07-26-2012 03:31 PM
Please see my attached picture for reference.
When we open a sas program and submit it,during the execution time ,the title show us "Processing submitted statements" or "data step running" or others.
My question is ,Could we change the tiltle ourself?
such as when data step one is running I want it show us :"a is running". instead of "data step running"
when data step two is running I want it show us :"b is running". instead of "data step running"
when data step three is running I want it show us :"c is running". instead of "data step running"
/*SAS code for this question*/
07-26-2012 04:43 PM
But, technically "a" or "one" is NOT what is running. The DATA step program is running to create the dataset WORK.A or WORK.ONE.
I don't know if what you want is possible, you'd have to check with Tech Support about that. But conceptually, you don't want to change the SAS TITLE -- you want to change the interactive window message that displays on the bar that frames the Editor window.
07-26-2012 05:59 PM
Thank you Cynthia,
The interactive windows is just an example of a datastep,
The aim of my question is to find a method can show up what the SAS is doing now in the blue area of editor window.
07-26-2012 06:13 PM
I agree that this would be a good question for tech support and I, and everyone else, would like to know what they say. In all my years using SAS, I can't recall the question being asked. But that isn't to say that many of us don't have similar wants. I've gotten around it by showing an alternative status message at the bottom of the screen, but would definitely have preferred being able to do what you ask.
07-27-2012 12:35 PM
Thank you for your response!
I am very interesting about "showing an alternative status message at the bottom of the screen" as you mentioned.I think that should be a good solution for the question.
Would you like to tell me more about that?
I will be very appreciate !
Thanks a lot!
07-27-2012 03:07 PM
We were doing it within some SAS/AF code. You could approximate the same thing, sort of, with something like the following:
%let sysmsg = What is going on?;
If you run the above code, and you have your status line turned on at the bottom of your screen, the message "We do windows" will appear in a message box and the statement "What is going on?" will appear on your status line.
08-03-2012 05:54 PM
Cynthia: I hate to admit it but, after 38 years, I've still never used EG. According to the following paper, it should work on a mainframe
I don't see how it could run in batch, but the last time I submitted anything batch was 1974 which is also the last time I submitted any SAS code to a mainframe (are you old enough to remember cards and paper tape as input media?
08-03-2012 11:25 PM
My first job in college was data entry on punch cards. And the computer used to read paper tape. So, I guess I am old enough to remember.
08-04-2012 03:44 PM
If by batch you mean submitted to the background from a terminal (or on a personal computer) then it pops up the window and waits for you to hit enter.
If you submit it without a terminal attached (-noterminal command line option) then SAS generates an error message:
ERROR: The MACRO windowing environment cannot be initialized due to a XU supervisor failure.
I would assume the same would happen if you submitted from EG as would expect that the SAS server process is running without a terminal.