home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!zl2tnm!toyunix!don
- Newsgroups: comp.os.vms
- Subject: Re: MOVE for Vms anywhere ?
- Message-ID: <4046351@zl2tnm.gen.nz>
- From: don@zl2tnm.gen.nz (Don Stokes)
- Date: 17 Dec 92 09:25:00 GMT
- Sender: news@zl2tnm.gen.nz (GNEWS Version 2.0 news poster.)
- References: <01GSCL9O0D9U8WW82Q@kopc.hhs.dk>
- Distribution: world
- Organization: The Wolery
- Lines: 29
-
- ARNE@KOPC.HHS.DK (Arne Vajhxj) writes:
- > MOVE:==@disk:[dir]MOVE.COM
- >
- > where MOVE.COM contains:
- >
- > $ if f$parse(p1,,,"DEVICE") .eqs. f$parse(p2,,,"DEVICE")
- > $ then
- > $ rename 'p1' 'p2' 'p3' 'p4' 'p5' 'p6' 'p7' 'p8'
- > $ else
- > $ copy 'p1' 'p2' 'p3' 'p4' 'p5' 'p6' 'p7' 'p8'
- > $ delete 'p1'
- > $ endif
- > $ exit
- >
- > There is still a few restrictions compared with a real DCL command:
- > - qualifiers must be specified after the parameters
- > - if the COPY/DELETE is used, then version numbers must be specified
-
- $ MOVE VERY-IMPORTANT.FILE; WHOOPS-I-MADE-A-MISTAKE.###
- %DCL-W-PARMDEL, invalid parameter delimiter, check use of special characters
- $ DIR VERY-IMPORTANT.FILE
- %DIRECT-W-NOFILES, no files found
-
- Guys, how about a bit of quality control in your examples... 8-)
-
- --
- Don Stokes, ZL2TNM (DS555) don@zl2tnm.gen.nz (home)
- Network Manager, Computing Services Centre don@vuw.ac.nz (work)
- Victoria University of Wellington, New Zealand +64-4-495-5052
-