The TARGETOSTYPE statement specifies the remote operating system type in a secure file transfer. The remote operating system type is used to determine the path separator on the remote system.
Supported Job Types
This statement is optional for the following job types:
Syntax
This statement has the following format:
TARGETOSTYPE UNIX|Windows|Open VMS|Tandem|OS400|MVS
Specifies that the remote operating system is UNIX. This is the default.
Specifies that the remote operating system is Windows.
Specifies that the remote operating system is OpenVMS.
Specifies that the remote operating system is Tandem.
Specifies that the remote operating system is i5/OS.
Specifies that the remote operating system is z/OS.
Example: Specify the Remote Operating System Type
This example downloads the file_size8 file from the /ul/test/ftpdata directory on the simon server using the Secure Copy Protocol (SCP). After the file is downloaded, the agent computer contains a file named scp_file_size8_local_user in the /u1/causer/data directory. The owner of the file is test. The remote operating system type is UNIX.
AGENT UNIXAGENT LOCALNAME /ul/causer/data/scp_file_size8_local_user REMOTENAME file_size8 REMOTEDIR /u1/test/ftpdata SERVERADDR simon SERVERPORT 22 TRANSFERDIRECTION DOWNLOAD USER causer LOCALUSER test TARGETOSTYPE UNIX
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|