Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref

Author Message
praveensinha
Warnings : 1

New User

Joined: 02 Oct 2009
Posts: 64
Location: Hyd

 Posted: Thu Nov 18, 2010 3:29 pm    Post subject: How to calculate SIZE of DSN on Tape If BLKSIZE is zero 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 ..

enrico-sorichetti

Global Moderator

Joined: 14 Mar 2007
Posts: 10456
Location: italy

 Posted: Thu Nov 18, 2010 3:35 pm    Post subject: Reply to: How to calculate SIZE of DSN on Tape If BLKSIZE is usually You can get the answer by querying the tape management system the best people to ask would be Your storage support group
Anuj Dhawan

Senior Member

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

 Posted: Thu Nov 18, 2010 7:48 pm    Post subject: It would be intresting to know, how did you get the value of BLKSIZE?
expat

Global Moderator

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

 Posted: Thu Nov 18, 2010 7:55 pm    Post subject: 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.
praveensinha
Warnings : 1

New User

Joined: 02 Oct 2009
Posts: 64
Location: Hyd

 Posted: Thu Nov 18, 2010 9:01 pm    Post subject: 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
 All times are GMT + 6 Hours
 Page 1 of 1

Search our Forum:

 Topic Author Forum Replies Posted Similar Topics VSAM - Accessing beyond record size Benchwarmer JCL & VSAM 6 Wed Apr 11, 2018 9:20 pm Getting information (RECFM/LRECL/BLKS... Tim Van Holder COBOL Programming 3 Wed Mar 14, 2018 2:10 pm Tape file issue abdulrafi JCL & VSAM 2 Thu Feb 08, 2018 12:01 pm How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm

 © 2003-2017 IBM MAINFRAME Software Support Division
 Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us