Skip to main content

[Migrated content. Thread originally posted on 16 August 2005]

Is anyone aware of a way to determine the name of the object file (or even the PROGRAM-ID) at runtime? I can't find anything in the docs about it.

Thanks!

Steve

[Migrated content. Thread originally posted on 16 August 2005]

Is anyone aware of a way to determine the name of the object file (or even the PROGRAM-ID) at runtime? I can't find anything in the docs about it.

Thanks!

Steve
You can do this with a module that does a call to the library routine C$CALLEDBY then returns the name back to the calling program.