Hi all,
So I created small SAS macro that creates new SAS session on fly, in two words it just creates cmd file like:
"D:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -CONFIG "D:\Program Files\SASHome\SASFoundation\9.4\sasv9.cfg" -sysin ...\SASCode_3.sas -log ...\lofFile.log
and this CMD file executes from call system or x command, from the SAS base.
Generally session creates and executes normally, log file creates where it should be etc.
But when I start that new sas session it also start base sas, so Icon like in attached image(image_1.png)
So what I would like to do - is create like "Batch" SAS session, that will be exected on background, without creating any icons, output listing etc.
In other words I would like the session I create from x command (by forcing sas.exe etc.)will be like batch session and executes on background.
I hoped -ICON -NOICON and other options that hides listing will help, but for now I still see that icon when create new session etc.
So will be appreciate for any suggestions/clarifications.
Thanks in adwanced for any help.
Try: -nologo -noterminal
Also, I would suggest instead of using an X command, you use PowerShell, Java, C# or something else to launch SAS using Int Tech. That is much cleaner: see if it will work in your case.
Look at any of Chris Hemedinger's articles on how to do it.
Try: -nologo -noterminal
Also, I would suggest instead of using an X command, you use PowerShell, Java, C# or something else to launch SAS using Int Tech. That is much cleaner: see if it will work in your case.
Look at any of Chris Hemedinger's articles on how to do it.
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.