Information Center

Send binary options (i5/OS and OS/400)

Options include:

CRLF
Carriage Return and Line Feed. CRLF (x'0D0A') is removed from the end of each record. EOF (x'1A') is removed from the end of a file.


APPEND
The transferred file will be appended to an existing host file that has the same name (and type and mode for VM/CMS), if one exists. If APPEND is not specified, the transferred file overwrites the existing host file.


NEW
The transfer stops if the file already exists. This option can be used to protect against accidentally erasing an existing file.


DSTADDR(dstaddr)
This option specifies the destination address of the host to be used for the file transfer.


USERID(usr)
This option specifies the user ID to be used for the file transfer.


PASSWORD(pwd)
This option specifies the password to be used for the file transfer.


SRC
This option specifies the i5/OS or OS/400 file type to be used for the transfer. If the host file does not exist, then a new file is created with the file type "Source physical file". This option is applicable only for the files in the QSYS library file system.


DTA
This option specifies the i5/OS or OS/400 file type to be used for the transfer. If the host file does not exist, then a new file is created with the file type "Physical data file". This option is applicable only for the files in the QSYS library file system.


SAVF
This option specifies the i5/OS or OS/400 file type to be used for the file send. If the host file does not exist, a new file is created with the file type "save file". If this option is specified, then the transfer mode must be binary. Also, this option is applicable only for files under the QSYS library file system.


LRECL(n)
This option specifies the logical record length when creating a file on the i5/OS or OS/400 operating system. It can have the following values:



Microsoft Internet Explorer users may see this error message in the Java Console while transferring files to the i5/OS or OS/400 operating system:
  com.ms.SecurityExceptionEx[com/ibm/as400/access/SystemProperties/GetProperty]: Unable to access system property: com.ibm.as400.Trace.category

You can ignore this message. If you want to remove the error message from the Java Console, you can update the Windows registry entry My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM\classpath with the Host On-Demand server directory, for example, C:\Program Files\IBM\HostOnDemand\HOD\.