Page 1 of 1

COpy multiple PS files

PostPosted: Mon Oct 04, 2010 2:23 pm
by nm992
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.

Re: COpy multiple PS files

PostPosted: Mon Oct 04, 2010 3:09 pm
by Robert Sample
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.

Re: COpy multiple PS files

PostPosted: Mon Oct 04, 2010 7:39 pm
by steve-myers
Two other possibilities are IDCAMS and IEHMOVE.

Re: COpy multiple PS files

PostPosted: Mon Oct 04, 2010 11:25 pm
by dick scherrer
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.

Re: COpy multiple PS files

PostPosted: Tue Oct 05, 2010 4:29 am
by steve-myers
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.

Re: COpy multiple PS files

PostPosted: Tue Oct 05, 2010 6:38 am
by dick scherrer
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.

Re: COpy multiple PS files

PostPosted: Thu Oct 28, 2010 12:32 pm
by littlechicken
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.