Transferring Files Using TRANSMIT and RECEIVE
Technical Support may ask you to send files (for example, Extract Files, Archive Files, dumps, and so on) for review. You can send files using the TSO TRANSMIT (or XMIT) command.
Issue the TRANSMIT command from the source system to invoke the IEBCOPY utility and transmit the unloaded data set in sequential format. For example:
XMIT (A.B) DSN(‘input.dsn') [MEMBERS(mem1,mem2,...)] OUTDSN(‘output.dsn')
where A.B are fixed placeholders, input.dsn is
the data set to be transmitted, mem specifies
members of the PDS to be transmitted, and output.dsn is
the data set to which output is directed. Note that the MEMBERS operand
is optional and, if omitted, all members of the PDS are unloaded to
the OUTDSN.
- You must transfer the data set using a binary format (instead of EBCDIC to ASCII translation).
- To avoid a B37 abend, you should pre-allocate the
OUTDSN on the destination system. The DCB parameters should be:
RECFM=FB DSORG=PS LRECL=80 BLKSIZE=3200
Technical Support may need to send information to your site in TSO TRANSMIT format. You can unload this information using the TSO RECEIVE command. Use “Send File to Host” on your 3270 Emulator to transfer the file to the destination system. Once the file is transferred, issue the following TSO command:
RECEIVE INDSN(‘dsname')
where dsname is
the data set name used for the file transfer. When prompted for additional
parameters, enter the following:
DSN(‘outdsname') [VOL(volser)]
where outdsname is
the name of the data set to contain the file being received, and volser is
the volume serial number of the device on which the output data set
will reside. Note that the VOL operand is optional and can be omitted
if the PDS exists.