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

I need to copy datasets, vsam and GDGs to tape


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Thandayudhapani

New User


Joined: 22 Feb 2007
Posts: 1
Location: chennai

PostPosted: Fri Jul 02, 2010 9:22 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jul 02, 2010 10:02 pm
Reply with quote

Quote:
Please share your ideas with sample JCL.


what is that? BS speak for 'do my job?'
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 02, 2010 10:53 pm
Reply with quote

DF/DSS (ADRDSSU) backup. Sample JCL is in the manual.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 581
Location: London

PostPosted: Tue Jul 27, 2010 2:55 pm
Reply with quote

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
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Deleting a Tape file JCL & VSAM 14
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
Search our Forums:

Back to Top