IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 18, 2010 3:35 pm
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

Superior Member


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

PostPosted: Thu Nov 18, 2010 7:48 pm
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: 8797
Location: Welsh Wales

PostPosted: Thu Nov 18, 2010 7:55 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
No new posts Deleting a Tape file JCL & VSAM 14
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
Search our Forums:

Back to Top