Download Universal Data Mover 3.2.0 User Guide

Transcript
forfiles Statement
UDM Scripting Language
_file Variable Attributes
The _file variable also has special attributes that further define a file (see Table 11.4 _file
Built-in Variable – Special Attributes).
For efficiency reasons, all of these attributes – other than name and type – are retrieved
only as requested. You can request to retrieve the file attributes by adding
fileattrib=yes to the end of the forfiles call.
For example:
forfiles src=*.txt fileattrib=yes
echo "$(_file) is $(_file.size) bytes in size."
end
If the information for an attribute cannot be obtained, its value is set to an empty string.
z/OS
z/OS datasets store only createdate and accessdate. There is no time (createtime and accesstime)
associated with these dates, nor do z/OS datasets store moddate or modtime.
udm-user-3207
Confidential & Proprietary
204