In <[EMAIL PROTECTED]>, on 04/10/2006
   at 12:30 AM, Wade Curry <[EMAIL PROTECTED]> said:

>//FILE DD DSN=X,DISP=SHR 
>   says only that whatever PGM you're running needs an input file
>with the ddname/file descriptor name of FILE.  the name of the
>dataset is X, and it won't use it exclusively.  It does nothing.

Actually, it does do something. In addition to the obvious task of
creating control blocks, it prevents other jobs from allocating X with
DISP=OLD. It's the equivalent of acquiring a file lock in Unix.

>ls -l | cat | grep uid | wc -c

Now here we agree; this use of filters is in no way analogous to the
DD statement, so it is pointless to talk of which makes more sense.  I
also agree that the cat seems to serve no purpose and that the other
parts are obvious if you are at all familiar with Unix utilities.

-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to