Subject: | |
From: | |
Reply To: | |
Date: | Mon, 24 May 1999 09:16:53 +0200 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hello Terry,
You have just not echoed the info to the file intended,
but you have created a new temporary file.
Just prefix the output designator with *,
and you will be addressing the intended file.
eg., ECHO xxxxxx > *DDFS1.SYSOPER
Tad
-----Original Message-----
From: Terry Prime <[log in to unmask]>
To: [log in to unmask] <[log in to unmask]>
Date: 24 May 1999 04:01
Subject: permanent file
>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?
>
>thanks ... Terry
>
><><><><><><><><><><><><><><><><><><><><><><><><>
>Growing old is mandatory, acting old is optional
>
>Terry Prime
>Client Services Officer
>Queensland University of Technology
>(07) 38641784
>
|
|
|