Not so bad.. here is something I use, I think it works everytime.. PARSE UPPER SOURCE . . . . . RXNAME . 'PIPE STORAGE 740 8 | XLATE 1-* UPPER | VAR ABC' IF ABC = STRIP(RXNAME) THEN SAY ' ENTERED ON COMMAND LINE' NOTE: You want to get the command line from x'740' not 2A0 as I may have indicated.
-----Original Message----- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] Behalf Of Wakser, David Sent: Wednesday, December 26, 2007 12:54 PM To: [email protected] Subject: Re: Checking how invoked Ugh! I would hate to do it that way from a very simple EXEC! David Wakser _____ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Huegel, Thomas Sent: Wednesday, December 26, 2007 1:51 PM To: [email protected] Subject: Re: Checking how invoked In the CMS NUCLEUS at offset 2A0 you can find the name of the last command (typed at the console) issued, and at 2B0 is the name of the last EXEC procedure... If that helps any.
