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

Backup using Wildcard i.e. (.*) for Backup all dataset.


IBM Mainframe Forums -> FAQ & Basics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arjun_latino
Currently Banned

New User


Joined: 11 Apr 2007
Posts: 4
Location: Mumbai

PostPosted: Tue May 22, 2007 2:42 pm
Reply with quote

Hi,


Is it any program Which can take all dataset backup by using Wild Card Eg.

I want to take backup of all dataset startted with name kosp.vcs1o.*

is it any JCL utility & program for that.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue May 22, 2007 3:04 pm
Reply with quote

ADRDSSU also know as DFdss
Back to top
View user's profile Send private message
arjun_latino
Currently Banned

New User


Joined: 11 Apr 2007
Posts: 4
Location: Mumbai

PostPosted: Tue May 22, 2007 5:22 pm
Reply with quote

so can u give me example or i have to use this utility for backup using wild card (.*)
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue May 22, 2007 5:26 pm
Reply with quote

Here's the manual, a bit old but still valid.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ADR5U104/CCONTENTS?DT=19950919163903
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Tue May 22, 2007 7:03 pm
Reply with quote

Hi !

Example for backing-up all files with HLQ SYS1.OPC and SYS1.CIC



//DUMP EXEC PGM=ADRDSSU,REGION=8M,COND=(0,NE)
//SYSPRINT DD SYSOUT=*
//OUTTEMP DD DSN=&&OUTTEMP,SPACE=(CYL,(50,5)),
// UNIT=SYSDA,DISP=(NEW,PASS)
//SYSIN DD *
DUMP OUTDDNAME(OUTTEMP) -
DATASET(INCLUDE(SYS1.OPC.** -
SYS1.CIC.** )) -
ALLDATA(*) -
CANCELERROR -
CONCURRENT NOTIFYCC -
DYNALLOC -
LOGINDYNAM((SYMR1T,SYSDA)) -
SHARE -
TOLERATE(ENQFAILURE)
/*

Regards, UmeySan
Back to top
View user's profile Send private message
arjun_latino
Currently Banned

New User


Joined: 11 Apr 2007
Posts: 4
Location: Mumbai

PostPosted: Tue May 22, 2007 7:03 pm
Reply with quote

sorry but i am not able to restore with the wild card, can u provide me the jcl
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Tue May 22, 2007 7:55 pm
Reply with quote

Hi !

Sample JCL is just above your last post. As Expat told you, please look at Bookmanager for additional information.

Just another one.

//JOB3 JOB accounting information,REGION=nnnnK
//STEP1 EXEC PGM=ADRDSSU
//TAPE DD UNIT=3480,VOL=SER=TAPE04,
// LABEL=(1,SL),DISP=(NEW,CATLG),DSN=USER3.BACKUP
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
DUMP OUTDD(TAPE) -
DS(INCL(USER1.**))
/*


All data sets cataloged in the standard search order whose first-level qualifier is USER1 are to be dumped. Because some of these data sets are multivolume, source DASD volumes are not specified, resulting in data set selection by catalog.

This Example can be modified as follows to dump only data sets changed since the last backup. In addition, data sets that end with a qualifier of LISTING are not to be dumped (EXCL(**.LISTING)).


//SYSIN DD *
DUMP OUTDD(TAPE) -
DS(INCL(USER1.**) -
EXCL(**.LISTING) -
BY((DSCHA EQ 1)))
/*

Regards, UmeySan
Back to top
View user's profile Send private message
arjun_latino
Currently Banned

New User


Joined: 11 Apr 2007
Posts: 4
Location: Mumbai

PostPosted: Tue May 22, 2007 9:18 pm
Reply with quote

Thanx Umeysan but i want JCL for Restore.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed May 23, 2007 12:47 am
Reply with quote

Quote:
Thanx Umeysan but i want JCL for Restore.

but I want .................

What have you tried for yourself, and what were the results. Please post them here so that we can help you.
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 -> FAQ & Basics

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top