COpy multiple PS files
COpy multiple PS files
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.
-
- 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
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.
-
- 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
Two other possibilities are IDCAMS and IEHMOVE.
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: COpy multiple PS files
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.
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.
d.sch.
-
- 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
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.dick scherrer wrote:... DF/DSS and HSM provide far better performance. Especially if the data to be copied is large.
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: COpy multiple PS files
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.
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.
d.sch.
-
- Posts: 25
- Joined: Thu Oct 28, 2010 10:15 am
- Skillset: supposed to me mainframe wizard
- Referer: internet
Re: COpy multiple PS files
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.
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
-
-
Extract first record from multiple files
by Prasanna G » Wed Jan 13, 2021 2:14 pm » in DFSORT/ICETOOL/ICEGENER - 5
- 1784
-
by Prasanna G
View the latest post
Wed Jan 13, 2021 11:16 pm
-
-
-
How can I copy message queue files (LGMSG,SHMSG) in V9R1
by futohomok » Thu Jul 27, 2023 5:54 pm » in IMS DB/DC - 6
- 2151
-
by futohomok
View the latest post
Thu Aug 03, 2023 1:21 pm
-
-
-
Merge multiple fixed length files of different record length
by corvette1982 » Mon Mar 01, 2021 11:46 pm » in JCL - 8
- 5340
-
by willy jensen
View the latest post
Tue Mar 02, 2021 3:02 am
-
-
-
Joining 2 vb files into vsam files ended error
by newbiemainframe » Thu Nov 12, 2020 7:59 am » in JCL - 1
- 1767
-
by NicC
View the latest post
Thu Nov 12, 2020 7:15 pm
-
-
- 11
- 3996
-
by Pedro
View the latest post
Tue Apr 27, 2021 10:06 am