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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> FAQ & Off Topics
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    Post subject: Backup using Wildcard i.e. (.*) for Backup all dataset.
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: 8593
Location: Back in jolly old England

PostPosted: Tue May 22, 2007 3:04 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue May 22, 2007 5:26 pm    Post subject:
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: 743
Location: Germany

PostPosted: Tue May 22, 2007 7:03 pm    Post subject:
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    Post subject:
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: 743
Location: Germany

PostPosted: Tue May 22, 2007 7:55 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed May 23, 2007 12:47 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> FAQ & Off Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts Wildcard logic in COBOL dudenithy COBOL Programming 13 Thu Sep 01, 2016 7:36 pm


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