ftype

CFTRECV, CFTSEND

[ FTYPE = { c } ]  OS-specific

The file type. Some FTYPE parameter values are OS specific. Refer to the Transfer CFT OS-specific documentation for more information.

UNIX

FTYPE FCODE Type of sent file

‘ ‘ 

BINARY 

Binary

BINARY 

Binary

BINARY 

Binary file emulating locally a variable file format

ASCII 

Text file with LF or CRLF as end-of-line separator

ASCII 

Text file with CRLF as end-of-line separator

ASCII 

Text file with LF as end-of-line separator
J ASCII 

Text file with LF or CRLF as end-of-line separator

FTYPE = J refers to stream text. The stream text type allows sending a text file that contains records that are larger than 32 KB. Unlike classical text types (T, O, X) the stream text type does not add an EOL sequence (LF or CRLF) at the end of the received file.

See also, UNIX > Transferable files.

Windows

FTYPE 

FCODE 

Type of sent file
' ' BINARY  Binary

BINARY 

Binary

BINARY 

Binary file emulating locally a variable file format

ASCII 

Text file with LF or CRLF as end-of-line separator
F ASCII Text file where the last character '1A' is transmitted (is not considered an EOF character)
O ASCII Text file with CRLF as end-of-line separator
X ASCII Text file with LF as end-of-line separator
J ASCII

Text file with LF or CRLF as end-of-line separator

FTYPE = J refers to stream text. The stream text type allows sending a text file that contains records that are larger than 32 KB. Unlike classical text types (T, O, X) the stream text type does not add an EOL sequence (LF or CRLF) at the end of the received file.

*Supports ASCII file handling (X'1A') (SEND/RECV FTYPE=F).

See also, Windows > Transferable files.

z/OS

Implicit indicates that the FTYPE is automatically detected by the OS.

FTYPE FCODE Type of sent file
Implicit BINARY

Disk sequential files

Implicit BINARY

Members of PDS files (1 transfer per member)

Implicit BINARY

Designated version of a file in GDG

Implicit BINARY

Multi-volume disk file

Implicit BINARY

VSAM KSDS or ESDS file

A

BINARY

Print file with ASA jump codes (z/OS to z/OS)

M

BINARY

Print file with machine jump codes (z/OS to z/OS)

S

BINARY

Spanned variable format file (z/OS to z/OS)

HFS file characteristics

FTYPE FCODE Type of sent file

B

BINARY

Binary file (default)

T

EBCDIC

Text file

J EBCDIC

Stream text

FTYPE = J refers to stream text. The stream text type allows sending a text file that contains records that are larger than 32 KB. Unlike the classical text type (T) the stream text type does not add an EOL sequence (LF or CRLF) at the end of the received file.

Note FTYPE values are OS specific. Refer to the Transfer CFT z/OS documentation for more information.

IBM i (OS/400)

FTYPE FRECFM Type of sent file
' '

'  '

'F'

'V'

PF-DTA
'D'

'  '

'F'

'V'

PF-DTA
'S'

'  '

'F'

'V'

PF-SRC (with header)
'E'

'  '

'F'

'V'

PF-SRC (no header)
'Z'

'  '

'F'

'V'

SAVF

Use explicit values for the FTYPE and FRECFM, depending on the properties required for the file to be received.

A space between single quotes (' ') means that a parameter is omitted from the CFTRECV command. Blank cells in the table indicate that the type of the existing file remains unchanged.

Note FTYPE values are OS specific. Refer to the Transfer CFT IBM i documentation for more information.

HP NonStop

For Unix files, use the values in the Unix table above. For native HP NonStop files, the values are as follows.

FTYPE FCODE Type of sent file

‘ ‘ 

BINARY 

Binary

BINARY 

Binary

BINARY 

Binary file emulating locally a variable file format

ASCII 

Text file with LF or CRLF as end-of-line separator

ASCII 

Text file with CRLF as end-of-line separator

ASCII 

Text file with LF as end-of-line separator
J ASCII 

Text file with LF or CRLF as end-of-line separator

FTYPE = J refers to stream text. The stream text type allows sending a text file that contains records that are larger than 32 KB. Unlike classical text types (T, O, X) the stream text type does not add an EOL sequence (LF or CRLF) at the end of the received file.

 

Return to Command index

 

Related Links