Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
davidr262 Absent Member.
Absent Member.
746 views

CODE_PREFIX

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.

0 Likes
1 Reply
Chuck Edgin Absent Member.
Absent Member.

RE: CODE_PREFIX

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.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.