Troubleshooting
Problem
During the restore operation, the following error is observed:
$dsmc restore "/var/log/abc.log" "/home/restore/xyz.log" -subdir=no
IBM Storage Protect
Command Line Backup-Archive Client Interface
Client Version 8, Release 1, Level 27.1
Client date/time: 03/12/26 14:27:13
(c) Copyright IBM Corp. 1990, 2025. All Rights Reserved.
Node Name: abc
Session established with server TSM: Linux/x86_64
Server Version 8, Release 1, Level 27.000
Server date/time: 03/12/26 14:27:13 Last access: 03/12/26 14:20:26
ANS2039E Invalid destination file specification '/home/restore/xyz.log' entered
Symptom
The restore process does not complete successfully, and the target file is not restored to the specified destination path.
Cause
In this case IBM Storage Protect server have client option set "-subdir=yes" override client option value.
From "q node node_name f=d" to check if node is associated with Client Option Set.
Optionset: OPT_ABC
Environment
IBM Storage Protect Client version 8.1.x and all further releases.
Diagnosing The Problem
A client service trace indicates that the subdir option is set to YES even restore command have "-subdir=no" specified.
04/23/26 09:31:43.877 [13697660] [1] : dscommnd.cpp (3300): Argument is: '-SUBDIR', value: 'no'
.
04/23/26 09:31:44.474 [13697660] [1] : optservices.cpp (4839): validating server option(SUBDIR) value(YES)
04/23/26 09:31:44.476 [13697660] [1] : optservices.cpp (8144): SrvCanOvrRde(Y) Src(0x0d=Multi ) subdir Yes
.
04/23/26 09:31:44.494 [13697660] [1] : optservices.cpp (4839): validating server option(SUBDIR) value(YES)
Resolving The Problem
OR
Remove the client node (node_name) from the option set (OPT_ABC).
Removing the subdir in the option set makes the command works.
Related Information
Document Location
Worldwide
Historical Number
TS021680065
Product Synonym
TSM,ISP;SP
Was this topic helpful?
Document Information
Modified date:
07 May 2026
UID
ibm17270839