KB Article #70256

CFT extract

Problem

-- how to create an extract (diagnostic configuration) text file from CFT on an AS/400 host


Resolution

* on the AS/400 host itself create a source file in CFT's library which will later be populated by CFT



* length must be 132 characters



* example: CRTPF FILE(LIBCFT/OUTEXTRACT) RCDLEN(132) FILETYPE(*SRC)



* in a command window type the command 'cft' (without quotes) to access the CFT Main screen menu



* select option 2, Operation "CFTUTIL"



* select option 4, All CFT Commands



* type the command 'cftext' followed by the 'fout=' parameter to output the extract into the source file created earlier



* example: cftext fout=libcft/outextract