Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello,
If the tape file contains many, many records, i’d suggest copying the specific records that you want to look at to dasd.
Depending on the volume of data, you may not be able to copy it to “test” dasd and even if you do, it may be too large to work with online until you create a subset of the full volume.
Back to top
ujraju New User
Joined: 17 Sep 2005 Posts: 1 Location: chennai
HI,
You can see the inforation of the tape data set by giving
Ti dataset name (and enter).
Back to top
dick scherrer Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello ujraju and welcome to the forums,
Thank you for joining and sharing.
Do keep in mind that your suggestion is site specific and may not work for every system.
Back to top
Anuj Dhawan Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
Aaru,
I would suggest not to use above parameter, this’ll eat a lot of amount of DASD.
ujraju wrote:
Ti dataset name (and enter).
Yup, it should be site specific, not working for me.
Back to top
dkalyan_c New User
Joined: 06 Apr 2006 Posts: 17
hi,
u can convert tape file using fileaid.
//DD01 DD DISP=SHR,DSN=TAPE DATASET
//DD01O DD DSN=DASD DATASET,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(20,20),RLSE),
// DCB=(LRECL=4096,RECFM=FB,BLKSIZE=20480),
// UNIT=SYSDA
//*
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//SYSTOTAL DD SYSOUT=*
//SYSIN DD *
$$DD01 COPY IF=(127,EQ,C’15’),
IF=(129,EQ,C’04’,129,EQ,C’05’)
/*
ABOVE COND IN COPY STATEMENT IS JUST AN EXAMPLE. U CAN GIVE ANY COND LIKE THIS AND CONVERT TO DASD
Back to top
UmeySan Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
Hi !
For direct browsing a TapeFile you could use the DITTO Utility.
With that, you also could inspect the tape-headers. There you could get the informations Lrecl, Blksize and also the numers of records/blocks.
Ditto could be executed online via TSO or as a Batchjob.