"Stigers, Gregory - ANDOVER" <[log in to unmask]> wrote:
>I need some great hacks to generate a YYMMDD string as part of a backup
>filename, and to get rid of old backups. This is the best I could come
>up with for the former. I would welcome better ideas, or suggestions on
>improving what I am doing or how I am doing it. I do like that it is
>short and uncluttered by anything extraneous. I also think that it is
>not intuitively obvious to the most casual user, or anyone else.
Sorry about getting into this so late.
Now if you have MPEX, you can do something like this:
SETVAR SYSL STRWRITE(TODAY:'YYMMDD')
FILE SYSLIST=BK!SYSL.BACKUPLG;DEV=DISC;DISC=1000000
FYI
Roger Smith, Systems Programmer Analyst
Tulare County Office of Education
[log in to unmask]
Opinions are my own....