To copy multiple members from one dataset to another, you can setup a PROC that 
would just take member names.  If you would like some samples let me know.

But IEBGENER with Symbolic SYSUT1 and SYSUT2 will do what you want.

Then if you know REXX, you can create a REXX that will build the JCL very 
quickly.  If there are patterns in the names of the datasets or members, it 
makes that process even easier.


Lizette


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Hansen, Dave L - Eagan, MN
Sent: Tuesday, June 18, 2013 2:28 PM
To: [email protected]
Subject: Re: Batch TSO COPY?

Group,

  I have a copy of the old TSO DATA Utilities SC28-6765-4.  I have it working.  
It helps when you can find documentation.  We do not have the help file loaded 
and I didn't have a book or know what I was talking about.

  I am still learning more about the MVS utilities.  I did learn about SMC 
(SMCOPY - documented in the TSO/E User's Guide etc.) thanks to Greg's post.

  I was asked why I would use such an old thing.  I came from the VM/VSE side 
of the house and have been using COPY for a while on MVS.  I now know about 
SMCOPY and should probably use that.

  The goal is to run a batch job to distribute files.  The first job took a 
printer definition and split it into two different printer definitions so job 
class would now select which one to use.  I have over 500 printer members and 
didn't want any more practice with the 3.3 panel utility.


      Thanks again for all the help and suggestions,  Dave  



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of R.S.
Sent: Tuesday, June 18, 2013 3:51 PM
To: [email protected]
Subject: Re: Batch TSO COPY?

W dniu 2013-06-18 20:32, Greg Dorner pisze:
> This works for me:
>
> //COPY        EXEC PGM=IKJEFT01
> //SYSTSPRT DD SYSOUT=*
> //SYSTSIN   DD *
>    SMC FDS('XX.X.XXXXXXXX.XXXXXXXX.XXXX(MMMMMMMM)') +
>        TDS('XXXX.XXXXXXXX.XXXX.XXX(MMMMMMMM)')
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to [email protected] with the message: INFO IBM-MAIN
>

What is the original problem? What goal is to be achieved?
If we talk about copying files in batch, then tools like IEBGENER, ICEGENER, 
IEBCOPY, IDCAMS, DSS come to mind.
If we talk about some abstract excercise then I give up.

--
Radoslaw Skorupka
Lodz, Poland

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to