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
 

 

How to calculate SIZE of DSN on Tape If BLKSIZE is zero

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

New User


Joined: 02 Oct 2009
Posts: 64
Location: Hyd

PostPosted: Thu Nov 18, 2010 3:29 pm    Post subject: How to calculate SIZE of DSN on Tape If BLKSIZE is zero
Reply with quote

I have to calculate the size of dsn present on the tape ..

I am using this formula

BLKCNT * BLKSIZE = (bytes)

But wot if BLKSIZE is = 0
For few of the tapes BLKSIZE is zero ..
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10278
Location: italy

PostPosted: Thu Nov 18, 2010 3:35 pm    Post subject: Reply to: How to calculate SIZE of DSN on Tape If BLKSIZE is
Reply with quote

usually You can get the answer by querying the tape management system
the best people to ask would be Your storage support group
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Nov 18, 2010 7:48 pm    Post subject:
Reply with quote

It would be intresting to know, how did you get the value of BLKSIZE?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Nov 18, 2010 7:55 pm    Post subject:
Reply with quote

The BLKSIZE=0 should only be carried over to the DCB attributes if the file has not been written to. Therefor BLKSIZE=0 is valid because there isn't any data.
Back to top
View user's profile Send private message
praveensinha
Warnings : 1

New User


Joined: 02 Oct 2009
Posts: 64
Location: Hyd

PostPosted: Thu Nov 18, 2010 9:01 pm    Post subject:
Reply with quote

DEN = 38KC TRTCH = 18TK PRERRI = 00000
LRECL = 000000 BLKSIZE= 000000 PWERRI = 00000
AUTIME = 0925 BESKEY = 00000 BLKCNT = 0000012272
AUFLAG1= 00 CPUID = EXPR USERID = ICOMT
Above is info from CA1...Now U can see BLKSIZ = 0


data is present cos it spans 4 tapes ...SO the tape contain data
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 Wanted to calculate TRK when i have B... Balu5491 JCL & VSAM 8 Wed Jul 19, 2017 5:43 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am


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