ghuey,

Welcome to the board!

Can you post the code you are using right now? Otherwise, I think we will be guessing as to the specifics of what you are looking for.

If we look at the docs for SET/SETM, we see..
Quote:


The environment of the current process (KiXtart 2001) is not affected.





You may do better for execution of your program at the time the script is run by using - SETL.

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's