MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to see the contents of a Tape Dataset

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Mon Sep 01, 2008 6:36 am    Post subject: How to see the contents of a Tape Dataset Reply with quote

Members,

I would like to see the data in a dataset but i am not able to see it and i guess it is tape dataset.How can i see the data in a tape supported ,when i try i am getting message on the screen as below:
Code:

GDG base or tape entry
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Mon Sep 01, 2008 9:41 am    Post subject: Reply with quote

Download to DASD
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Tue Sep 02, 2008 2:02 am    Post subject: Reply with quote

Expat,

How can i download to DASD , please help.
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Tue Sep 02, 2008 4:00 am    Post subject: Reply with quote

SORT, IEBGENER, or any other utility that copies data
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Tue Sep 02, 2008 10:22 am    Post subject: Reply with quote

yadav2005,

Code:

//STEP0100 EXEC PGM=ICEMAN   
//SYSOUT   DD SYSOUT=*       
//SORTIN   DD DSN=YOUR TAPE DATASET,
//            DISP=SHR
//SORTOUT  DD DSN=your output dasd dataset,
//            DISP=(NEW,CATLG,DELETE),
//            UNIT=SYSDA,
//            SPACE=(CYL,(X,Y),RLSE)
//SYSIN    DD *             
  SORT FIELDS=COPY           
/*


Since it is a tape dataset it might be huge , so I suggest that you only copy a few thousand of records

Use stopaft parm to stop copying after a few thousand records


Code:
OPTION STOPAFT=5000
SORT FIELDS=COPY


This will copy the first 5000 records to dasd

Hope this helps...
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Thu Sep 04, 2008 2:26 am    Post subject: Reply with quote

Kolusu,

Thanks for the help , the solution given by you worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group