Use the SEND acknowledgement commands

Sending an acknowledgement

This topic describes the SEND REPLY command, which sends a positive acknowledgement.

The SEND TYPE = REPLY command initiates the sending of a reply type message to a previous transfer from the partner that the message was intended for. The partner monitor interprets this message as a transfer acknowledgement.

The REPLY sender must define the IDT parameter corresponding to the identifier of the transfer to be acknowledged. This facility may be used, for example, after processing a file received, or a message, in order to inform the sender that all the operations related to this receive transfer have been correctly accomplished.

The protocol used to acknowledge a transfer must be the same as the one used for the transfer. A transfer acknowledgement is a protocol concept.

Sending a negative acknowledgement

This topic describes the SEND NACK command, which sends a negative acknowledgement.

Via negative acknowledgments, the final partner signals to the initial sender of the file that application errors were detected.

If the initial sender does not support this function, as for example in earlier versions of Transfer CFT, the final partner does not transmit the negative acknowledgement and the Transfer CFT log file displays:

CFTT93W PART=XFB1 IDS=00008 Negative ack not supported by server

Example

cftutil send
type=nack,
part=&part,
idm=nack,
msg=recu,
idt=&idt

Description

Use this command to initiates the sending of a message of a particular type. This message is a reply to a previous transfer from the partner.

Parameters

FOR OPTIONAL PARAMETERS COMMON TO SEND: see the SEND command.

EXEC

Filename.

IDA 

Local transfer identifier assigned by the user or user application. The maximum length is 64 characters.

IDM 

Message identifier. The value of this identifier is unrestricted.

IDT 

Identifier of the original transfer acknowledged by this message.

MSG

Message

PART 

Transfer partner identifier.

PRI

Request selection priority.

 

TYPE = REPLY

Characterizes a reply send transfer.

Related Links