I haven't found any specific information about this, but it would make sense if this is possible only in session scope.
Have you tried?
And...why?
Hello LinusH,
we have limited oracle sessions count in one of the environments, thus we need to reduce the number of oracle librefs. This is why we try to disassociate some of them.
What do you mean by session scope? I know that it's possible to assign and clear the libname in a single session, but we have the librefs preassigned, unfortuntelly.
Regards!
Won't just this:
libname LIB clear;
in autoexec in EG do the thing?
In SAS EG project tree add a program named "autoexec" and insert that line there.
Bart
Thanks yabwon!
We haven't tried this but wouldn't it be the same as "libname x clear" in stp code?
Still it's worth a shot 😉 I'll get back.
Fail 😞
The warning is the same as in the open code: "libref was not declared in this scope"
Regards! 🙂
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!