Discussion:
TSO XMIT and RECEIVE commands in batch
(too old to reply)
Ale Eba
2007-05-23 17:25:02 UTC
I want to copy datasets from one z/OS image to another. There is no shared DASD. To use a tape is not easy because of management problems. I tried to XMIT using a batch job. When I ran the batch receive job, the datasets were not received in correct DD names . Is there a way to get around this problem ?

Ale


---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
Lionel B Dyck
2007-05-23 17:47:03 UTC
Have you considered using FTP? That might be more flexible.

Lionel B. Dyck, Consultant/Specialist
Enterprise Platform Services, Mainframe Engineering
KP-IT Enterprise Engineering, Client and Platform Engineering Services
(CAPES)
925-926-5332 (8-473-5332) | E-Mail: ***@kp.org
AIM: lbdyck | Yahoo IM: lbdyck
Kaiser Service Credo: "Our cause is health. Our passion is service. We?re
here to make lives better.?

?Never attribute to malice what can be caused by miscommunication.?

NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail,
you are prohibited from sharing, copying, or otherwise using or disclosing
its contents. If you have received this e-mail in error, please notify the
sender immediately by reply e-mail and permanently delete this e-mail and
any attachments without reading, forwarding or saving them. Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
Ale Eba
2007-05-23 20:27:23 UTC
Thanks Lionel and Kurt. I will use ADRDSSU to create three or four groups because of space problem and use FTP to do the transfer.

Ale


---------------------------------
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
L***@ibm-main.lst
2007-05-23 20:33:42 UTC
Take a look at a tool I wrote called FTPBatch on my website
(http://www.lbdsoftware.com) which will simplify doing this and it
supports adrdssu as well. It is an ispf dialog that generates the
appropriate commands for foreground execution or jcl for batch execution.

Lionel B. Dyck, Consultant/Specialist
Enterprise Platform Services, Mainframe Engineering
KP-IT Enterprise Engineering, Client and Platform Engineering Services
(CAPES)
925-926-5332 (8-473-5332) | E-Mail: ***@kp.org
AIM: lbdyck | Yahoo IM: lbdyck
Kaiser Service Credo: "Our cause is health. Our passion is service. We?re
here to make lives better.?

?Never attribute to malice what can be caused by miscommunication.?

NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail,
you are prohibited from sharing, copying, or otherwise using or disclosing
its contents. If you have received this e-mail in error, please notify the
sender immediately by reply e-mail and permanently delete this e-mail and
any attachments without reading, forwarding or saving them. Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Don Maxwell
2007-05-23 20:32:48 UTC
<snip>
I want to copy datasets from one z/OS image to another. There is no shared
DASD. To use a tape is not easy because of management problems. I tried to
XMIT using a batch job. When I ran the batch receive job, the datasets were
not received in correct DD names . Is there a way to get around this problem

</snip>


Running REXX under TSO, you can queue up the target dataset name for the
RECEIVE command. I've done such things in batch before.

/* rexx */

x = prompt('ON')

address "TSO"

queue "da('target.dataset.name')"
"receive indsn('input.xmit.dataset.name')"


The results of the RECEIVE command will be placed in 'target.dataset.name'.


Regards,

Don Maxwell, B. Math, EDP
Crawford Technologies Support
Tel: (416) 410-1467 ext 208
Email: ***@crawfordtech.com
Web: www.crawfordtech.com


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html