I’d like to have access to the name of the object in the Natural source work area. *PROGRAM returns the name of the program that is being executed. So, for example, if you are editing program ABC, then execute program XYZ, how can program XYZ know that program ABC is in the source work area? If XYZ accesses *PROGRAM, it’s value is ‘XYZ’. I can’t find any other system variable that is even close.
Is asking for the object type too much to ask for?
I’m running Natural version 3.1, maintenance level 0005.
I can explain why I want this if it is germane to the solution.