z/OS TSO/E Primer
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Receiving data sets in line mode TSO/E

z/OS TSO/E Primer
SA32-0984-00

Receiving data sets is similar to receiving transmitted messages, in that you issue the RECEIVE command. However, it differs because the data set is typically not displayed on your screen. Instead, you see an informational message identifying the name of the data set, and who sent it, and you see a prompting message that asks what you want to do with the data set.

For example, if BOB sends you a data set named BOB.NEW.DATA, and you issue the RECEIVE command, you see:
 READY
RECEIVE
 Dataset A.NEW.DATA from BOB on NETMA
 Enter restore parameters or 'DELETE' or 'END'  +
The message after the data set name means that you can do one of the following:
  • Receive the data set as named – Press the Enter key to receive the data set PREFIX.NEW.DATA. When you receive BOB's data set, your prefix replaces A as the first qualifier.
  • Rename the data set before receiving it – To rename the data set to PREFIX.BOB.DATA, enter under the message:
    DATASET(bob.data)
  • Delete the data set – To delete the received data set, enter the word delete under the message.
  • End the receive process temporarily – To end the receive process for now, type the word end after the message. You can use the RECEIVE command again later to receive the data set.
After you successfully receive a data set, for instance one from BOB named A.NEW.DATA, you see:
Restore successful to dataset 'PREFIX.NEW.DATA'
Sender notified of receipt.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014