SAS Stack setting?
Got a guestion for any of you SAS C Guru's … I just picked up V6.0 today
and I was trying to do some work with background task. I thought that
setting the option "long __stacksize = xxxx;" would allow me to set the
stack that my task would be running at vice what the CLI etc.. that it was
executed from. What is the real beef with this? I set the value to 8k and
stack my CLI stack to 20k … and when I ran the program it had a 20k
stack! Is there a way to compile/link somehow so I can set my stack size
without a doubt. I am running to problems writing doors for various BBS
programs that require rather large stacks. I dont want a program of mine
that only uses about 200 or so bytes to be ran with a 40k + stack! Its a
waste of memory, and when you are running 12+ lines each memory waste adds
up REAL fast.
I would appreciate any help or if you have a code example to show me some
other way to do the same thing … that would be nice.