home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / vms / 18372 < prev    next >
Encoding:
Internet Message Format  |  1992-11-24  |  1.0 KB

  1. Path: sparky!uunet!wupost!waikato.ac.nz!aukuni.ac.nz!comjohn
  2. Newsgroups: comp.os.vms
  3. Subject: DCL problem - dir/siz/grand
  4. Message-ID: <1992Nov24.033101.15904@ccu1.aukuni.ac.nz>
  5. From: comjohn@ccu1.aukuni.ac.nz (Mr. John T Jensen)
  6. Date: Tue, 24 Nov 1992 03:31:01 GMT
  7. Organization: University of Auckland, New Zealand.
  8. Lines: 16
  9.  
  10. Excuse me if this is an elementary question - I am rather a VMS novice (tend
  11. to write Unix shell scripts in DCL :-), but what I want to do is this.  I
  12. want to get the numeric result of a dir/siz/grand [dirname...] into a symbol
  13. in a DCL command file so I can compute on it.  In other words, I want the
  14. number of blocks contained in a directory and all its subdirectories to be
  15. the value of the symbol.  Sort of the VMS equivalent of
  16. symbol=`du -s dirname` if it were Unix.  Can anyone help me?
  17.  
  18. jj
  19.  
  20. John Thayer Jensen                      64 9 373 7599 ext. 7543
  21. Commerce Computer Services              64 9 373 7437 (FAX)
  22. Auckland University                     jt.jensen@aukuni.ac.nz
  23. Private Bag 92019
  24. AUCKLAND
  25. New Zealand
  26.