LOCSITE [ parameters ]
The i5/OS FTP client supports these parameters and parameter options for the LOCSITE subcommand:
- CRTCCSID *CALC
- New database files created during ASCII file transfers use the related default EBCDIC CCSID of the ASCII file transfer CCSID. This is the default value.
- CRTCCSID *USER
- New database files created during ASCII file transfers use the current job CCSID. However, if this CCSID is 65535, the default CCSID determined by the language id in the current job specification.
- CRTCCSID *SYSVAL
- New database files created during ASCII file transfers use the CCSID that the QCCSID system value specifies.
- CRTCCSID [CCSID-number]
- Specify the CCSID you want to use when creating database files on the client during ASCII file transfers. The FTP server validates this value.
- CRTCCSID
- Display a message that contains the current FTP client CRTCCSID setting.
- TRIM 0
- Set Trim option to OFF. The FTP server sends trailing blanks of database records.
- TRIM 1
- Set Trim option to ON. The FTP server does not send trailing blanks of database records when transferring database files that use file structure and stream mode. This is the default.
- TRIM 2
- Set Trim option so the server does not send trailing blanks of database records for all transfers, including record structure and block mode.
- TRIM
- Display a message that contains the current setting of the FTP client TRIM option.
Notes:
- Prior to the availability of this subcommand, trailing blanks of QSYS.LIB file system records were always removed before transferring the file to the FTP server.
- TRIM settings do not apply to TYPE I (binary) file transfers. Blanks are never trimmed for TYPE I file transfers, regardless of the TRIM setting.
- DTAPROT C
- Set the data protection variable to C (Clear). This variable is used to set the data protection level when opening a secure control connection. For more details about setting data protection security, refer to the following subcommands: SECDATA and SECOPEN.
- DTAPROT P
- Set the data protection variable to P (Private). This variable is used to set the data protection level when opening a secure control connection.
- DTAPROT
- Display a message that contains the current value of the data protection variable.