tso command to copy pds members

TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...
dangtran10
Posts: 2
Joined: Tue May 11, 2021 7:30 pm
Skillset: almost none
Referer: nobody

tso command to copy pds members

Postby dangtran10 » Tue May 11, 2021 7:34 pm

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

enrico-sorichetti
Global moderator
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
Referer: www.ibmmainframes.com

Re: tso command to copy pds members

Postby enrico-sorichetti » Tue May 11, 2021 9:04 pm

You might as well stop looking, vanilla TSO does not provide it
IIRC some third party product extension might provide it ( not free anyway )
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

willy jensen
Posts: 474
Joined: Thu Mar 10, 2016 5:03 pm
Skillset: assembler rexx zOS ispf racf smf
Referer: saw it in the experts foprum thought I could help here

Re: tso command to copy pds members

Postby willy jensen » Tue May 11, 2021 9:41 pm

I think that if you are running under Session Manager then SMCOPY can do it (but SM is of course not vanilla TSO).

willy jensen
Posts: 474
Joined: Thu Mar 10, 2016 5:03 pm
Skillset: assembler rexx zOS ispf racf smf
Referer: saw it in the experts foprum thought I could help here

Re: tso command to copy pds members

Postby willy jensen » Tue May 11, 2021 9:43 pm

Seems that SMCOPY is for datasets only, should have checked.

steve-myers
Global moderator
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Skillset: Assembler, JCL, utilities
Referer: zos.efglobe.com

Re: tso command to copy pds members

Postby steve-myers » Sat May 15, 2021 1:58 am

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.


  • Similar Topics
    Replies
    Views
    Last post