View previous topic :: View next topic
|
Author |
Message |
pavanchandana
New User
Joined: 05 Sep 2008 Posts: 15 Location: Hyderabad
|
|
|
|
Hi
I want to take the backup of a PDS everyweek. I want to do it using FILEAID.
My requirement is that I want to run a weekly job which should take backups of all the deliverable components.
For example, I have 10 Cobol programs in my pds, so that in my backup pds there will be 10 components this week.
Next week I have added some more new components, so that when I run the JCL it has to update the new components along with the old 10 components.
I want to use the same JCL for PROC,COPYBOOK,DCLGENs.
I would appreciate your prompt response.
Thank you
Pavan |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You can use IEBCOPY to backup a PDS or DFdss. These are free products available on any IBM mainframe.
Using Dfdss you can specify multiple datasets in one execution. |
|
Back to top |
|
|
pavanchandana
New User
Joined: 05 Sep 2008 Posts: 15 Location: Hyderabad
|
|
|
|
Can you give me the syntax of IEBCOPY to backup a PDS or DFdss |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
DFdss is not free and it's not available on any mainframe. It is a chargeable feature and some sites choose other other products such as FDR/ABR. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Bill Dennis wrote: |
DFdss is not free and it's not available on any mainframe. It is a chargeable feature and some sites choose other other products such as FDR/ABR. |
Is it ? ................. I thought that Dfdss was now considered a free product, along with the IBM catalog recovery utility. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
And with IEBGENER somethign like -
Code: |
//BACKUP EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=...INFILE,DISP=SHR
//SYSUT2 DD DSN=...INFILE.BKUP,
// DISP=(,CATLG,DELETE),
// SPACE=(6233,(100,100),RLSE),
// DCB=*.SYSUT1,
// UNIT=whatever |
|
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
Backup a PDS with IEBGENER........ an interesting idea |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
nevilh wrote: |
Backup a PDS with IEBGENER........ an interesting idea |
Hopefully it's not sarcastic.. today my "processor" is tooo slow to understand this type of vibes.. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Anuj, I hope you don't try this type of backup with any kind of PDS that requires a restore. IEBGENER doesn't work with PDS files, only sequential. IEBCOPY or DFDSS are tools to back up a PDS, depending on the requirements. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Aarghh..Idiot in me is ruling me today..it's about PDS back-up.. . I might be punished.. probably.. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I don't think any additional punishment is called for -- you seem to be beating yourself up enough! |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Ok, I give one more try to get me on track..
Code: |
//DD01 DD DSN=HLQ.PDS.JCL,
// DISP=SHR
//*
//DD01O DD DSN=HLQ.PDS.JCL.BKUP,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(1,1,50),RLSE),
// BLKSIZE=27920,
// LIKE=HLQ.PDS.JCL,
// UNIT=SYSDA
//*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTOTAL DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
$$DD01 COPY MEMBERS=ALL
//* |
|
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Anuj,
Is this a File-Aid Batch job?
Thanks,
Arun |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
I really went insane that day.. , yes it's File-Aid Batch JOB. |
|
Back to top |
|
|
|