Previous Topic: TARGETNAMESPACE Statement—Specify a Target NamespaceNext Topic: TEMPLATELANG Statement—Specify the Template Language for a Single Request or Request Set


TARGETOSTYPE Statement—Specify the Remote Operating System Type

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
UNIX

Specifies that the remote operating system is UNIX. This is the default.

Windows

Specifies that the remote operating system is Windows.

Open VMS

Specifies that the remote operating system is OpenVMS.

Tandem

Specifies that the remote operating system is Tandem.

OS400

Specifies that the remote operating system is i5/OS.

MVS

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