3.5.4 Unloading a file in unload completed status

Use the procedure explained below to unload a file in unload completed status.

Procedure
  1. Use the pdlogcls command to close the file to be unloaded (place it in reserved status).
    pdlogcls -d sys -s b001 -g syslog01
  2. Use the pdlogunld -f command to execute the unload function. Note that the status of the file will not change.
    pdlogunld -d sys -s b001 -g syslog01 -f

It is recommended that after the command has executed you check whether or not the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 8 Command Reference.