Hello,
I'd like to make sure I understand this correctly: It is not possible to override initial system options when starting a grid session without creating a new application server context for each set of options you might want to specify. Is that right?
Here's what I mean. I might start some grid sessions with code similar to this:
%put NOTE: RC from grdsvc_enable is %sysfunc(grdsvc_enable(_all_, server=SASApp));
signon grid1 signonwait=no;
signon grid2 signonwait=no;
signon grid3 signonwait=no;
Suppose I'm doing something in grid2 that requires different initialization options. Just as an example, suppose I want grid2 to start with the -NONEWS option.
If I were running grid2 as a separate job from the command line with sasgsub, I could start it with
sasgsub -sasopts '(-nonews)'
If I were starting grid2 as a regular SAS/Connect session, I could use a script, and the script could pass whatever startup options I want to the new session.
But If I want to pass options to a grid session, there's no way to do this other than to create a separate application server context that is the same as SASApp except for that one option. I can't pass system options or a grid option set name or anything else that causes the startup to change. Is there a way to do this that I don't know about?
A similar question applies to scriptless sessions in SAS/Connect, which is basically the same mechanism. No way to pass options in a non-icky way (an icky way, if you have appropriate privileges on the remote machine, is to alter the sasv9.cfg file before starting the session, and then change it back afterwards, but besides seeming icky there's a potential for timing errors).