View previous topic :: View next topic
|
Author |
Message |
arjun_latino Currently Banned New User
Joined: 11 Apr 2007 Posts: 4 Location: Mumbai
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
ADRDSSU also know as DFdss |
|
Back to top |
|
|
arjun_latino Currently Banned New User
Joined: 11 Apr 2007 Posts: 4 Location: Mumbai
|
|
|
|
so can u give me example or i have to use this utility for backup using wild card (.*) |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
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 |
|
|
arjun_latino Currently Banned New User
Joined: 11 Apr 2007 Posts: 4 Location: Mumbai
|
|
|
|
sorry but i am not able to restore with the wild card, can u provide me the jcl |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
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 |
|
|
arjun_latino Currently Banned New User
Joined: 11 Apr 2007 Posts: 4 Location: Mumbai
|
|
|
|
Thanx Umeysan but i want JCL for Restore. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
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 |
|
|
|