*NS

*NS is a figurative constant that represents the name of the current namespaces as a string, ending with a dot “.”.

Remarks

Use the DCLNAMESPACE command to declare a particular namespace in code.

It is used most commonly in conjunction with CALLD where the program to call has the same namespace as the caller: CALLD Pgm(*NS + "OtherPgm")```

See Also

Figurative Constants

CALLD

DCLNAMESPACE