Hi,
I would like to get the launching mode, interactiv or batch. I use &sysenv. but i see that "BACK" is returned in both modes.
however "FORE" was expected in interactiv mode.
thanks in advance for your help
regards
Nasser
If you use SAS STUDIO (SAS UE / SAS Analytics ...) it will always be 'BACK" because the action
is done in a server and not in your PC.
If you use SAS STUDIO (SAS UE / SAS Analytics ...) it will always be 'BACK" because the action
is done in a server and not in your PC.
thanks Shmuel.
I wonder if there is a workaround to get the mode with sas studio. UE, analytics...
thanks
I don't know if there is any sas macro variable to enable it.
I'm using SAS UE and have no need to run batch.
What tool you use to run batch mode? what scheduler?
Maybe the scheduler can forward that information by an environment variable ?!
I do not know the scheduler.
I found the environment variable "SASCLI". and this is exactly what I need
in saseg the returned value is "SASEG"
in batch the returned value is "BATCH"
thanks for your help
Just for the knowledge - I have tested %put &sascli; - and got that the macro variable is not resolved. It seems that SAS invested into SAS EG more than in SAS Studio - UE.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.