3.2.25 Operands related to modifying the directory for work file output

92) pd_tmp_directory = work-file-output-directory
~<absolute path name>((3-200))
Specifies the directory to which HiRDB is to output work files. Before you start HiRDB, you must have created the specified directory and granted permission for it to all HiRDB users.
HiRDB determines the directory for work file output based on a preset priority depending on the command being used. For details about the output files for which this operand's directory specification is applicable, see the manual HiRDB Version 9 Command Reference.
You can use the pdcspool command periodically to delete unneeded work files stored in the specified directory. For details about the pdcspool command, see the manual HiRDB Version 9 Command Reference.
Condition
Be sure to create the directory specified in this operand before starting HiRDB. Specify full control for everyone as the access permission for the directory.
If no directory with the name specified in this operand is available when HiRDB starts (because, for example, it was deleted by mistake while HiRDB was stopped), HiRDB creates a directory with the specified name and sets the access permission to full control for everyone.
Advantages
  • The output destination for work files that HiRDB outputs can be consolidated at a single location other than the HiRDB directory.
  • Periodic deletion with the pdcspool command of work files that remain after command execution is facilitated.
These capabilities make disk management easier.
Notes
  • The root directory (such as C:\) cannot be specified in this operand.
  • Do not specify any directory under the HiRDB directory.
  • Do not specify the name of a directory that is being used by a program other than HiRDB. If you do so, files output by the other program might be deleted when the pdcspool command is executed.
    Note that if one of the following directory names is specified, files will not be deleted, even when the pdcspool command is executed (in these cases, the files must be deleted manually by the user):
    [Figure]Root directory (such as C:\)
  • If the specified path name is not valid or the user does not have permission to access the specified directory, HiRDB will not be able to access the directory. When this happens, a warning message will be issued and %PDDIR%\tmp will be used as the default directory.
  • If there is a valid setting in the TMP environment variable and this operand is not specified, the default for this operand will be the value set in TMP. The size of a path name set in an environment variable is not checked, so a path name in the TMPDIR environment variable that is longer than 512 bytes would not be considered invalid.
  • If no value is set in the TMP environment variable or the setting in TMPDIR is invalid, the default specification for this operand is %PDDIR%\tmp.