Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Length of Tape file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Mohan Kothakota

New User


Joined: 12 Apr 2016
Posts: 4
Location: INDIA

PostPosted: Thu Apr 20, 2017 10:24 pm    Post subject: Length of Tape file
Reply with quote

How can we find length of the file which is stored on Tape?
Back to top
View user's profile Send private message

vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1506
Location: Chennai

PostPosted: Thu Apr 20, 2017 10:42 pm    Post subject:
Reply with quote

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
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 536
Location: The Universe

PostPosted: Fri Apr 21, 2017 12:17 am    Post subject:
Reply with quote

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
View user's profile Send private message
Mohan Kothakota

New User


Joined: 12 Apr 2016
Posts: 4
Location: INDIA

PostPosted: Fri Apr 21, 2017 12:37 am    Post subject: Reply to: Length of Tape file
Reply with quote

Thanks Vasanthz & Steve Myers. I mean Record length of the file which is on Tape.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8121
Location: East Dubuque, Illinois, USA

PostPosted: Fri Apr 21, 2017 12:55 am    Post subject:
Reply with quote

Look at your tape management system.
Use TAPEMAP.
Back to top
View user's profile Send private message
Mohan Kothakota

New User


Joined: 12 Apr 2016
Posts: 4
Location: INDIA

PostPosted: Fri Apr 21, 2017 1:00 am    Post subject: Reply to: Length of Tape file
Reply with quote

Thanks Robert, unluckily we don't have TAPEMAP (4.6) option on the Main screen.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1826
Location: UK

PostPosted: Fri Apr 21, 2017 1:19 am    Post subject:
Reply with quote

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
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 142
Location: Switzerland

PostPosted: Fri Apr 21, 2017 12:00 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Mohan Kothakota

New User


Joined: 12 Apr 2016
Posts: 4
Location: INDIA

PostPosted: Fri Apr 21, 2017 7:40 pm    Post subject: Reply to: Length of Tape file
Reply with quote

Thanks Nic Clouston & Willy Jensen.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8121
Location: East Dubuque, Illinois, USA

PostPosted: Fri Apr 21, 2017 7:48 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us