DELETE USER is not an EXEC, it is an SFS administrator command. 

-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Brian Nielsen
Sent: Thursday, December 14, 2006 1:22 PM
To: [email protected]
Subject: Re: COMMAND vs. CMS

The COMMAND stage bypasses the normal search order and won't find EXECs.
=
 
Since DELETE USER is not a CMS or CP command it fails.  The COMMAND
stage=
 
ends when it gets a negative return code if it's secondary output stream
=

is not connected.

Brian Nielsen

On Thu, 14 Dec 2006 13:08:43 -0800, Schuh, Richard <[EMAIL PROTECTED]>
wrot=
e:

>I have a file containing records that look like this:
>
>       DELETE USER JOEUSER  fpid (TYPE NOCONFIRM
>
>This file is read by a pipe and the commands passed to a stage for 
>execution. I have seen and heard the arguments for using COMMAND vs. 
>CMS=

>stages, so I passed the records to COMMAND (as in 'PIPE < fid | command
>| cons'.) Nothing happens as a result. If I change the COMMAND stage to
>CMS, the commands are acted upon. Funny thing, an appended command of 
>"ERASE fid" does get executed in either instance. There must be some 
>simple explanation for what is happening, but I must be even simpler.
>What am I missing?
>
>Thanks,
>Richard Schuh
>
>
>
>

Reply via email to