Previous Topic: Restore Job Template FilesNext Topic: VOLSER Restore Job Template File


CATSEARCH Restore Job Template File Structure and Sample

The following table outlines the structure of a CATSEARCH restore job template file. The table lists the records in the order you might use them in a file.

Record

Information Specified

Required

Quantity Allowed

JOB

Type of job set up in file

Yes

1; first in file

COMMENT

Comment

No

1

CUTOFF

Earliest date from which to restore data (for use in incremental-only restores)

No

1

*

Additional comments

No

Multiple

SEARCH

Date range of catalogs to search for data to restore

No

Multiple

JOBOPTIONS

General job processing options

No

Multiple

OPTIONS

Domain-level job processing options

No

Multiple

REPORT

Report options

No

Multiple

EXCEPTIONS

Name of exception file for job

No

1

EXCLUSIONS

Name of exclusion file for job

No

1

ALTERNATE

Target volume to which to restore DASD volume

No

Multiple

INCLUDE

DASD volumes, file pools, or domains that contain data to restore

Yes

Multiple;
at least 2

Example CATSEARCH Restore Template File

The following example shows a CATSEARCH restore job template file named CATSRCH $TEMPLAT. This file defines a restore job that will search the catalog to restore all DASD volumes, all file pools, all minidisks for all user IDs, and all file spaces in all file pools. Exceptions are defined in the CATEXC01 $XCEPT file that will be applied during the restore.

JOB RESTORE TYPE CATSEARCH
SEARCH STARTDATE 12/1/2009
SEARCH STARTTIME 00:00:00
SEARCH ENDDATE 12/31/2009
SEARCH ENDTIME 23:59:59

* Define general job processing options
JOBOPTIONS HOLD YES
JOBOPTIONS JOBEND NOTIFY

* Define domain-level restore options
OPTIONS RESDATE OLDDATE
OPTIONS RESTYPE FORMAT
OPTIONS RESDEV SOURCE
OPTIONS RESSFS CLEAR
OPTIONS RESLINK MULT
OPTIONS RESAUTH YES
OPTIONS RESALIAS YES
OPTIONS RESEXTERN YES
OPTIONS RESFPOOL ALL

REPORT REPDETAIL FILE
REPORT REPDEST BEACH
REPORT REPCLASS A

EXCEPTIONS CATEXC01

INCLUDE DASD *
INCLUDE FILEPOOL *
INCLUDE USERID * *
INCLUDE FILESPACE *:*

VOLSEARCH Restore Job Template File

The following table outlines the structure of a VOLSEARCH restore job template file. The table lists the records in the order you might use them in a file.

Record

Information Specified

Required

Quantity Allowed

JOB

Type of job set up in file

Yes

1; first in file

COMMENT

Comment

No

1

CUTOFF

Earliest date to search for data to restore (for use in incremental-only restores)

No

1

*

Additional comments

No

Multiple

SEARCH

Date range of backups to search for data to restore

No

1

INPUT

Input tape from which to restore data

Yes

Multiple

JOBOPTIONS

General job processing options

No

Multiple

OPTIONS

Domain-level job processing options

No

Multiple

REPORT

Report options

No

Multiple

EXCEPTIONS

Name of exception file for job

No

1

EXCLUSIONS

Name of exclusion file for job

No

1

ALTERNATE

Target volume to which to restore DASD volume

No

Multiple

INCLUDE

DASD volumes, file pools, or domains that contain data to restore

Yes

Multiple;
at least 2

Example VOLSEARCH Restore Template File

The following example shows a VOLSEARCH restore job template file named VOLSRCH $TEMPLAT. This file defines a restore job that will search a tape volume to restore all minidisks for all user IDs on all DASD volumes, and all file spaces in file pools SFS and SFS1 that are stored on tape volume VMB010. Exceptions are defined in the VOLXCEPT $XCEPT file that will be applied during the restore.

JOB RESTORE TYPE VOLSEARCH
SEARCH STARTDATE 11/29/2009
SEARCH STARTTIME 00:00:00
SEARCH ENDDATE 12/31/2009
SEARCH ENDTIME 23:59:59
INPUT 0 VOLSER VMB010 DENSITY 38K MEDIA CART

* Define domain-level restore options
OPTIONS RESDATE OLDDATE
OPTIONS RESTYPE FORMAT
OPTIONS RESSFS CLEAR
OPTIONS RESDEV SOURCE
OPTIONS RESLINK MULT
OPTIONS RESHALT NO
OPTIONS RESAUTH YES
OPTIONS RESALIAS YES
OPTIONS RESEXTERN NO
OPTIONS RESFPOOL SKIP

REPORT REPDETAIL FILE
REPORT REPDEST JOHNDOE
REPORT REPCLASS CLASS A

EXCEPTIONS VOLXCEPT

INCLUDE DASD *
INCLUDE FILEPOOL SFS SFS1
INCLUDE USERID * *
INCLUDE FILESPACE *:*