Subject: | |
From: | |
Reply To: | |
Date: | Sun, 23 May 1999 22:41:22 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Terry Prime wrote:
>
> Hi,
> I have the following command procedure set up to change the date in an
> indirect file used in a turbostore batch job.
>
> SETVAR DATE,"!HPMONTH/!HPDATE/!HPYEAR"
> SETVAR DIR,"@[log in to unmask]@[log in to unmask]@.@3000@"
> SETVAR NEW,";DIRECTORY;INTER;PROGRESS=3"
> SETVAR NEW1,"COMPRESS=HIGH;MAXTAPEBUF;DATE>=!DATE"
> FILE DDFS.SYSOPER,OLD;DEV=DISC
> FILE DDFS1.SYSOPER,OLD;DEV=DISC
> FILE DDFS2.SYSOPER,OLD;DEV=DISC
> IF HPDAY=7 THEN
> PURGE DDFS1.SYSOPER.SYS
> PURGE DDFS2.SYSOPER.SYS
> COPY DDFS.SYSOPER,DDFS1.SYSOPER
> COPY DDFS.SYSOPER,DDFS2.SYSOPER
> ECHO !DIR>DDFS1.SYSOPER.SYS
> ECHO !NEW!NEW1>>DDFS1.SYSOPER.SYS
> ECHO ;ONLINE=START>>DDFS1.SYSOPER.SYS
> COPY DDFS1.SYSOPER.SYS,DDFS.SYSOPER.SYS
> DELETEVAR etc
>
> This creates a temporary file which is unfortunately deleted when the
> session is discontinued. I thought that the DEV=DISC parameter would
> create a permanent file on disc. What am I missing?
>
It's been awhile and I am not at the 3000, nut don't you have to
enter
"NEW" after the TO file name to make the file permanent?
Nick D.
|
|
|