HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.0 Mainframe Agent Installation and Configuration Guide (TB581-96014, November 2010)

Before this extended command can be executed, the EX_DRM_FS_DEF_CHECK command must
be executed to create a directory on the FTP server that will contain the transferred files.
Arguments
Specify the arguments of this extended command in the following order: operation-ID, -server
FTP-server-name, -user FTP-user-name, -password FTP-password.
operation-ID
A character string that uniquely identifies the operation to be performed. Information in the operation
definition file linked to the specified operation ID is used when executing an extended command.
-server FTP-server
In FTP-server, specify the host name or the IP address of the FTP server to which you want to transmit
the files.
-user FTP-user
In FTP-user, specify the FTP user name used when connecting to the FTP server.
-password FTP-password
In FTP-password, specify the FTP user password used when connecting to the FTP server.
Return Values
0: Normal termination
Any value other than 0: Termination with an error
Conditions Causing an Error
This extended command fails in the following cases:
An invalid option is specified.
The system could not acquire information from the operation definition file linked to the operation
ID.
A connection to the FTP server or file transmission failed.
A command executed inside the extended command encounters an error.
The backup information file to be transferred by this extended command does not exist.
Information could not be acquired from the host environment settings file.
The storage directory for extended-command temporary files specified in the operation definition
file does not exist on the file server or the database server.
The command fails to obtain the name of the dictionary map files storage directory.
Example
In this example, the command performs file transmission from the FTP client to the FTP server,
based on the settings in the operation definition file operation01.
The command uses serverA as the FTP server, ftp_user as the FTP user,
and ftp_passwd as the FTP password:
EX_DRM_FTP_PUT operation01 -server serverA -user ftp_user -password ftp_passwd
CLI Reference Guide 31