Supported UFT Commands

The UFT commands supported by the UFTXIN exit are:
ABORT
Causes the spool file to be closed and purged.
CLASS
First character of the first operand of the data will be used for the class field of the TAG (TAGCLASS). The second operand, if specified when TYPE is V M (the operand is ignored for all other TYPE values), will indicate the file was from VM spool and whether it was a 1403, 3211, 3800, VAFP, or PUN device.
COPY
Will be used for the copy count field of the TAG (TAGCOPY).
DATE
Will be used to create the file origin TOD value in the TAG (TAGINTOD).
DESTination
First 8 characters of the data will be used for the destination field of the TAG (TAGDEST).
DISTribution
First 8 characters of the data will be used for the distribution field of the TAG (TAGDIST).
EOF
This causes the SPOOL file to be closed and delivered.
FILE
First 8 characters of the from data will be used for the origin user field of the TAG (TAGINVM).
FORM
First 8 characters of the data will be used for the form field of the TAG (TAGFORMN).
NAME
First 8 characters of the file name and first 8 characters of the file extension will be used for the data set name field of the TAG (TAGDSN). Some parsing will be done to remove dots and slashes. For example, the string:
C:\WINDOWS\SYSTEM\AUTOEXEC1234.BAT
will become AUTOEXEC BAT.
OWNER
First 8 characters of the data will be used for the origin user field of the TAG (TAGINVM) overriding the information supplied on the FILE UFT command if provided.
RECFmt
Used when creating the INMR2 control record.
RECLen
Defines the maximum allowed line width. This will become TAG field TAGRECLN.
TITLE
Will be used for the title line on each page if pagination was requested in the matching user name record (or DEFAULT record) defined within the UFTXIN configuration file.
TYPE
Determines whether to translate data into EBCDIC and how to spool the data. UFTXIN supports these data types (TYPE codes):
Data Code Processing
ASCII A Data will be translated to EBCDIC and spooled in NETDATA format. Trailing CR/LF (X'0D0A') characters will be removed.
Binary I or B Data will be spooled in NETDATA format.
EBCDIC E Data will be spooled in NETDATA format. Trailing NL (X'15') characters will be removed.
Mail M Data will be translated to EBCDIC and spooled in NETDATA format.
NETDATA N Data will be spooled as received.
Spool V M Data will be spooled as is after the CCW opcode and the 2-byte length characters are removed.
Variable V Data will be spooled in NETDATA format after the 2-byte length characters are removed.
USER
First 17 characters of the data will be used for the destination user field of the TAG (TAGTOVM) and the destination node field of the TAG (TAGTOLOC).

In addition, the first 32 characters of the data will be used to search for a matching user name record within the UFTXIN configuration file.

In addition, the UFTXIN routine supports comment records * and #.