Wade Curry wrote:

<---- SNIP ----->

ls -l | cat | grep uid | wc -c
  OTOH actually calls four programs and does something that would
require 4 steps in JCL to do.  (assuming you included the useless
parts that are present in this command you created).  The command
also automatically opens all the necessary file descriptors
(ddnames) that are required and connects them so that the commands
can pass information to each other.
<--- SNIP --->

I guess it depends on how you look at it. To me the above line is 4 steps and 4 steps of JCL call 4 programs. I don't really see a big different although in JCL it does take more statments.

A other have stated the cat is totatly unneeded.





Wade Curry
AT&T Services, Inc.
Sr. Implementation Mgr

----------------------------------------------------------------------
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