Thomas,
You could use the following two step approach:
1. Somewhere in your system wide logon UDC set a variable:
setvar CIPIN hppin
2. Your UDC command then would contain the following code:
...
If hppin = CIPIN then
echo UDC command entered from MPE-Prompt
else
echo UDC invoked from user program
endif
...
Regards
Paul Christidis
Hi all,
inside an UDC, I should find out whether this UDC-Command was entered
from the MPE-Prompt (:) or via HPCICOMMAND-Intrinsic out of a
Cobol-Program.
What is the easy way to find out ?
Thank you
Thomas
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *