IBM FTP Adapter manual Code Page Local -CPL, Code Page Remote -CPR

Page 13

Chapter 3 - FTP Commands

List of Commands

Code Page Local (-CPL)

Use the Code Page Local adapter command (-CPL) to specify the code page of the data on the local system (the system on which Mercator is running).

Use this command in conjunction with the TYPE=ASCII feature of the –URL

command. This command must be used if the Code Page Remote adapter command (-CPR) is specified.

This command is only valid on OS/390 and z/OS systems. The default value is the default EBCDIC code page for your system.

-CPLcode_page_name

OptionDescription

code_page_name Specify the code page name of the data on the local system.

See IBM publication "OS/390: C/C++ Run-Time Library Reference" (SC28-1663) function __atoe_l or go to http://publibz.boulder.ibm.com/cgi-

bin/bookmgr_OS390/BOOKS/EDCLB130/3.50?SHELF=CBCBS130&DT=200206201 75922 for more information.

Code Page Remote (-CPR)

Use the Code Page Remote adapter command (-CPR) to specify the code page of

the data on the remote system to which, or from which the data is being transferred.

Use this command in conjunction with the TYPE=ASCII feature of the –URL

command. This command must be used if the Code Page Local adapter command (-CPL) is specified.

This command is only valid on OS/390 and z/OS systems. The default value is ISO 8859-1.

-CPRcode_page_name

OptionDescription

code_page_name Specify the code page name of the data on the local system.

F T P A d a p t e r R e f e r e n c e G u i d e

1 3

Image 13
Contents FTP Adapter Reference Guide Document History Part Product Version Published Number Contents Troubleshooting Related References About This DocumentOverview FTP AdapterSystem Requirements About Sockets Access to International VANsIAaliascardnum OAaliascardnum Command AliasList of Commands FTP CommandsLSsorttype Audit -A or -AUDIT Account -AC or -ACCTCertificate Authority -CA Client Certificate Password -CPASSClient Certificate -CERT Code Page Remote -CPR Code Page Local -CPLOpen Site Transparent User Userfw Userfwpass Firewall Connection Method URL -FW or -FIREWALLFtpuser, Pass ftppass Adapter Behavior when -FIREWALL Command PresentOpen Userlogon or User URL SyntaxTokens Replaced with FTP URL -URL Ftpext-m1st-02.txt Keep Server -KS Ignore -I or -IGNOREList Option -LS Port Mode -PT or -PORT Passive Mode -PV or -PASVMake Directory -MKD Private Key -PKEY Private Key Password -KPASSQuantity -QTY Number of files to be retrieved by the adapter Site -SITESSL Protocol -SPROTO SSL Encryption Strength -STRStage -STG or -STAGE WIN32 System -SYSTrace -T or -TRACE Data Sources Syntax SummaryData Targets URL Syntax Using FTP Adapter CommandsExamples Syntax Summary URL Syntax URL Encoding Adapter Audit Log TroubleshootingSample FTP Adapter Trace File Adapter Trace FileTroubleshooting Adapter Trace File Messages Appendix a Return Codes and Error MessagesAppendix a Return Codes and Error Messages Index Index