Compile all files
Chris.Sharman@ccagroup.co.uk
Chris.Sharman@ccagroup.co.uk
Wed, 30 Jul 2003 08:47:29 +0100
This message is in MIME format. Since your mail reader does not
understand this format, some or all of this message may not be legible.
It contains attachments for use on your PC/Mac. If you're reading
this in VMS mail, and want it on your PC, type 'move newmail' now
to move it back into your newmail folder, and then pick it up with
your PC mail in the usual way
--NextPart
My powerhouse compilation routine isn't particularly portable, concerning
itself with CMS, source directories, destination directories, naming
conventions, and errors and warnings.
I do however have the attached 'select all files' com file (originally in VMS
professional I believe, although I've made a few enhancements).
It's very simple to use:
Eg, @sys$manager:saf "quick auto='name' nolist" *.qks
Obviously it's easily adapted to Quiz, Quick, QTP, and assorted other
applications (anything which doesn't like wildcards).
It's also capable of processing a list of files:
dir/out=tmp.tmp *.log/nohead/notrail/before="-30-0"
@sys$manager:saf "zip -j archive 'file'" "@tmp.tmp"
(a poor example I know, but you get the idea).
Note the single quote inside the quoted string: "''file'" would get substituted
immediately, whereas "'file'" doesn't, but does when the command is reprocessed
by saf.
I find it an invaluable tool, and would recommend parking it somewhere on your
systems available for everyone.
Chris
-----------------------------------------------------------------------
Any views expressed in this message are those of the sender and not
necessarily those of CCA Group. The unauthorized use, disclosure,
copying or alteration of this message is forbidden. The contents of
this message may be confidential and/or privileged, copyright CCA Group
and are intended solely for the use of the individual or entity to whom
they are addressed. Whilst this message has been scanned, CCA Group
cannot guarantee that it is virus free or compatible with your systems
and accepts no responsibility for any loss or damage arising from its
use. The recipient is advised to run their own anti-virus software. If
you receive this message in error please contact
postmaster@ccagroup.co.uk immediately, destroy any copies and delete it
from your computer systems.
--NextPart
Content-Type: application/octet-stream; name="Saf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Saf.com"
JCB2ID0gJ2YkdmVyaWZ5KDApJw0KJCBpZiBmJHR5cGUoZGVidWdfc2FmKS5uZXMuIiINCiQgdGhl
bg0KJAlzaCBzeW0vbG9jL2FsbA0KJAl4ID0gZiR2ZXJpZnkoMSkNCi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