This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.
Control-D/Agent for Unix
Control-D/Agent for Unix and Windows
Control-D/Agent for Unix version 3.7.00 and higher.
When trying to send a report from Linux to Control-D mainframe & decollate, Control-D/Agent for Unix issues error : FTCLE004 Error: Error processing file for Control-D/Agent for Unix.
Check your FTOPARM member.
Information regarding the control cards in the FTOPARM members:
TYPE=B means that a report is not converted from ASCII to EBCDIC and stored as is, in binary format.
TYPE=A means that a report will be converted from ASCII to EBCDIC and should be used for text reports.
We recommend using LINESEP=NONE for TYPE=B.
For TYPE=A you can use LINESEP=CRLF (x'0D0A') or LINESEP=LF (x'0A').
The correct/appropriate LINESEP, should be defined, which is used during the report creation.
As for LINESEP=LF, you should check what line separator was really used - x'0A' (LF) or x'0D0A' (CRLF).
If you want to upload and store the report in ASCII, you should use TYPE=B and LINESEP=NONE
Every FTO parameter should be followed by an "=".
Values with blanks inside should be enclosed by quotes.
If you don't plan to use the second parameter in -d parameter in command line, subparameter REP=%REPORT% is obsolete.
If you do, you need to add 12 blanks to REP=%REPORT% to prevent overridden JOB=.
Parameter LINESEP for binary reports should be set to NONE.
For more information, see the INCONTROL for z/OS Administrator Guide; Control-D and Control-V; Control-D File Transfer Option; Example 2.