Universal Data Mover Commands

Universal Data Mover Commands

The following table identifies all of the UDM commands.

Each Command Name is a link to detailed information about that command.

(Also see Universal Data Mover Command Format.)

Command Name

Description

appenddata

Appends a line of text to the end of an existing data element, or creates a new data element containing that line of text.

attrib

Sets the file system attributes that govern the transfer operations on the host with the specified logical name.

break

Stops iterating through a forfiles loop and picks up execution at the script line immediately following the end statement marking the end of the forfiles loop.

call

Loads and executes a command script.

cd

Changes the working directory (on UNIX, Windows, IBM i, and file system HFS) or if z/OS, the current data set qualifiers (for DSN and DD file systems) on the specified logical machine to the specified path.

close

Closes the current transfer session.

closelog

Closes the open log file.

compare

Compares two strings of data

copy

Initiates a copy operation.

copydir

Initiates a copy operation that recurses into subdirectories.

data

Defines an in-stream data element that can be passed as input for other commands.

debug

Turns debug information on and off.

delete

Deletes a file (or series of files if file-spec contains any wildcards) from the transfer server with the corresponding logical name.

deletestring

Removes a substring from an existing string.

dir

Provides a listing of the specified directory.

diskspace

Retrieves the amount of space available on a volume or file system. This command is available on UNIX and Windows, and z/OS and IBM i when the current file system is set to HFS (see the filesys command).

echo

Sends text to standard out (stdout).

echolog

Sends text to an open log file.

exec

Executes system commands on remote machines.

execsap

Executes SAP events.

existdir

Verifies that the specified directory exists and reports the results to the user.

exit

Exits the UDM Manager (same as the quit command).

filesys

Sets the file system with which the server with the specified logical name is working.

filetype

Set a series of masks and corresponding transfer mode types.

find

Finds a specific occurrence of a substring in an existing string or list element.

format

Creates a formatted string.

insertstring

Inserts a substring into an existing string.

loaddata

Loads the contents of a data element from a file, instead of setting them in a script via the data command.

logdata

Writes the content of a data element to the open log file.

lower

Forces all alpha characters in a given variable or list element to lower case.

mkdir

Creates the specified directory.

mode

Sets the current transfer mode.

move

Initiates a move operation.

open

Opens a UDM session.

openlog

Opens a log file on disk for writing custom log information.

pad

Takes a string in an existing variable or list element and pads it to make it the given length.

parse

Parses a string, placing the components of the string into variables.

print

Prints a message in the UDM manager's transaction output.

query

Prints out the UDM Manager version.

quit

Exits the UDM Manager (same as the exit command).

rename

Renames a file.

replace

Replaces one or more instances of a sequence with another sequence.

report

Sets UDM's reporting options.

resetattribs

Resets the attributes for all UDM file systems on the transfer server with the specified logical name.

return

Stops executing the current script immediately and returns execution to the calling script immediately after the callcommand used to invoke the current script.

reverse

Reverses the order of all characters in the string of a specified existing variable or element.

rmdir

Removes the specified directory. Only the last directory n the path is removed.

savedata

Writes each line of a data element to a file on disk.

set

Sets the UDM Manager's built-in and global variable values.

sleep

Pauses execution of the script.

status

Displays the current connection status.

strip

Strips occurrences of a sequence from a string.

substring

Finds a substring in an existing string and stores it in a variable.

truncate

Truncates a string to a specific length.

upper

Forces all alpha characters in a given variable or list element to upper case.