Your SAS programs, embedded in web apps and elsewhere

_program=lib.cat.entry.scl mapping to Stored Process?

Reply
N/A
Posts: 0

_program=lib.cat.entry.scl mapping to Stored Process?

I would like to port our sas Intranet application to Stored Process ...

The part of the url [ "_program=lib.cat.entry.scl"] is hard coded in lot of sas code.
in scl, slist, class, etc. .. - so not so easy to rewrite to Stored process...

is it possible to register stored process at "lib.cat.enry.scl" name without Path?
And this stored process is calling the stprunen.sas -code?
so I should'nt change the URL of the IntrNet code ..

What I have tried :
- The SMC is forcing to give a path - and I can't register in the root ...
But I think it will be a good suggestion in the next version ...

- or is this exist some TomCat hack to rewrite "_program" value
that can emulate the SAS IntraNet behavior ?

like -->
from: ..... _program=lib.cat.entry.scl
to : ..... _program=sbip://hack/stprunen&_entry=lib.cat.entry.scl


Thanks in advance ..
Imre Message was edited by: MKB_SMU
SAS Super FREQ
Posts: 8,743

Re: _program=lib.cat.entry.scl mapping to Stored Process?

Hi:
This is really a question for Tech Support. It was my understanding that your stored process contained the call to STPRUNEN or else you wrote your own "wrapper" to call the SCL program. You cannot register the SCL program as an SP.

Refer to these papers/documentation for more information:
http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/inet2stp.html
where it states that:
The stored process server cannot directly execute SOURCE, MACRO, or SCL catalog entries. You must write a wrapper .sas source code file that executes the catalog entry.
http://support.sas.com/rnd/papers/sgf07/sgf2007-af.pdf
http://www2.sas.com/proceedings/forum2007/023-2007.pdf

If there were any workarounds (or "hacks"), the only folks who might know them would be Tech Support.

cynthia
Ask a Question
Discussion stats
  • 1 reply
  • 172 views
  • 0 likes
  • 2 in conversation