Creating and submitting a Connect:Direct process that calls Managed File Transfer by using the Connect:Direct Requester
The Connect:Direct® Requester is a graphical user interface that we can use to create and submit a Connect:Direct process that calls Managed File Transfer.
About this task
This task describes how to create a Connect:Direct process that calls the Managed File Transfer ftecxfer command or the ftebxfer command. Use the ftecxfer command when the queue manager that the transfer request is submitted to is located on a different system to the Connect:Direct node that submits the command. Use the ftebxfer command when the queue manager that the transfer request is submitted to is located on the same system as the Connect:Direct node that submits the command. The ftecxfer command makes a client connection to the agent queue manager of the source agent of the transfer. Before calling the ftecxfer command, you must call the ftetag command and pass it the source specification information. This allows the process to be logged and audited in the same way as transfers initiated from Managed File Transfer.
Procedure
- Start the Connect:Direct Requester.
- In the Nodes tab of the panel, select the Connect:Direct node that is used as the primary node of the process.
- Select File > New > Process. The Process Properties window opens.
- In the Name: field, type the name of the process.
- Select the secondary node from the Snode > Name: list.
- Select the operating system of the secondary node from the Snode > Operating System: list.
- Optional: Complete any further information in this window that you require.
- Click OK. The Process Properties window closes.
- Create a statement that runs the Managed File Transfer ftetag command.
- Right-click in the Process window on the End statement.
- Select Insert > Run Task. The Run Task Statement window opens.
- In the Label: field, type Tag.
- In the Optional Parameters or Commands field, type pgm(MQ_INSTALLATION_PATH/bin/ftetag) args(source_specification). For more information about the format of source_specification, see fteCreateTransfer: start a new file transfer.
- Click OK. The Run Task Statement window closes.
- Create a statement that runs the Managed File Transfer ftecxfer or ftebxfer command.
- Right-click in the Process window on the End statement.
- Select Insert > Run Task. The Run Task Statement window opens.
- In the Label: field, type Transfer.
- In the Optional Parameters or Commands field, type pgm(MQ_INSTALLATION_PATH/bin/ftecxfer) args(parameters) or pgm(MQ_INSTALLATION_PATH/bin/ftebxfer) args(parameters) depending on which command you choose. The parameters used by the ftecxfer and ftebxfer commands are the same as the parameters used by the fteCreateTransfer command, plus some additional parameters specific to ftecxfer and ftebxfer. For more information, see fteCreateTransfer: start a new file transfer and Use Connect:Direct processes to submit Managed File Transfer transfer requests.
- Click OK. The Run Task Statement window closes.
- Optional: Create any additional statements that you require.
- Submit the process.
- Right-click in the Process window.
- Select Submit. The Connect:Direct Attach window opens.
- Enter the user name and password to use to run the process.
- Click OK.