PreviousNext
Help > Programming with LAUNCHER Office > CL Commands > LNCXFER - CL Command
LNCXFER - CL Command

 LNCXFER allows to transfer data from a file or an AS/400 request to a fine on PC (ASCII or Unicode format).

 

Parameters

 

Target PC file path

PCFILE

 

Folder/Directory of file

FLR

*NONE

Data source type

CPYSRC

*FILE

Source file name

FROMFILE

 

Library

 

*LIBL

Source member

FROMMBR

*FIRST

Columns to select from file

 

*ALL

Data type conversions

 

*NONE

Maximum number of records

MAXRCD

*NOMAX

Generate UNICODE data

UNICOD

*NONE

Generate column headings

COLHDG

*NAME

Decimal point

DECPT

*LOCALE

Generate desc. file (lfd)

DESCF

*NO

Format of the destination file

OUTFMT

*CSV

Column delimiter character.

DELIMITER

*DFT

Double quotes around values

QUOTETXT

*YES

LAUNCHER server name

EXESRV

*DFT

Close communication

CLOSECOM

*YES

 

 

 

Example

LNCXFER PCFILE(TRANFERT.TXT) FLR('c:\temp\') +

FROMFILE(LAUNCHER/SP_CUST) EXESRV(*DEV)