View previous topic :: View next topic
|
Author |
Message |
Mohan Kothakota
New User
Joined: 12 Apr 2016 Posts: 15 Location: INDIA
|
|
|
|
How can we find length of the file which is stored on Tape? |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
If you mean the size of the tape dataset, then you can find from the Tape management system. For a fairly accurate value, multiply the number of blocks and the size of the block. BLKSIZE and BLKCNT in case of CA-1. |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
I presume you mean the number of feet occupied by a file. This depends on the tape drive and is a moderately difficult calculation. |
|
Back to top |
|
|
Mohan Kothakota
New User
Joined: 12 Apr 2016 Posts: 15 Location: INDIA
|
|
|
|
Thanks Vasanthz & Steve Myers. I mean Record length of the file which is on Tape. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Look at your tape management system.
Use TAPEMAP. |
|
Back to top |
|
|
Mohan Kothakota
New User
Joined: 12 Apr 2016 Posts: 15 Location: INDIA
|
|
|
|
Thanks Robert, unluckily we don't have TAPEMAP (4.6) option on the Main screen. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
You say "record length" and that infers that you are trying to find outy what the LRECL is so find the JCL or program that creates it. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
Your tape management system should be able to tell you that, I'm pretty sure that at least RMM has that information. Otherwise look at the TAPEMAP program from CBTTAPE.ORG file 171. I seem to recall that you need special security access to use TAPEMAP because it reads the physical files of the tape.
Another possibility is to run a IEBGENER with output to a disk dataset, without specifying the output DCB. The lrecl and blksize will be copied, so you can check the DCB of the copied dataset. |
|
Back to top |
|
|
Mohan Kothakota
New User
Joined: 12 Apr 2016 Posts: 15 Location: INDIA
|
|
|
|
Thanks Nic Clouston & Willy Jensen. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
I seem to recall that you need special security access to use TAPEMAP because it reads the physical files of the tape. |
Yes, you need ICHBLP access in the TAPEVOL class to bypass label processing, and the JES2 job class has to support BLP processing. |
|
Back to top |
|
|
|