Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to take the backup of a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to take the backup of a PDS
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: 8593
Location: Back in jolly old England

PostPosted: Fri Sep 05, 2008 3:14 pm    Post subject:
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    Post subject: Reply to: How to take the backup of a PDS
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: 8593
Location: Back in jolly old England

PostPosted: Fri Sep 05, 2008 3:22 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Sep 05, 2008 7:17 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Sep 05, 2008 7:24 pm    Post subject:
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: 258

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

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

Senior Member


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

PostPosted: Fri Sep 05, 2008 7:59 pm    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Fri Sep 05, 2008 8:03 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Sep 05, 2008 8:16 pm    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Fri Sep 05, 2008 8:18 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Sep 05, 2008 8:25 pm    Post subject:
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: 2158
Location: @my desk

PostPosted: Sun Sep 07, 2008 3:37 pm    Post subject:
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

Senior Member


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

PostPosted: Mon Sep 08, 2008 4:24 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am
No new posts Need help on FDRABR incremental backu... sanpedro All Other Mainframe Topics 6 Wed Apr 06, 2016 3:24 am
No new posts Backup directory in USS (OMVS) autobox IBM Tools 3 Tue Jan 12, 2016 8:51 am
No new posts Database backup on IMS DB HABBIE IMS DB/DC 1 Wed Aug 12, 2015 9:02 pm
No new posts GDG versions not being selected for b... Randy Wood SYNCSORT 2 Wed Aug 27, 2014 10:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us