![]() |
![]() |
Use the following syntax rules when entering file specification parameters, such as filespec, sourcefilespec, and destinationfilespec:
dsmc i sys:The following example is not valid:
dsmc sel sys:
When entering a destinationfilespec, if the name ends with /, then it is considered a directory, otherwise it is considered a file.
The following example illustrates these two rules. Even though mydir and yourdir are directories, the command will fail because /* is implied after mydir, and yourdir is considered a file:
restore sys:mydir/ sys:away/yourdir
The following example illustrates the second rule. Even though mydir and yourdir are directories, the command will fail because mydir and yourdir are considered files:
restore sys:mydir sys:away/yourdir
dsmc set access sys:/dir1/*/*