On second thought, you might want to change that pipe slightly so as to
pickup only the first word from the command line. ie.
'PIPE STORAGE 740 8 | SPECS W1 1 | XLATE 1-* UPPER | VAR ABC'
 
 

-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]
Behalf Of Wakser, David
Sent: Wednesday, December 26, 2007 3:12 PM
To: [email protected]
Subject: Re: Checking how invoked


Thanks - that seems to work for me! It would seem that there would be a
(somewhat) more straightforward method, but if they don't change the offset,
I'm fine!
 
Thanks to all who responded.
 
David Wakser 

  _____  

From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Huegel, Thomas
Sent: Wednesday, December 26, 2007 3:56 PM
To: [email protected]
Subject: Re: Checking how invoked


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. 

 

Reply via email to