Page 1 of 1

tso command to copy pds members

PostPosted: Tue May 11, 2021 7:34 pm
by dangtran10
hi all -

i'm looking for a tso command (run from command line) that copies:

all members that starts with A* from USER1.PDS.CNTL to USER1.PDS1.CNTL.

note: not looking for ISPF 3.3 copy panel

thanks

Re: tso command to copy pds members

PostPosted: Tue May 11, 2021 9:04 pm
by enrico-sorichetti
You might as well stop looking, vanilla TSO does not provide it
IIRC some third party product extension might provide it ( not free anyway )

Re: tso command to copy pds members

PostPosted: Tue May 11, 2021 9:41 pm
by willy jensen
I think that if you are running under Session Manager then SMCOPY can do it (but SM is of course not vanilla TSO).

Re: tso command to copy pds members

PostPosted: Tue May 11, 2021 9:43 pm
by willy jensen
Seems that SMCOPY is for datasets only, should have checked.

Re: tso command to copy pds members

PostPosted: Sat May 15, 2021 1:58 am
by steve-myers
As Mr. Sorichetti says, there is nothing in regular TSO to do this. IEBCOPY in batch can do the job. The link in the first sentence will take you to the manual.