COpy multiple PS files

Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems
nm992
Posts: 43
Joined: Sun Jul 11, 2010 11:31 pm
Skillset: Cobol,JCL,DB2,VSAM
Referer: Internet

COpy multiple PS files

Postby nm992 » Mon Oct 04, 2010 2:23 pm

I need to take backup of around 100 PS file.I have copied the the PS name in another PS file.How do I take back up of multiple files.

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

Re: COpy multiple PS files

Postby Robert Sample » Mon Oct 04, 2010 3:09 pm

Contact your site support group to find out their recommended back up package. DF/DSS and HSM are two of IBM's tools to do this but your site may use a package from another vendor.

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

Re: COpy multiple PS files

Postby steve-myers » Mon Oct 04, 2010 7:39 pm

Two other possibilities are IDCAMS and IEHMOVE.

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: COpy multiple PS files

Postby dick scherrer » Mon Oct 04, 2010 11:25 pm

Hello,

While IDCAMS and IEHMOVE are still sometimes used to copy, DF/DSS and HSM provide far better performance. Especially if the data to be copied is large.
Hope this helps,
d.sch.

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

Re: COpy multiple PS files

Postby steve-myers » Tue Oct 05, 2010 4:29 am

dick scherrer wrote:... DF/DSS and HSM provide far better performance. Especially if the data to be copied is large.
Back in the mid-eighties I wrote code the beat the s... out of the DF/DSS of that era. It was just regular QSAM copy, too, but it was done in multiple tasks, which was why it was faster than DF/DSS running in one task. The data sets were mostly small, too; the big cost was allocation and OPEN/CLOSE that didn't have the benefit of indexed VTOC, though that dragged down both DF/DSS and my program.

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: COpy multiple PS files

Postby dick scherrer » Tue Oct 05, 2010 6:38 am

Hello,

If the only issue is speed, i suspect that the sort will outperform all of the others - even custom code.

As this was about 100 files, my preference would be df/dss or hsm.

Also, from what i've seen, df/dss performs much better now than 20 years ago. . .

Once upon a time a very fast dataset alternative was FDR (DSF), but i don't see this so much these days.
Hope this helps,
d.sch.

littlechicken
Posts: 25
Joined: Thu Oct 28, 2010 10:15 am
Skillset: supposed to me mainframe wizard
Referer: internet

Re: COpy multiple PS files

Postby littlechicken » Thu Oct 28, 2010 12:32 pm

If the files are all PS then you can happily use ADRDSSU and if they are all allocated in CYLINDERS it will go well especially if you read up ont he DUMP command and the options a little more.

DUMP and use INCLUDE parameter.

Agreed SORT or SYNCSORT will really fly. But coding 100 files in SORT yuk.


  • Similar Topics
    Replies
    Views
    Last post