View previous topic :: View next topic
|
Author |
Message |
Thandayudhapani
New User
Joined: 22 Feb 2007 Posts: 1 Location: chennai
|
|
|
|
Hi,
I need to copy many number of VSAM, datasets and GDGs to tape. The naming convention is "PGAM.*". I need to do this in single job. Please share your ideas with sample JCL. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
Please share your ideas with sample JCL. |
what is that? BS speak for 'do my job?' |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
DF/DSS (ADRDSSU) backup. Sample JCL is in the manual. |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 581 Location: London
|
|
|
|
This DFDSS DUMP JCL will do it, although it won't backup any datasets that are MIGRATed by DFHSM at the time, or datasets on TAPE.
Also DFDSS will not even warn you that some of the datasets are MIGRATed if you're using a generic dsname mask unless you include the PATCH command which will warn you if that is the case via message ADR013W 'NOT SELECTED'
//STEP1 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
SET PATCH 17 = FF
DUMP ODD(TAPE) ALLE ALLD(*) SPHERE COM -
DS(INC( -
PGAM.** -
)) |
|
Back to top |
|
|
|