Menu

Axway Transfer CFT – Useful commands for the admin

Axway Transfer CFT – Useful commands for the admin.

******************************************************************************
******************************************************************************

c:\>cftstatus
This will show the status of the CFT

c:\>cftping
to view the state of CFT
cftping -v: Verbose mode

c:\>cftstart
This will start the CFT

c:\>cftstop
To stop the CFT

c:\>cftstop -kill
To force stop the CFT

c:\>copstatus
To see status of copilot

c:\>copstart
start the copilot

c:\>copstop
stop the copilot

******************************************************************************
******************************************************************************
Send a file:
c:\>CFTUTIL send part=PARIS, idf=MR143HU, fname=c:\temp\testfile.txt

Send a file with comment:
Example: :> CFTUTIL SEND IDF=MR143HU, FNAME=’C:\temp\test-file.txt, “/* . . . Comment . . . */”

Sample cft configuration for a particular defined send or receive IDF inside the configuration file :
CFTSEND ID = ‘IDF’,
IMPL = ‘NO’,
STATE = ‘DISP’,
CYCLE = ‘0’,
/ * EXEC = ”, * /
/ * EXIT = ”, * /
/ * FACC = ”, * /
FACTION = ‘DELETE’,
MODE = ‘REPLACE’

******************************************************************************
******************************************************************************
Deactivate a CFT partner:
CFTUTIL INACT id=U00PE93A

Activate a CFT partner:
CFTUTIL ACT TYPE=PART,ID=<CFTPART_ID>,MODE=<mode>
Where: CFTPART_ID is the identifier for the partner to activate. To activate several partners with a single command, use wildcard characters or meta characters
Mode is the mode to be activated, with values: “BOTH” , “B”, “REQUESTER”, “R” , “SERVER”, “S”

Example: To activate a partner called PARIS in both modes, enter to below:
c:\>CFTUTIL ACT TYPE=PART, ID=PARIS, MODE=BOTH

Returning the following output:
CFTU20I Part=PARIS : NOACTIVE -> ACTIVEBOTH
CFTU00I ACT _ Correct (TYPE=PART,ID=PARIS)

******************************************************************************
******************************************************************************
Write a message to the CFT Log:
This is helpful when we are about to start some activity to have a trace in the log to mark the begining.

CFTUTIL WLOG msg=” ‘We are going to start the change activity for CFT upgrade – CHG1234455’ “

******************************************************************************
******************************************************************************

CFTUTIL help
HELP SEND LISTCAT DISPLAY DELETE END HALT
KEEP START RECV SUBMIT ABOUT LISTCOM SHUT
PURGE SWITCH MQUERY RECONFIG SWAITCAT STEST SGET
SDISPLAY ACT INACT CFTACCNT CFTAUTH CFTCAT CFTCOM
CFTDEST CFTDNA CFTDSA CFTETB CFTEXIT CFTEXT CFTFILE
CFTIDF CFTLOG CFTLU62 CFTNET CFTPARM CFTPART CFTPROT
CFTRECV CFTSEND CFTSNA CFTSYST CFTTCP CFTTRACE CFTAPPL
CFTSSL CFTCRON CFTX25 CFTXLATE COPYFILE LISTPARM LISTPART
WAIT QUERY TEST WAITCAT BEGSELCA ENDSELCA GETCAT
CONFIG SUMMARY TURN WLOG KSTATE CLEARCMD ADMSTART
ADMSTOP ADMSTATUS ADMRESTART UCONFSET UCONFGET LISTUCONF UCONFUNSET
UCONFSUBST LOGIN

CFTUTIL about
cft version information

CFTUTIL listcat
Lists all the flows present in the cftcat file catalog

CFTUTIL listcat, idt =MR*
List all the flows present in the catalog in June

CFTUTIL listcat, state = h
List all the feeds present in the catalog with the status h old

The LISTCAT command :
CFTUTIL LISTCAT TYPE=ALL/FILE/MESSAGE/REPLY \
CONTENT=BRIEF/FULL \
DIRECT=BOTH/SEND/RECV \
IDA= \
IDF= \
IDT= \
PART= \
STATE=

Settings:
TYPE: F/M/R (file/Message/Reply) – Type of record to list; not filled in all
CONTENT: Simplified or complete list of each item in the catalog; default BRIEF
DIRECT: SEND/RECEIVE – Meaning of the positions to be listed; BOTH default (all) – D
IDT: Transfer Identifier
IDA: Application identifier; Identified of the application associated to the transfer.
IDF: CFT file level identifier; not filled in all
PART: Name of a partner; not filled in all
A – ACK – Acknowledge
STATE: State of a transfer, k, c, h, d, t, x;
D = Display
C = Current File being transferred
H = Hold – File made available or if not, issue problems, see ano code
K = Keep – File not sent, its transfer is maintained
T = Terminated – Transfer successful
X = Executed – Transfer successful and end of transfer procedure executed

Examples :
Example 1
LISTCAT TYPE = ALL, PART = PARIS, STATE = DC

Displays the most important information (CONTENT=BRIEF by default) concerning all transfers (TYPE=ALL) sent to
or received from (DIRECT=BOTH by default) the partner (PART = HQ), the states of which are “Available” or “in Process” (STATE=DC).

Example 2
LISTCAT TYPE = FILE, DIRECT = SEND, PART = PARIS5

Displays the most important information (CONTENT=BRIEF by default) concerning the file transfers (TYPE=FILE)
sent (DIRECT=SEND) to the partner (PART) PARIS5, all states included (STATE=* by default).

Example 3
LISTCAT SORTBY=IDTU

Displays the records by IDTU. This can be useful because the catalog’s compact behavior takes advantage of unused records meaning the IDTU may not display in order.

More:
LISTCAT CONTENT = COMMUT
LISTCAT CONTENT = EXTEND

 

END:

Loading

Categories:   FT, Middleware

Comments