On Tuesday, 06/13/2006 at 10:59 MST, Tom Cluster <[EMAIL PROTECTED]> wrote: > Is there a way for me to know, from within PROFILE EXEC, if I've been > invoked by the logon process, as opposed to someone typing PROFILE?
Yes. caller = left(" ", 16) Call CSL "DMSCALLR rc caller 3" if rc = 8 then you were called from the command line if rc = 0 & strip(caller) = "EXEC SYSPROF" then you were called from SYSPROF EXEC. (This is also the routine you use to figure out if you were called from XEDIT.) Alan Altmark z/VM Development IBM Endicott