Page 1 of 2

Sequential TAPE dataset

PostPosted: Tue Dec 01, 2009 5:55 pm
by naveenkumar sudha
I have created a tape sequential data set (i.e. UNIT=TAPE).I tried to edit/view using start 3.4 option in TSO and i was not able to open it at all.Please let me know how can i view/edit a tape data set.

Thanks,
naveen S

Re: Sequential TAPE dataset

PostPosted: Tue Dec 01, 2009 6:58 pm
by MrSpock
You can't unless your TSO ID has been granted tape mount authority (which is highly unlikely).

Re: Sequential TAPE dataset

PostPosted: Tue Dec 01, 2009 10:53 pm
by naveenkumar sudha
Ok thanks. Does it mean there is no way to access tape data set unless i have mounting authority?


Thanks,
Naveen s

Re: Sequential TAPE dataset

PostPosted: Wed Dec 02, 2009 3:17 am
by Bill Dennis
You can dump it back to disk and browse there.

Re: Sequential TAPE dataset

PostPosted: Wed Dec 02, 2009 7:47 am
by dick scherrer
Hello,

Tape is meant to be used in batch processes, not online editing. . .

Most organizations will not allow developers to access tape datasets in their tso/ispf sessions.

If you do dump data to dasd to use intso, suggest you only dump a few records so that the volume will be managable.

Re: Sequential TAPE dataset

PostPosted: Mon Dec 07, 2009 11:15 am
by naveenkumar sudha
Thanks. I am not sure how to dump back to dasd.Could you please let me know how can i dump data to dasd?

Re: Sequential TAPE dataset

PostPosted: Mon Dec 07, 2009 5:08 pm
by expat
Rather depends on how the tape was created really.

Re: Sequential TAPE dataset

PostPosted: Tue Dec 08, 2009 1:25 am
by dick scherrer
Hello,

What is the recfm for the file? If you post the jcl that created the file, that may help. . .

Your sort product may be the tool you want to use - as Expat mentinoed, this depends on how the tape was created.

Re: Sequential TAPE dataset

PostPosted: Thu Dec 10, 2009 5:45 pm
by naveenkumar sudha
The following is the statement used to create a tape data set.

//GL1BIGW DD DSN=THHH.OSU.NAVEEN.OUTPUT,
// DISP=(NEW,CATLG,DELETE),UNIT=TAPE,
// DCB=(RECFM=FB,LRECL=1200),
// SPACE=(TRK,(2,3),RLSE)

Re: Sequential TAPE dataset

PostPosted: Fri Dec 11, 2009 3:30 am
by dick scherrer
Hello,

How much data is on the tape? What pgm= was used to create the tape?

You can use your sort product to copy some of the data to dasd. If there is a high volume of data on the tape, you may not be able to copy all of it to dasd. With the sort product, you can select some of the data rather than copying all of it.