About the CFTUTIL interface

CFTUTIL is the command line interface for Transfer CFT. The Transfer CFT utility is a program which can be activated in batch or interactive mode. The CFTUTIL interface is able to translate Transfer CFT parameter setting commands and operating commands.

Overview

All Transfer CFT actions are controlled by a series of Transfer CFT commands. For a complete listing of all Transfer CFT commands, a description of their function, and a link to the specific command topic, refer to the Command index.

The commands which can be interpreted by CFTUTIL are associated with:

  • Transfer CFT configuration, which is the customization for a given operating environment
  • Transfer CFT use, which includes the initiation and monitoring of transfers

The following topics contain additional information on how to set up Transfer CFT and incorporate file transfers into application processing systems: use of end-of-transfer procedures, symbolic variables, and so on.

The typographical conventions used in the Transfer CFT documentation are described the next topic, Typographical conventions. These conventions specify the syntax used in the description of Transfer CFT commands.

Use interactive mode

CFTUTIL can be used in an interactive mode, which consists of several operating modes that use the same CFTUTIL operations regardless of the operating system.

Data entry in command line

Enter the CFTUTIL commands via the keyboard. The output is sent to the screen by default, or to a file as shown below:

CFTUTIL ‘file_symb’file_in file_out

In this syntax:

  • file_in is a file containing the Transfer CFT commands
  • file_out is a file into which the results of the commands are written
  • ‘file_symb’ designates a character specific to each environment. Refer to the Transfer CFT Installation Guide that corresponds to your OS.

OS

 file_symb

Windows

#

UNIX

 @

Specifying parameters is optional, the default values are the standard input and output respectively.

The CFTUTIL module is activated in the Transfer CFT executable file directory. The file_in and file_out designate the complete path or path relative to the current directory.

On all systems:

  • CFTUTIL standard input and standard output are equivalent to:
    • CFTUTIL ‘file_symb’ CFTIN CFTOUT
  • CFTIN and CFTOUT are reserved words corresponding to the standard input and output
  • Standard input and output to a file: CFTUTIL ‘file_symb’ CFTIN file_out
  • File input and standard output: CFTUTIL ‘file_symb’ file_in CFTOUT
  • File input, file output: CFTUTIL ‘file_symb’ file_in file_out

CONFIG TYPE=...,FNAME=...

Another way to change the input/output file, similar to the Data entry in command line instructions, is to use the CONFIG command with a syntax as displayed here in the following two steps:

CFTUTIL> CONFIG TYPE=OUTPUT, FNAME=file_out

CFTUTIL> CONFIG TYPE=INPUT, FNAME=file_in

See the CONFIG command.

Command syntax

For each command, CFTUTIL checks the command syntax and enters the command. See also Typographical conventions.

CFTUTIL makes it possible to create the working environment and configure the Transfer CFT application, performing the following operations:

  • Create and delete parameter, partner, catalog, log, and account files. Such operations can be performed only when the Transfer CFT is stopped
  • Change and add to certain parameters
  • View parameter, partner, catalog, log, and account files
  • Send commands to Transfer CFT

CFTUTIL command categories

The CFTUTIL commands can be divided into three categories:

  • Operations
  • General configuration
  • Flow management
  • Miscellaneous actions

CFTUTIL modes

CFTUTIL can be used in three different modes:

  • Command mode, for example:
> CFTUTIL SEND PART=PART1, IDF=IDF1, etc.
  • Batch mode, for example:
> CFTUTIL #file.smp
  • Interactive line mode, for example:
> CFTUTIL [to start CFTUTIL]

> /END [to quit CFTUTIL]

Note In all modes you can use the command EXIT to quit CFTUTIL.

Related Links