Subject: | |
From: | |
Reply To: | |
Date: | Mon, 22 Feb 1999 08:46:47 +1100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi,
I am trying to create a 2 line indirect file for our incremental online
Sunday backup. This is run from the standalone Saturday backup.
SETVAR DATE,"!HPMONTH/!HPDATE/!HPYEAR"
SETVAR NEW,"@[log in to unmask]@[log in to unmask]@.@3000@;directory;inter;progress=3"
SETVAR NEW1,";compress=high;date>=!DATE"
PURGE DDFS1.SYSOPER.SYS
purge ddfs2.sysoper.sys
copy ddfs.sysoper,ddfs1.sysoper
copy ddfs.sysoper,ddfs2.sysoper
IF HPDAY=7 THEN
ECHO !NEW!NEW1>DDFS1.SYSOPER.SYS
ECHO ;ONLINE=START >>DDFS1.SYSOPER.SYS
fcopy from=DDFS1.SYSOPER.SYS;to=DDFS.SYSOPER.SYS
deletevar date
deletevar new
deletevar new1
ELSE
ECHO "TODAY IS NOT SATURDAY, I DON'T WORK UNLESS IT IS SATURDAY"
ENDIF
I know that >> is supposed to append the line so you can create a multi
line file but for some reason this does not work, I always end up with a
single line file. What am I doing wrong?
Thanks ... Terry
<><><><><><><><><><><><><><><><><><><><><><><><>
Growing old is mandatory, acting old is optional
Terry Prime
Client Services Officer
Queensland University of Technology
(07) 38641784
|
|
|