Subject: | |
From: | |
Reply To: | |
Date: | Sun, 21 Feb 1999 19:52:23 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Terry:
You probably need to stick in a :FILE equation before the "IF" statement to
force MPE to "see" the DDFS1.SYSOPER.SYS as a permanent file. I'll bet
even money that the :ECHO statements are creating a new temporary file with
the same name. You can verify this with a :LISTFTEMP @.@,2 command. Force
the system to recognize the file as a permanent file by: :FILE
DDFS1.SYSOPER,OLD;DEV=DISC.
Give it a try!!!
Tom Madigan
SE Pennsylvania
"My opinions are strictly my own. Who else would want 'em?"
At 08:46 AM 2/22/99 +1100, Terry Prime wrote:
>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
>
|
|
|