Is it possible to change the CODE_PREFIX programmatically so that objects can be called in a different directory or is this strictly a configuration variable that is loaded when the run time starts.
Page 1 / 1
Is it possible to change the CODE_PREFIX programmatically so that objects can be called in a different directory or is this strictly a configuration variable that is loaded when the run time starts.
Yes, you can change it programmatically using SET ENVIRONMENT "CODE_PREFIX" TO <value>.
Keep in mind that if you call 2 or more copies of a program having the same name (but in different locations), the first copy loaded will remain active and in memory until it's canceled. After a CANCEL, the current value of CODE_PREFIX will be used for subsequent CALLs.
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.