Origins
The xmit file format was developed
by IBM as a means of packaging various data types into a sequential
dataset which could then be transmitted over the network to
another system. Xmit is actually short for Transmit.
The feature is a part of TSO/E and is called
Interactive Data Transmission Facility.
Through issuing TRANSMIT commands through
TSO/E you can send a dataset or just a message to other users
on your system or to users on different systems linked through
Network Job Entry (NJE) under JES.
The RECEIVE command is used to receive the xmit data at the
target end , this would decode the sent xmit file and restore
the data on the target system in the original format.
Common use
What is of interest to many mainframe
users and especially developers and systems programmers is
the Xmit format itself.
This format can package Partitioned datasets
(PDS) into a sequential file which keeps all the PDS information,
which is The following shows the basic
syntax required to create an xmit file on an TSO/E system.
In order to use this created xmit file with Xmit Manager it
should be FTPd as a binary file to the Windows system.
Transmitting
(creating an Xmit file)
There are a great many parameters that can be used in under
the TRANSMIT command, but here is the basic usage:under TSO/E
TRANSMIT node.user DA(source.dataset.name)
(Where node = JES2 target node id , user = TSO/E userid ,
DA( is the dataset to be transmitted))
If you want to just package a dataset into
an Xmit format file on the same system then use the following:
TRANSMIT *.user DA(source.dataset.name) OUTDATASET(output.xmit.dataset)
Note: the output dataset does not need to be pre allocated,
it will be created as a sequential dataset with a record length
of 80.
Optionally a message can be included with
the xmit file either appended as a sequential dataset with
the parameter MSGDATASET(dataset.name) or interactively through
a prompt edit screen with the parmMSG.
Receiving an xmit file
This is not so important in the
context of Xmit Manager because we are interested in decoding
the xmit file through the program itself. Receive is used
when you send an Xmit file through the transmit command to
a user. It decodes the Xmit file and saves the data in its
original format on the target system.
To receive a previous transmission from the
target systems JES spool
RECEIVE
You will be prompted from there on.
To receive an Xmit file from a previously
created file in Xmit file format:
RECEIVE INDATASET(xmit.file.name)
More Information on Xmit format
To find out more detail on the xmit
file format consult the IBM manual TSO/E CUSTOMISATION
manual number SC28-1872
For information on file formats that may be
contained in the Xmit file (such as PDS) then consult the
IBM DF/SMS Manual USING DATASETS manual number
SC26-4922.
These books can be obbtained through the internet
at IBMs softcopy online web site:
http://www.s390.ibm.com/os390/bkserv/find_books.html
Use the manual number as a search argument.
|