The fxfer.h and fxfer.inc header files have the fxc structure in common. This structure defines options used by both the C and Pascal header file.
The options in the C structures and Pascal record declarations for the File Transfer Program Interface are:
The following flags specify host file characteristics. They can be used only to upload files, with the exception of the FXC_FIXED option, which can be used when downloading from a VSE host.
f_blksize | Specifies the nonzero block size of the host data set. This option is only used in the MVS/TSO environment. For new files, the default is the logical record length. This flag is ignored if the file is being appended. |
f_lrecl | Specifies the nonzero logical record length of the host file. For new files, the default is 80. For variable-length records, the f_lrecl field is the maximum size of the record. This field is ignored if the file is being appended. If using this option while uploading to a CICS or VSE host, the FXC_FIXED option flag must also be specified. |
FXC_FIXED | Specifies fixed-length records when set in the fxc_opts.f_flags field. This is the default if none of the following flags are set: FXC_VAR, FXC_TNL, and FXC_TCRLF. This flag is ignored if the file is being appended. If specifying this option while uploading to a CICS or VSE host, either the FXC_TNL or the FXC_TCRLF option flag must be specified. If this option is specified when downloading from a VSE host, all trailing blanks are downloaded. The default option when downloading a translatable file from a VSE host causes all trailing blanks to be deleted. |
FXC_UNDEF | Specifies records of undefined length when set in the fxc_opts.f_flags field. This option can only be used in the MVS/TSO environment and is ignored if the file is being appended. |
FXC_VAR | Specifies variable-length records when set in the fxc_opts.f_flags field. This is the default if the FXC_FIXED flag is not set and either the FXC_TNL or the FXC_TCRLF flag is set. This flag is ignored if the file is being appended. |
s_space | Specifies the non-zero number of units of space to be allocated for a new data set. This option can only be used in the MVS/TSO environment. The s_space field has the following optional subfields: |
s_increment | Specifies the number of units of space to be added to the data set each time the previously allocated space is filled. |
s_unit | Specifies the unit of space. A value of FXC_TRACKS indicates the unit of allocation is tracks. A value of FXC_CYLINDERS indicates the unit of allocation is cylinders. Otherwise, the s_space field specifies the average block size (in bytes) of the records to be written to the data set. If the s_space field has a value of zero, the default unit of allocation is the value specified by the f_blksize field. If the f_blksize field is not specified, the host file-transfer program uses the default value of 80. |
The cfxfer function, fxfer function, g32_fxfer function.
The fxfer command.