View previous topic :: View next topic |
Author |
Message |
yadav2005 Intermediate
Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Mon Sep 01, 2008 6:36 am Post subject: How to see the contents of a Tape Dataset |
|
|
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 |
|
|
expat Intermediate
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Mon Sep 01, 2008 9:41 am Post subject: |
|
|
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 |
|
|
yadav2005 Intermediate
Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Tue Sep 02, 2008 2:02 am Post subject: |
|
|
Expat,
How can i download to DASD , please help. |
|
Back to top |
|
|
expat Intermediate
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Tue Sep 02, 2008 4:00 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
Posted: Tue Sep 02, 2008 10:22 am Post subject: |
|
|
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 |
|
|
yadav2005 Intermediate
Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Thu Sep 04, 2008 2:26 am Post subject: |
|
|
Kolusu,
Thanks for the help , the solution given by you worked. |
|
Back to top |
|
|
|
|