IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to take the backup of a PDS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pavanchandana

New User


Joined: 05 Sep 2008
Posts: 15
Location: Hyderabad

PostPosted: Fri Sep 05, 2008 3:08 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Sep 05, 2008 3:14 pm
Reply with quote

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
View user's profile Send private message
pavanchandana

New User


Joined: 05 Sep 2008
Posts: 15
Location: Hyderabad

PostPosted: Fri Sep 05, 2008 3:19 pm
Reply with quote

Can you give me the syntax of IEBCOPY to backup a PDS or DFdss
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Sep 05, 2008 3:22 pm
Reply with quote

Here is DFdss

Here is IEBCOPY

Any problems - let us know.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Sep 05, 2008 7:13 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Sep 05, 2008 7:17 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Sep 05, 2008 7:24 pm
Reply with quote

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
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Fri Sep 05, 2008 7:53 pm
Reply with quote

Backup a PDS with IEBGENER........ an interesting idea
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Sep 05, 2008 7:59 pm
Reply with quote

nevilh wrote:
Backup a PDS with IEBGENER........ an interesting idea
Hopefully it's not sarcastic.. icon_smile.gif today my "processor" is tooo slow to understand this type of vibes.. icon_cry.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Sep 05, 2008 8:03 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Sep 05, 2008 8:16 pm
Reply with quote

Aarghh..Idiot in me is ruling me today..it's about PDS back-up.. icon_redface.gif. I might be punished.. probably.. icon_redface.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Sep 05, 2008 8:18 pm
Reply with quote

I don't think any additional punishment is called for -- you seem to be beating yourself up enough! icon_smile.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Sep 05, 2008 8:25 pm
Reply with quote

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
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Sun Sep 07, 2008 3:37 pm
Reply with quote

Anuj,

Is this a File-Aid Batch job?

Thanks,
Arun
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Sep 08, 2008 4:24 am
Reply with quote

I really went insane that day.. icon_redface.gif, yes it's File-Aid Batch JOB.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Data Backup suggestions DB2 5
No new posts how to list the number of backup data... JCL & VSAM 3
No new posts Issue with CR+ catalog backup job. JCL & VSAM 18
No new posts Backup issues after upgrade to zOS 2.2 All Other Mainframe Topics 0
No new posts Single step to take backup of multipl... JCL & VSAM 1
Search our Forums:

Back to Top