FILETYPE (FTP client and server) statement

Use the FILETYPE statement to specify the method of operation for FTP.

Syntax

Read syntax diagramSkip visual syntax diagramFILETYPE SEQFILETYPEJESSEQSQL

Parameters

JES
Remote job submission.

Restriction: This parameter applies to the server only.

SEQ
MVS™ data sets or z/OS® UNIX files. SEQ is the method of operation supported by all FTP platforms. This is the default.
SQL
SQL query function. SQL method affects the RETR command at the server and the PUT subcommand at the client.

Examples

Set the operational method to SQL:
Filetype SQL

Usage notes

  • SQL pertains to z/OS platform only. For more information about the effects on command processing when FILETYPE is SQL, see z/OS Communications Server: IP User's Guide and Commands.
  • When the SQL method is in specified for the server, it affects the RETR command only. When the SQL method is specified for the client, it affects the STOR command only.
  • JES pertains to the z/OS platform only and is valid only in the FTP.DATA file for a server. For more information about the effects on command processing at the server when the server's FILETYPE is JES, see z/OS Communications Server: IP User's Guide and Commands.
  • JES method affects the STOR, LIST, RETR, and NLST commands.

Related topics