Exequiel R. Sevilla III wrote:
>
<snip>
>
> Tim's suggestion:
>
> :RENAME SCHEMA,SCHEMAX,TEMP
> :SAVE SCHEMAX
>
> Unfortunately, given the parameters that Dennis has, this doesn't
> work (the RENAME renames the permanent file...into the temporary
> domain). What does work is:
>
> :FILE SCHEMA;TEMP
> :RENAME *SCHEMA,NEWNAME
> :SAVE NEWNAME
>
<snip, again>
Hello everyone!
It's my story, and I'm stickin' to it! note smiley!
V
I'm sure Kelly's solution works (and no Kelly, I'm not insulted! :-),
but so does mine. I humbly refer the list to MPE's HELP command:
:HELP RENAME ALL
RENAME
Changes the file name, lockword, and/or group name of a disk file.
SYNTAX
RENAME oldfilereference,newfilereference[,TEMP]
PARAMETERS
<snip other parameters>
TEMP Indicates that the old file was, and the new file
will be, temporary files. If you do not specify
TEMP, RENAME assumes the files are permanent.
OPERATION
<snip all the rest>
Dennis said he couldn't rename the temporary file, so that's the
solution that I provided. Once renamed and saved under the new name,
the file is available for whatever testing Dennis wants to do (without
having to re-create it each time he logs on!)
Cheers!
+------------------------------------------------------------------+
My mind is my own, as are my ideas and opinions.
My heart, body, and soul, however, all belong to others. Tim.
+------------------------------------------------------------------+
Tim Ericson tericson DenKor Dental Management Corp.
Sr. Programmer/Analyst @denkor (aka Willamette Dental Group)
(& Systems Manager) .com (503) 526-4440 (direct number)
Programming HP3000s since 1983! http://www.teleport.com/~dental
+------------------------------------------------------------------+
|