COpy multiple PS files



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

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.
nm992
 
Posts: 43
Joined: Sun Jul 11, 2010 11:31 pm
Has thanked: 0 time
Been thanked: 0 time

Re: COpy multiple PS files

 

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.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

Re: COpy multiple PS files

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

Two other possibilities are IDCAMS and IEHMOVE.
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

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.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

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.
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

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.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

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.
littlechicken
 
Posts: 25
Joined: Thu Oct 28, 2010 10:15 am
Has thanked: 0 time
Been thanked: 0 time


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post