Define the target

The following tables describe the parameters available in flow definition, target side.

Transfer properties

CG parameter CG values CFTUTIL parameter Description
Transfer state Ready: default ,
On hold,
Kept
CFTRECV, state

Ready (D) -> DISP
On hold (H) ->HOLD
Kept (K) ->KEEP
Indicates the state of the transfer request.: Ready, On Hold, Kept
Field is available in UI only if the Initiator is the target.
If Source is the initiator, in Target side the transfer state is ready and the field cannot be configured in CG UI.
User id string, max 32, empty by default CFTRECV, userid Identifier of the transfer owner. If this parameter is not defined, its default value is the system "userid" of the Transfer CFT.
Detect duplicate transfers string max 512, empty by default CFTRECV, duplicat This field is used in detecting duplicate transfers and may contain a list of symbolic variables separated by a period ".".
No file exists Create: default,
Cancel

CFTRECV

Specifies the action taken if the received file does not already exist.
Create – The file is created.
Cancel – The transfer is refused.
File exists Delete: default,
Cancel,
Overwrite, Overwrite only if empty

CFTRECV

Specifies the action taken if the received file exists.
Delete – The existing file is deleted.
Cancel – The transfer is refused.
Overwrite – The existing file is overwritten.
Overwrite only if empty – The existing file is overwritten only if it contains no data.
Aborted transfer Keep: Default,
Delete
CFTRECV, rkerror Specifies the action taken if a transfer is terminated due to a file creation error on the target.
Keep – The transfer remains in the transfer list.
Delete – The transfer is removed from the transfer list.
Delete file on purge Ready (D) ,
Transferring (C), On Hold (H),
Kept (K), Transferred (T), Executed (X) default: no selection
CFTRECV, fdelete

Ready (D) ->D
Transferring (C) -> C
On Hold (H) -> H
Kept (K) -> K
Transferred (T) -> T
Executed (X) -> X
Indicates the transfer states of files that will be deleted when you remove the associated transfers from the transfer list or when you purge the transfer list. You can select any combination of statuses. If you do not select anything, files are not deleted even when the associated transfers are removed from the transfer list.
Ready – The transfer is available and can start immediately.
Transferring – The transfer is being executed.
On hold – The transfer was interrupted due to an error, such as a network failure, or by a user.
Kept – The transfer was suspended by Transfer CFT or by a user.
Transferred – The transfer was successfully completed.
Executed – The transfer was ended by an application or user.

File properties > files

Indicates whether you are sending a single file or multiple files.

CG parameter CG values CFTUTIL‑parameter Description
Filename string max 64,
Default value: pub\&IDF.&IDTU.&FROOT.RCV
CFTRECV, fname Specify the file name or full path name for the received file or files. This field is required if the initiator of the flow is the source. Default value: pub\&IDF.&IDTU.&FROOT.RCV
Temporary file string max 64 CFTRECV, wfname Specify the name of the temporary file used during the transfer. When the transfer is complete, the temporary file is renamed using the name defined in the Filename field. If you do not specify a value, Transfer CFT directly creates the file with the name specified in the Filename field.

File properties > file type

CG parameter CFTUTIL parameter Description
Binary CFTRECV, fcode =B Specify whether the file is a binary file.
Text

CFTRECV, see configuration for FTYPE=TEXT

Specify whether the file is a text file.
Record format

CFTRECV, see configuration for record format

Indicate whether the records in the file are fixed or variable length.

Processing scripts > post-processing

CG parameter CG values CFTUTIL parameter Description
Script -> Filename if Custom, Filename field: string of max 512c CFTRECV, exec Specify the script to be executed after the file is received.
Apply to group of files On main request: Default,
For each file in group,
Both
CFTRECV, execsub
On main request -> LIST
For each file in group -> FILE
Both -> SUBF
This field is displayed if you enabled a broadcast list in source transfer properties.
Values – On main request | For each target in the list | Both
On main request – Executes the script only on the main request.
For each target in the list – Executes the script only for each target in the list.
Both – Executes the script both for the main request and for each target in the list.
Apply to collect list On main request: default,
For each source in the list,
Both
CFTDEST, exec

On main request -> DEST For each source in the list -> CHILDREN
Both -> PART
This field is displayed if you enabled a collect list in target transfer properties.
On main request – Executes the script only on the main request.
For each source in the list – Executes the script only for each source in the list.
Both – Executes the script both for the main request and for each source in the list.

Processing scripts > acknowledgment

CG parameter CG values CFTUTIL parameter Description
Script -> Filename if Custom, Filename field: string of max 512c CFTRECV, ackexec Specify the script to be executed after the file is received and post-processing is complete.
State Require,
Ignore: default
CFTRECV, ackstate
Require -> REQUIRE
Ignore -> IGNORE
Indicate if the transfer must wait for an acknowledgement.
Require – The transfer must wait for an acknowledgement before it can be considered complete.
Ignore – The transfer can be considered complete, even if an acknowledgement is not received.
Apply to collect list On main request: default,
For each source in the list,
Both
CFTDEST, execa

On main request -> DEST For each source in the list -> CHILDREN
Both -> PART
This field is displayed if you enabled a collect list in target transfer properties.
On main request – Executes the script only on the main request.
For each source in the list – Executes the script only for each source in the list.
Both – Executes the script both for the main request and for each source in the list.

Processing scripts > error

CG parameter CG values CFTUTIL parameter Description
Script -> Filename if Custom, Filename field: string of max 512c CFTRECV, exece Specify the script to be executed if an error occurs when a file is received.

 

<< My first transfer flow

Related Links