Novell is now a part of Micro Focus

Is there a way to set the default...

Articles and Tips: qna

01 Mar 2002


Q.

Is there a way to set the default name space for all new ThreadGroups within an NLM in the same way it's accomplished by using a "(CLIB_OPT)/NLONG" load line parameter? It seems that each new ThreadGroup defaults back to DOS naming.

A.

Russ Bateman, an engineer on our CLIB Team, indicated that his team could have set up new thread group creation (BeginThreadGroup) to inherit the source and target name space of the spawning parent, but that isn't currently the semantic in force. Now, we could do that as an enhancement, but there might be someone counting on it to default back to the primary namespace.

Moreover, we haven't released new libraries for v5.0, v4.11, or v3.12 in a long time so it wouldn't be done there. Doing it now would be confusing or bug-inducing.

One way to work around this would be to call SetCurrent/TargetNameSpace at the beginning of each new thread group. Although I agree it would be nice to have a simpler solution, like setting the initial name space with a linker directive.

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates